Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Commit f72e191

Browse files
author
mizapf
committed
ti99: Fixed recent regression concerning multi-cartridge usage (no
whatsnew)
1 parent 619188f commit f72e191

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/mess/machine/ti99/grom.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,13 @@ READ8Z_DEVICE_HANDLER( ti99grom_rz )
127127

128128
if (offset & 2)
129129
{
130-
// All GROMs answer the address read request
130+
// At least GROM 0 should answer the address read request
131131
// (important if GROM simulators do not serve the request but rely on
132132
// the console GROMs) so we don't check the ident
133+
// Note that we prevent cartridge GROMs to answer if they are not
134+
// accessed
135+
if (((grom->address >> 13)&0x07)!=grom->ident && (grom->ident!=0))
136+
return;
133137

134138
/* When reading, reset the hi/lo flag byte for writing. */
135139
/* TODO: Verify this with a real machine. */

0 commit comments

Comments
 (0)