mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-14 09:37:14 +00:00
RamWorks III: default to 2MiB (32x 64K banks). (#478)
This commit is contained in:
parent
02b6bbdbb5
commit
ef088e49ae
@ -89,9 +89,9 @@
|
||||
Remove the No-Slot clock (NSC).<br><br>
|
||||
-aux <empty|std80|ext80|rw3><br>
|
||||
Remove ('empty') or insert 80-Column('std80'), Extended 80-Column('ext80') or RamWorks III('rw3') card into auxiliary slot in Apple //e.<br>
|
||||
NB. 'rw3' will default to 8128KiB (127 banks of 64K) unless overriden by -r switch.<br><br>
|
||||
NB. 'rw3' will default to 2MiB (32 banks of 64K) unless overriden by -r switch.<br><br>
|
||||
-r <number of banks><br>
|
||||
Emulate a RamWorks III card with 1 to 256 banks (each bank is 64K, giving a max of 16MB) in the auxiliary slot in an Apple //e machine.<br>
|
||||
Emulate a RamWorks III card with 1 to 256 banks (each bank is 64K, giving a max of 16MiB) in the auxiliary slot in an Apple //e machine.<br>
|
||||
(Implicitly inserts a RamWorks III card into the aux slot.)<br><br>
|
||||
-load-state <savestate><br>
|
||||
Load a save-state file (and auto power-on the Apple II).<br>
|
||||
|
@ -317,7 +317,7 @@ bool ProcessCmdLine(LPSTR lpCmdLine)
|
||||
{
|
||||
g_cmdLine.auxSlotInsert = CT_RamWorksIII;
|
||||
if (!g_cmdLine.uRamWorksExPages)
|
||||
g_cmdLine.uRamWorksExPages = kMaxExMemoryBanksRealRW3; // default to ~8MB (ie. the max for the real RW3 card)
|
||||
g_cmdLine.uRamWorksExPages = kDefaultExMemoryBanksRealRW3;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ extern LPBYTE memVidHD;
|
||||
|
||||
#ifdef RAMWORKS
|
||||
const UINT kMaxExMemoryBanks = 256; // 256 * aux mem(64K) + main mem(64K) = 16MB + 64K
|
||||
const UINT kMaxExMemoryBanksRealRW3 = 127; // Real RW3 was limited to 127x64MB, so ~8MB in total
|
||||
const UINT kDefaultExMemoryBanksRealRW3 = 32; // Real RamWorks III would default to 2MB
|
||||
#endif
|
||||
|
||||
void RegisterIoHandler(UINT uSlot, iofunction IOReadC0, iofunction IOWriteC0, iofunction IOReadCx, iofunction IOWriteCx, LPVOID lpSlotParameter, BYTE* pExpansionRom);
|
||||
|
@ -281,7 +281,7 @@ void LoadConfiguration(bool loadImages)
|
||||
GetCardMgr().InsertAux(type, noUpdateRegistry);
|
||||
SetExpansionMemType(type, noUpdateRegistry);
|
||||
|
||||
RegLoadValue(regSection.c_str(), REGVALUE_AUX_NUM_BANKS, TRUE, &dwTmp, kMaxExMemoryBanksRealRW3);
|
||||
RegLoadValue(regSection.c_str(), REGVALUE_AUX_NUM_BANKS, TRUE, &dwTmp, kDefaultExMemoryBanksRealRW3);
|
||||
SetRamWorksMemorySize(dwTmp, noUpdateRegistry);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user