Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mpi/mpi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ extern "C"
{
if (Port == 0x7F) //Addressing the Multi-Pak
{
SpareSelectSlot= (Data & 3);
ChipSelectSlot= ( (Data & 0x30)>>4);
SpareSelectSlot= (Data & 3); //SCS
ChipSelectSlot= ( (Data & 0x30)>>4); //CTS
SlotRegister=Data;
PakSetCart(0);
if (CartForSlot[SpareSelectSlot]==1)
Expand Down Expand Up @@ -345,7 +345,7 @@ extern "C"
__declspec(dllexport) void ModuleStatus(char *MyStatus)
{
char TempStatus[64]="";
sprintf(MyStatus,"MPI:%i",SwitchSlot+1);
sprintf(MyStatus,"MPI:%d,%d",ChipSelectSlot+1,SpareSelectSlot+1);
for (Temp=0;Temp<4;Temp++)
{
strcpy(TempStatus,"");
Expand Down
4 changes: 3 additions & 1 deletion sdc/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@
#define ID_FLASH_BOX 1001
#define IDC_CLOCK 1002
#define ID_NEXT 1003
#define ID_SD_SELECT 1004
#define ID_STARTUP_BANK 1005

// Next default values for new objects

#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1004
#define _APS_NEXT_CONTROL_VALUE 1005
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
Loading