Couldn't resist tweeking the 6800/MIKBUG files. Opened up a window of the ROM from 0xFC00-0xFCFF and relocated the I/O up to that range. Had to do more mods to the MIKBUG source file.
Now MIKBUG has a phenomenal 60KB of SRAM.
Notes when altering MIKBUG source code
Need to set the start of the 128 bytes scratchpad SRAM
VAR EQU $EF00 ; TOP OF USER MEMORY
Need to set the I/O addresses
; ACIACS EQU $FC18 ;V1 has $8000, $8001 ACIADA EQU $FC19 ; PIAD1A EQU $FC00 ;V2 has PIA support PIAS1A EQU $FC01 PIAD1B EQU $FC02 PIAS1B EQU $FC03 ; PIAD2A EQU $FC08 PIAS2A EQU $FC09 PIAD2B EQU $FC0ANeed to set the start of the codePIAS2B EQU $FC0B
; ; OPT MEMORY ; ORG $F000 ;V1 has $F800H
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.