On Wednesday 28 March 2012, you wrote: > The NES, which is what I started with, has a well-known set of > cartridge memory controller chips. I need to refresh my memory on how > the C=64 or its cartridges control different memory regions. If VICE > doesn't have the ability to retrieve whatever is mapped at whatever > memory region currently, is that something that can be added? that would be quite complex, as said. the respective code in vice somewhat tries to model how it works on the real hardware, meaning it just "looks through" the cartridge port, and the rest of the emulation doesnt (need to) know whats behind it. compared to the NES, not only the port is much more complex (a cartridge may generate interrupts or nmis, or even take over the bus and disable the cpu to do dma). there are also many more different types of cartridges (about 60 or so emulated right now, not counting i/o only extensions) and they are very different in some cases, so putting them into some kind of generic memory mapping scheme is quite a task. > It appears [as I would expect] that the VIC and SID chips are memory > mapped so I can access them using the "m" or ">" commands. Perhaps an > extension to that command could specify which "region" to read or > write to if multiple regions can be mapped at that address? you can do that with the "bank" command in the vice monitor bank cpu - gives you whatever the cpu sees right now bank ram - always (c64) ram bank rom - always (c64) rom bank cart - enables cartridge rom (at ROML and ROMH, depending on current mode) even if currently mapped out by the PLA bank io - to get i/o area at $dxxx (maybe for accessing i/o its a better idea to use the "io" command though, as it will also show what i/o is actually available) generally you will mostly use the cpu bank when stepping through code, and the others for inspecting things :) -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Wer Ficken super findet hat noch nie was anstaendiges gegessen. <Jihad/Hitmen> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed Mar 28 16:12:31 2012
This archive was generated by hypermail 2.1.8 : 2012-03-28 16:12:34 CEST