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

Fixed flaw in making window descriptors
author boisy
date Thu, 22 May 2008 03:42:16 +0000
parents e5f94a9d16d2
children b8c7b7fbf3c9
line wrap: on
line diff
--- a/level2/modules/w15.asm	Wed May 21 21:55:08 2008 +0000
+++ b/level2/modules/w15.asm	Thu May 22 03:42:16 2008 +0000
@@ -23,7 +23,6 @@
 * Window descriptor definitions
 szx      set   80         number of columns for display
 szy      set   24         number for rows for display
-wnum     set   7          window number
 sty      set   2          window type
 cpx      set   0          x cursor position
 cpy      set   0          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   15         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   /W15/
 mgrnam   fcs   /SCF/
 drvnam   fcs   /VTIO/