.org $0000 di im 1 jp init .org $0080 ; Or any other location within $0000-$03FF init: ; This maps the first 48K of ROM to $0000-$BFFF ld de, $FFFC ld hl, init_tab ld bc, $0004 ldir jp main init_tab: ; Table must exist within first 1K of ROM .db $00, $00, $01, $02