Add read-only cassette emulation to IBM 5150 PC. Patch from JohnElliott.
This commit is contained in:
parent
750d7021e4
commit
84a098bc98
18 changed files with 1891 additions and 1136 deletions
|
|
@ -3484,14 +3484,6 @@ void execx86(int cycs)
|
|||
// if (instime) printf("%i %i %i %i\n",cycdiff,cycles,memcycs,fetchclocks);
|
||||
FETCHADD(((cycdiff-cycles)-memcycs)-fetchclocks);
|
||||
if ((cycdiff-cycles)<memcycs) cycles-=(memcycs-(cycdiff-cycles));
|
||||
if (romset==ROM_IBMPC)
|
||||
{
|
||||
if ((cs+cpu_state.pc)==0xFE4A7) /*You didn't seriously think I was going to emulate the cassette, did you?*/
|
||||
{
|
||||
CX=1;
|
||||
BX=0x500;
|
||||
}
|
||||
}
|
||||
memcycs=0;
|
||||
|
||||
insc++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue