From 0856c6debca5751aa1af22b6dfcc1a1bc9e89ebe Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 13 Sep 2001 15:29:13 +0000 Subject: [PATCH] Fixed an error in the reset_brk() routine of all target machines (all the code was derived from my old C64 code which had an error). git-svn-id: svn://svn.cc65.org/cc65/trunk@900 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/apple2/break.s | 12 +++++++----- libsrc/atari/break.s | 12 +++++++----- libsrc/c64/break.s | 12 +++++++----- libsrc/cbm610/break.s | 12 +++++++----- libsrc/pet/break.s | 12 +++++++----- libsrc/plus4/break.s | 12 +++++++----- 6 files changed, 42 insertions(+), 30 deletions(-) diff --git a/libsrc/apple2/break.s b/libsrc/apple2/break.s index d9d029805..b4f44977a 100644 --- a/libsrc/apple2/break.s +++ b/libsrc/apple2/break.s @@ -44,9 +44,9 @@ uservec: jmp $FFFF ; Patched at runtime sta oldvec+1 ; Save the old vector L1: lda #brk_handler sta BRKVec - lda #>brk_handler - sta BRKVec+1 + stx BRKVec+1 rts .endproc @@ -56,11 +56,13 @@ L1: lda #brk_handler sta BRKVec - lda #>brk_handler - sta BRKVec+1 + stx BRKVec+1 rts .endproc @@ -56,11 +56,13 @@ L1: lda #brk_handler sta BRKVec - lda #>brk_handler - sta BRKVec+1 + stx BRKVec+1 rts .endproc @@ -58,11 +58,13 @@ L1: lda #brk_handler sta BRKVec - lda #>brk_handler - sta BRKVec+1 + stx BRKVec+1 rts .endproc @@ -56,11 +56,13 @@ L1: lda #brk_handler sta BRKVec - lda #>brk_handler - sta BRKVec+1 + stx BRKVec+1 rts .endproc @@ -56,11 +56,13 @@ L1: lda #