From 467cc1d73a31816651caa19f393158c2347c3c50 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sun, 20 Jan 2019 21:40:49 -0800 Subject: [PATCH] Show Image File DA: Call main routines via trampoline --- desk.acc/show.image.file.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/desk.acc/show.image.file.s b/desk.acc/show.image.file.s index 57cdb25..2fb2d87 100644 --- a/desk.acc/show.image.file.s +++ b/desk.acc/show.image.file.s @@ -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