Commit Graph

2 Commits

Author SHA1 Message Date
kris aadc97efcb Port from py6502 to py65 since it is more mature and has fewer CPU
bugs.

Implement basic support for parts of the apple II memory map
- 64K address space is assembled from multiple memory regions
- a memory region can optionally intercept reads and/or writes
- memory regions may be marked non-writable (this has a bug and isn't
  yet working)
- execution handler can intercept execution to defined entry points
  when PC enters a memory region
- can trap when PC enters a memory region to an unhandled entry point

- basic support for some IO page soft switches and status registers
  - mostly just printing an event

- support loading boot1 image from sqlite DB

- load and install bits of the apple IIe ROM
  - but I don't think I have got all of the important bits from the
    image yet -- e.g. the CXROM image at alternate $C100 is not yet
    installed
2017-05-19 22:41:56 +01:00
kris 9f8538b5dc Initial skeleton of an Apple II simulator to be used for tracing boot1
execution.  This traps writes to text page 1 and reads/writes to high
memory (>$C000).

This is already sufficient to trace the execution of one of the simple
boot1 images that clears the text page (manually) and writes 'THIS DISK
HAS NO DOS TO BOOT'
2017-05-12 00:23:08 +01:00