Close

Maxed Out SRAM

A project log for MIKBUG on Multicomp

MIKBUG Running on Multicomp with 6800 CPU

land-boardscomland-boards.com 06/26/2020 at 13:490 Comments

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    $FC0A

PIAS2B EQU $FC0B

Need to set the start of the code
;
;    OPT    MEMORY
;
    ORG    $F000            ;V1 has $F800H

Discussions