mirror of
https://github.com/david-schmidt/gsport.git
synced 2025-01-02 06:30:49 +00:00
Patch from Vladmir Ivanov (vladitx) - better floating bus support, fixes Castle Wolfenstein random event generation
comp.emulators.apple2, May 4, 2014; Subject: KEGS 0.91 fix for "Beyond Castle Wolfenstein"
This commit is contained in:
parent
c64cc86de9
commit
9ff3a2aba1
@ -1270,7 +1270,7 @@ io_read(word32 loc, double *cyc_ptr)
|
||||
/* 0xc020 - 0xc02f */
|
||||
case 0x20: /* 0xc020 */
|
||||
/* Click cassette port */
|
||||
return 0x00;
|
||||
return float_bus(dcycs);
|
||||
case 0x21: /* 0xc021 */
|
||||
/* Not documented, but let's return COLOR_C021 */
|
||||
return IOR(g_cur_a2_stat & ALL_STAT_COLOR_C021);
|
||||
@ -1310,7 +1310,8 @@ io_read(word32 loc, double *cyc_ptr)
|
||||
/* 0xc030 - 0xc03f */
|
||||
case 0x30: /* 0xc030 */
|
||||
/* click speaker */
|
||||
return doc_read_c030(dcycs);
|
||||
doc_read_c030(dcycs);
|
||||
return float_bus(dcycs);
|
||||
case 0x31: /* 0xc031 */
|
||||
/* 3.5" control */
|
||||
return g_c031_disk35;
|
||||
|
Loading…
Reference in New Issue
Block a user