mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-17 21:04:45 +00:00
Fix so that Infiltrator boots
This commit is contained in:
parent
f2a52d23f3
commit
47206a864c
@ -1458,7 +1458,7 @@ static BYTE __stdcall MB_Write(WORD PC, WORD nAddr, BYTE bWrite, BYTE nValue, UL
|
||||
static BYTE __stdcall PhasorIO (WORD PC, WORD nAddr, BYTE bWrite, BYTE nValue, ULONG nCyclesLeft)
|
||||
{
|
||||
if(!g_bPhasorEnable)
|
||||
return 0;
|
||||
return MemReadFloatingBus(nCyclesLeft);
|
||||
|
||||
if(g_nPhasorMode < 2)
|
||||
g_nPhasorMode = nAddr & 1;
|
||||
@ -1467,7 +1467,7 @@ static BYTE __stdcall PhasorIO (WORD PC, WORD nAddr, BYTE bWrite, BYTE nValue, U
|
||||
|
||||
AY8910_InitClock((int)fCLK);
|
||||
|
||||
return 0;
|
||||
return MemReadFloatingBus(nCyclesLeft);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -2168,7 +2168,7 @@ WORD VideoGetScannerAddress(bool* pbVblBar_OUT, const DWORD uExecutedCycles)
|
||||
|
||||
// machine state switches
|
||||
//
|
||||
int nHires = (SW_HIRES) ? 1 : 0;
|
||||
int nHires = (SW_HIRES & !SW_TEXT) ? 1 : 0;
|
||||
int nPage2 = (SW_PAGE2) ? 1 : 0;
|
||||
int n80Store = (MemGet80Store()) ? 1 : 0;
|
||||
|
||||
@ -2213,7 +2213,7 @@ WORD VideoGetScannerAddress(bool* pbVblBar_OUT, const DWORD uExecutedCycles)
|
||||
|
||||
// calculate scanning memory address
|
||||
//
|
||||
if (SW_HIRES && SW_MIXED && (v_4 & v_2))
|
||||
if (SW_HIRES && SW_MIXED && (v_4 & v_2)) // NICK: Should this be (SW_HIRES && !SW_TEXT) instead of just 'SW_HIRES' ?
|
||||
{
|
||||
nHires = 0; // (address is in text memory)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user