rhiibugged MIKBUG based MC6800 ROM monitor.
- Assembly 98.3%
- Makefile 1.7%
| .gitignore | ||
| Makefile | ||
| README.md | ||
| rhiibugged.asm | ||
rhiibugged
This contains a fork of the BUGGED rom monitor for the MC6800 CPU, which is itself a mod of MIKBUG.
This is a nice and simple ROM monitor, falling halfway between the original MIKBUG and something more complex like SmithBUG, currently I have only added an N command which increments the stored program counter and executes from that address, and also automatically sets up so SWIs enter the monitor prompt allowing for easy debugging.
Currently the memory map is setup for 32k of RAM, 4k of IO address space, and then 28k of ROM, and it is as follows:
0x0000-00FF - Monitor Variables
0x0000-0001 - IRQ Vector
0x0002-0003 - NMI Vector
0x0004-0005 - SWI Vector
0x0100-7FF0 - RAM
0x7FF1-7FFF - Program Stack
0x8000-8FFF - IO Space
0x8020 - MC6850 ACIA Control and Status register
0c8021 - MC6850 ACIA TX and RX Register
0x9000-FFFF - ROM Space
Building
Ensure you have a68 assembler and GNU objcopy installed and in your PATH:
make
This will generate a listing, object hex, and binary file which can be written to a ROM.