changeset 1714:9e141676b5b7

Changed some constants to use symbolics in defs/cc3iodefs
author boisy
date Sun, 15 Aug 2004 22:24:28 +0000
parents 732a9032a57d
children fa2ada33b05e
files level2/modules/windint.asm
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level2/modules/windint.asm	Sun Aug 15 15:42:58 2004 +0000
+++ b/level2/modules/windint.asm	Sun Aug 15 22:24:28 2004 +0000
@@ -409,10 +409,10 @@
          IFNE  H6309
          leay  <Nul1+2,pc Point to NUL byte
 Nul1     
-         ldw   #$00CB     Size of block to clear
+         ldw   #CC3DSiz-V.WinNum     Size of block to clear
          tfm   y,x+
          ELSE
-         ldd   #$00CB
+         ldd   #CC3DSiz-V.WinNum
 Lp4      sta   ,x+
          decb
          bne   Lp4
@@ -420,7 +420,7 @@
          clr   V.InfVld,u   Clear 'rest of info valid' flag
 * Scan window tables for a valid window
          ldx   #WinBase   Point to base of window tables
-         ldd   #$2040     # of window tables & Size of each table
+         ldd   #MaxWind*256+Wt.Siz     # of window tables & Size of each table
 L02B9    equ   *
          IFNE  H6309
          ldw   Wt.STbl,x  Get screen table ptr