comparison 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
comparison
equal deleted inserted replaced
2164:5c72f810e5d5 2165:01d37afeb71e
21 rev set $00 21 rev set $00
22 22
23 * Window descriptor definitions 23 * Window descriptor definitions
24 szx set 40 number of columns for display 24 szx set 40 number of columns for display
25 szy set 12 number for rows for display 25 szy set 12 number for rows for display
26 wnum set 3 window number
27 sty set $FF window type 26 sty set $FF window type
28 cpx set 0 x cursor position 27 cpx set 0 x cursor position
29 cpy set 12 y cursor position 28 cpy set 12 y cursor position
30 prn1 set Black. foreground color 29 prn1 set Black. foreground color
31 prn2 set Cyan. background color 30 prn2 set Cyan. background color
62 fdb name copy of descriptor name address 61 fdb name copy of descriptor name address
63 fcb $00 acia xon char 62 fcb $00 acia xon char
64 fcb $00 acia xoff char 63 fcb $00 acia xoff char
65 fcb szx (szx) number of columns for display 64 fcb szx (szx) number of columns for display
66 fcb szy (szy) number of rows for display 65 fcb szy (szy) number of rows for display
67 fcb wnum window number 66 fcb 3 window number
68 fcb $01 data in rest of descriptor valid 67 fcb $01 data in rest of descriptor valid
69 fcb sty (sty) window type 68 fcb sty (sty) window type
70 fcb cpx (cpx) x cursor position 69 fcb cpx (cpx) x cursor position
71 fcb cpy (cpy) y cursor position 70 fcb cpy (cpy) y cursor position
72 fcb prn1 (prn1) foreground color 71 fcb prn1 (prn1) foreground color
73 fcb prn2 (prn2) background color 72 fcb prn2 (prn2) background color
74 fcb prn3 (prn3) border color 73 fcb prn3 (prn3) border color
75 initsize equ * 74 initsize equ *
76 75
77 name fcc /W/ 76 name fcs /W3/
78 fcb 176+wnum
79 mgrnam fcs /SCF/ 77 mgrnam fcs /SCF/
80 drvnam fcs /VTIO/ 78 drvnam fcs /VTIO/
81 79
82 emod 80 emod
83 eom equ * 81 eom equ *