Avoid indirect jmp with unknown vector address.

This commit is contained in:
Oliver Schmidt
2014-01-26 18:10:01 +01:00
parent 83fcefa0af
commit 4452156d1a
3 changed files with 9 additions and 9 deletions

View File

@@ -161,8 +161,8 @@ setbuf: lda #$00 ; Low byte
; Call loader stub after C libary shutdown
lda #<target
ldx #>target
sta done
stx done+1
sta done+1
stx done+2
; Initiate C libary shutdown
jmp _exit