annotate lib/alib/windefs.as @ 3054:22ddd48b4ec2

level1 krn: Fix scheduler bug that only affected 6309 The original 6809 binary was correct, but it was disassembled and interpreted wrongly, so that reassembly went wrong on 6309.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 25 Jan 2015 22:36:02 +0100
parents 03f26e88b809
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2474
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
1 ************************************
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
2 *
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
3 * This file contains the names for the various window
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
4 * commands avail for CoCo3 Level 2 OS9.
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
5
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
6 * History: File created 88/04/24 - Bob van der Poel
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
7
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
8 * Note that all these constants begin with a "W"
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
9
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
10 ttl Window Definitions
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
11
2782
aaba193af04f Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2474
diff changeset
12 section .text
2474
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
13
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
14 WBColor: equ $1b33 background color
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
15 WBoldSw: equ $1b3d bold switch
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
16 WBorder: equ $1b34 border color
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
17 WCWArea: equ $1b25 change working area
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
18 WDefColr: equ $1b30 set default color
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
19 WDfnGPBuf: equ $1b28 define get/put buffer
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
20 WDWEnd: equ $1b24 device window end
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
21 WDWProtSw: equ $1b36 device window protect
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
22 WDWSet: equ $1b20 device window set
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
23 WFColor: equ $1b32 foreground color
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
24 WFont: equ $1b3a select font
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
25 WGCSet: equ $1b39 graphics cursor set
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
26 WGetBlk: equ $1b2c get block
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
27 WGPLoad: equ $1b2b get/put buffer load
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
28 WKilBuf: equ $1b2a kill get/put buffer
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
29 WLSet: equ $1b2f logic set
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
30 WOWEnd: equ $1b23 overlay window end
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
31 WOWSet: equ $1b22 overlay window set
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
32 WPalette: equ $1b31 change palette
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
33 WPropSw: equ $1b3f proportional switch
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
34 WPSet: equ $1b2e Pattern set
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
35 WPutBlk: equ $1b2d put block
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
36 WScaleSw: equ $1b35 scale switch
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
37 WSelect: equ $1b21 select window
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
38 WTCharSw: equ $1b3c transparent char switch
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
39
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
40 * drawing commands
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
41
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
42 WArc3P: equ $1b52 draw arc
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
43 WBar: equ $1b4a draw bar
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
44 WRBar: equ $1b4b draw bar relative
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
45 WBox: equ $1b48 draw box
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
46 WRBox: equ $1b49 draw box relative
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
47 WCircle: equ $1b50 draw circle
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
48 WEllipse: equ $1b51 draw ellipse
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
49 WFFill: equ $1b4f flood fill
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
50 WLine: equ $1b44 draw line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
51 WRLine: equ $1b45 draw line relative
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
52 WLineM: equ $1b46 draw line and move
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
53 WRLineM: equ $1b47 draw line relative and move
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
54 WPoint: equ $1b42 set point
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
55 WRPoint: equ $1b43 set point relative
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
56 WPutGC: equ $1b4e put graphics cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
57 WSetDPtr: equ $1b40 set draw pointer
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
58 WRSetDPtr: equ $1b41 set draw pointer relative
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
59
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
60 * Text commands
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
61
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
62 * these are one byte codes...
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
63
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
64 WHomeCur: equ $01 home cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
65 WPosCur: equ $02 position cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
66 WErasLn: equ $03 erase line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
67 WErasEOL: equ $04 erase to end of line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
68 WErasEOS: equ $0b erase to end of screen
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
69 WErase: equ $0c erase screen and home cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
70 WCurR: equ $06 move cursor right one pos
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
71 WCurL: equ $08 move cursor left one pos
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
72 WCurUp: equ $09 move cursor up one line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
73 WCurDn: equ $0a move cursor down one line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
74 WBell: equ $07 rings terminal bell
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
75 WCr: equ $0d sends a carriage return
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
76
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
77 * two byte codes...
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
78
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
79 WCurOff: equ $0520 turn off cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
80 WCurOn: equ $0521 turn on cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
81 WRvOn: equ $1f20 reverse video on
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
82 WRvOff: equ $1f21 reverse video off
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
83 WUlOn: equ $1f22 underlining on
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
84 WUlOff: equ $1f23 underlineing off
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
85 WBlnkOn: equ $1f24 blinking on
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
86 WBlnkOff: equ $1f25 blinking off
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
87 WInsLn: equ $1f30 insert line at cursor
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
88 WDelLn: equ $1f31 delete current line
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
89
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
90
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
91 endsect
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
92
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
93