diff level2/modules/w3.asm @ 2165:01d37afeb71e

Fixed flaw in making window descriptors
author boisy
date Thu, 22 May 2008 03:42:16 +0000
parents 1e312b144f4d
children b8c7b7fbf3c9
line wrap: on
line diff
--- a/level2/modules/w3.asm	Wed May 21 21:55:08 2008 +0000
+++ b/level2/modules/w3.asm	Thu May 22 03:42:16 2008 +0000
@@ -23,7 +23,6 @@
 * Window descriptor definitions
 szx      set   40         number of columns for display
 szy      set   12         number for rows for display
-wnum     set   3          window number
 sty      set   $FF        window type
 cpx      set   0          x cursor position
 cpy      set   12         y cursor position
@@ -64,7 +63,7 @@
          fcb   $00        acia xoff char
          fcb   szx        (szx) number of columns for display
          fcb   szy        (szy) number of rows for display
-         fcb   wnum       window number
+         fcb   3          window number
          fcb   $01        data in rest of descriptor valid
          fcb   sty        (sty) window type
          fcb   cpx        (cpx) x cursor position
@@ -74,8 +73,7 @@
          fcb   prn3       (prn3) border color
 initsize equ   *
 
-name     fcc   /W/
-         fcb   176+wnum
+name     fcs   /W3/
 mgrnam   fcs   /SCF/
 drvnam   fcs   /VTIO/