changeset 705:c00354059d1c

Put DEVSIZ labels where needed due to increase in size
author boisy
date Fri, 03 Jan 2003 17:01:36 +0000
parents 671274e822df
children b6e3c9f77a6f
files level2/modules/cc3io.asm
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/cc3io.asm	Fri Jan 03 16:59:58 2003 +0000
+++ b/level2/modules/cc3io.asm	Fri Jan 03 17:01:36 2003 +0000
@@ -602,28 +602,29 @@
          rts   
 
 L0474    stb   $06,s
-         ldx   <u0024
-         lda   $0D,x
-         ldb   #$09
+         ldx   <D.Init
+         lda   DevCnt,x
+         ldb   #DEVSIZ
          mul   
-         ldy   <u0080
+         ldy   <D.DevTbl
          leax  d,y
          stx   $07,s
          rts   
+
 L0485    pshs  u,y,x,b,a
          leas  <-$11,s
-         ldb   #$09
+         ldb   #DEVSIZ
          bsr   L0474
          stx   $09,s
          sty   $07,s
          bra   L04A7
 L0495    pshs  u,y,x,b,a
          leas  <-$11,s
-         ldb   #$F7
+         ldb   #-DEVSIZ
          bsr   L0474
-         leay  -$09,y
+         leay  -DEVSIZ,y
          sty   $09,s
-         leax  -$09,x
+         leax  -DEVSIZ,x
          stx   $07,s
 L04A7    ldx   <D.CCMem
          ldu   <$20,x