[Coco] Cartridge memory - mapping in and out

Mark McDougall msmcdoug at iinet.net.au
Mon Oct 29 08:08:16 EDT 2007


Hi all,

I'm a little confused...

If I load a cart with autostart disabled, then PEEKing memory from $C000
upwards does not return the cartridge contents. I can also read/write RAM at
those locations.

However, EXEC 49152 ($C000) runs the game. Is the BASIC interpreter doing
something shifty here?

I have noticed that poking the GIME INIT0 register with a value other than
$7E briefly sets the register value, but on return to the BASIC prompt, it
is reset to $7E...

What I'm trying to do is map the cartridge ROM into coco3 memory space so I
can PEEK (and POKE) it from BASIC. Is this do-able???

Regards,

--

| Mark McDougall | "Electrical Engineers do it

| <http://members.iinet.net.au/~msmcdoug> | with less resistance!"




More information about the Coco mailing list