Show Image File DA: Call main routines via trampoline

This commit is contained in:
Joshua Bell 2019-01-20 21:40:49 -08:00
parent 3e9e961ebb
commit 467cc1d73a

View File

@ -609,7 +609,8 @@ mode: .byte 0 ; 0 = B&W, $80 = color
bne done
copy #$80, mode
jsr JUMP_TABLE_COLOR_MODE
copy16 #JUMP_TABLE_COLOR_MODE, call_main_addr
jsr call_main_trampoline
done: rts
.endproc
@ -619,7 +620,8 @@ done: rts
beq done
copy #0, mode
jsr JUMP_TABLE_MONO_MODE
copy16 #JUMP_TABLE_MONO_MODE, call_main_addr
jsr call_main_trampoline
done: rts
.endproc