changeset 3044:5a5cff419c0b

Fix up typos in level1 6309 code Also a bsr needed long branch.
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 24 Jan 2015 01:01:55 +0100
parents 7f418362f640
children f4f1066c8096
files level1/modules/boot_rom.asm level1/modules/scf.asm level1/modules/wbug.asm
diffstat 3 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/boot_rom.asm	Sat Jan 24 00:22:18 2015 +0100
+++ b/level1/modules/boot_rom.asm	Sat Jan 24 01:01:55 2015 +0100
@@ -46,7 +46,7 @@
          ldx   #$2600+$1200            X points to bootfile in ROM
          IFNE  H6309
          ldw   ,s                      get bootfile size from A/B on stack
-         tfm   ,x+,u+
+         tfm   x+,u+
          ELSE
          ldd   ,s                      get bootfile size from A/B on stack
 Loop     ldy   ,x++
--- a/level1/modules/scf.asm	Sat Jan 24 00:22:18 2015 +0100
+++ b/level1/modules/scf.asm	Sat Jan 24 01:01:55 2015 +0100
@@ -1319,11 +1319,7 @@
          beq   L0642          Yes, exit
          leau  -1,u           Bump buffer pointer back 1
          leax  -1,x           Bump character count back 1
-         IFNE  H6309
-         bsr   L0565          Print it
-         ELSE
          lbsr  L0565          Print it
-         ENDC
          bra   L0634          Keep going
 L0642    leas  2,s            Purge buffer pointer
          bra   L05F8          Return
--- a/level1/modules/wbug.asm	Sat Jan 24 00:22:18 2015 +0100
+++ b/level1/modules/wbug.asm	Sat Jan 24 01:01:55 2015 +0100
@@ -374,7 +374,7 @@
                lda       >D.MDREG			MD
 	           sta      ,x+
                tfr       v,d
-               std       x++				V
+               std       ,x++				V
                ELSE
                leax      3,x
 			   ENDC