Debugcart: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 6: | Line 6: | ||
* one register in I/O space. when a value is written to this register, the emulator exits with the respective value used as exit status code. | * one register in I/O space. when a value is written to this register, the emulator exits with the respective value used as exit status code. | ||
: $d7ff - C64 (and VSID), C128, SCPU, DTV | |||
: $910f - VIC20 [http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?f=2&t=7763 discussion] | |||
: $fdcf - Plus4 [http://plus4world.powweb.com/forum.php?postid=31417#31429 discussion] | |||
: $8bff - Pet | |||
: $fdaff - CBM2 series (CBM510, CBM610 etc) | |||
the respective memory locations have been choosen so they will most likely never collide with any kind of extension, allowing to also test cartridges and i/o extensions. | |||
== secondary features == | == secondary features == |
Revision as of 14:19, 23 May 2019
The debug cartridge is a virtual "cartridge" which provides a few features for automatic testing and debugging.
primary features
The primary features are the minimal features required for the Testbench.
- one register in I/O space. when a value is written to this register, the emulator exits with the respective value used as exit status code.
- $d7ff - C64 (and VSID), C128, SCPU, DTV
- $910f - VIC20 discussion
- $fdcf - Plus4 discussion
- $8bff - Pet
- $fdaff - CBM2 series (CBM510, CBM610 etc)
the respective memory locations have been choosen so they will most likely never collide with any kind of extension, allowing to also test cartridges and i/o extensions.
secondary features
These are additional features not required by the testbench, which could be useful to debug software running on the emulator
Feature Wishlist
- output CPU status (registers, flags) and timing info (cycle count, rasterline) to console of the host
- output strings to the console of the host (printf-alike, allowing memory peek)
- load and save blocks of memory from the host