annotate defs/stat.d @ 1764:c51d21c94682

Fixed problem in swset where query needed lbra. Converted all files to Unix EOL
author boisy
date Fri, 01 Apr 2005 17:01:46 +0000
parents 27e85b681dab
children 9d95e3246a61
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1760
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
2 ; stat - GetStat/SetStat Code Definitions
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
3 ;
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
4 ; $Id$
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
5 ;
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
6 ; Edt/Rev YYYY/MM/DD Modified by
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
7 ; Comment
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
8 ; ------------------------------------------------------------------
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
9 ; 2004/07/02 Boisy G. Pitre
1760
27e85b681dab Fixed DEFS issue in 6809l2 and 6309l2 (thanks Rodney!)
boisy
parents: 1630
diff changeset
10 ; Created.
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
11
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
12 .title GetStat/SetStat Code Definitions
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
13
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
14 .area STAT (ABS)
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
15
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
16 .ifndef Level
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
17 Level == 1
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
18 .endif
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
19
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
20 .org 0
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
21
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
22 SS.Opt:: .byte 1 ; Read/Write PD Options
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
23 SS.Ready:: .byte 1 ; Check for Device Ready
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
24 SS.Size:: .byte 1 ; Read/Write File Size
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
25 SS.Reset:: .byte 1 ; Device Restore
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
26 SS.WTrk:: .byte 1 ; Device Write Track
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
27 SS.Pos:: .byte 1 ; Get File Current Position
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
28 SS.EOF:: .byte 1 ; Test for End of File
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
29 SS.Link:: .byte 1 ; Link to Status routines
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
30 SS.ULink:: .byte 1 ; Unlink Status routines
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
31 SS.Feed:: .byte 1 ; issue form feed
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
32 SS.Frz:: .byte 1 ; Freeze DD. information
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
33 SS.SPT:: .byte 1 ; Set DD.TKS to given value
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
34 SS.SQD:: .byte 1 ; S == ence down hard disk
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
35 SS.DCmd:: .byte 1 ; Send direct command to disk
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
36 SS.DevNm:: .byte 1 ; Return Device name (32-bytes at [X])
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
37 SS.FD:: .byte 1 ; Return File Descriptor (Y-bytes at [X])
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
38 SS.Ticks:: .byte 1 ; Set Lockout honor duration
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
39 SS.Lock:: .byte 1 ; Lock/Release record
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
40 SS.DStat:: .byte 1 ; Return Display Status (CoCo)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
41 SS.Joy:: .byte 1 ; Return Joystick Value (CoCo)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
42 SS.BlkRd:: .byte 1 ; Block Read
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
43 SS.BlkWr:: .byte 1 ; Block Write
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
44 SS.Reten:: .byte 1 ; Retension cycle
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
45 SS.WFM:: .byte 1 ; Write File Mark
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
46 SS.RFM:: .byte 1 ; Read past File Mark
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
47 SS.ELog:: .byte 1 ; Read Error Log
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
48 SS.SSig:: .byte 1 ; Send signal on data ready
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
49 SS.Relea:: .byte 1 ; Release device
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
50 SS.AlfaS:: .byte 1 ; Return Alfa Display Status (CoCo, SCF/GetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
51 SS.Attr == SS.AlfaS ; to serve 68K/RBF/SetStat only, thru NET
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
52 SS.Break:: .byte 1 ; Send break signal out acia
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
53 SS.RsBit:: .byte 1 ; Reserve bitmap sector (do not allocate in) LSB(X)=sct#
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
54 .byte 1 ; reserved
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
55 SS.FDInf == 0h20 ; to serve 68K/RBF/GetStat only, thru NET
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
56 .byte 4 ; reserve $20-$23 for Japanese version (Hoshi)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
57 SS.SetMF:: .byte 1 ; reserve $24 for Gimix G68 (Flex compatability?)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
58 SS.Cursr:: .byte 1 ; Cursor information for COCO
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
59 SS.ScSiz:: .byte 1 ; Return screen size for COCO
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
60 SS.KySns:: .byte 1 ; Getstat/SetStat for COCO keyboard
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
61 SS.ComSt:: .byte 1 ; Getstat/SetStat for Baud/Parity
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
62 SS.Open:: .byte 1 ; SetStat to tell driver a path was opened
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
63 SS.Close:: .byte 1 ; SetStat to tell driver a path was closed
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
64 SS.HngUp:: .byte 1 ; SetStat to tell driver to hangup phone
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
65 SS.FSig:: .byte 1 ; new signal for temp locked files
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
66 SS.DSize == SS.ScSiz ; Return disk size (RBF GetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
67 SS.VarSect == SS.DStat ; Variable Sector Size (RBF GetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
68
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
69 ; System Specific and User defined codes above $80
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
70
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
71 .org 0h80
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
72
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
73 SS.AAGBf:: .byte 1 ; SetStat to Allocate Additional Graphic Buffer
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
74 SS.SLGBf:: .byte 1 ; SetStat to Select a different Graphic Buffer
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
75 SS.Mount:: .byte 1 ; Network 4 Mount Setstat
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
76 SS.RdNet:: .byte 1 ; Read Raw Sector from Network 4 Omnidrive
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
77 SS.MpGPB:: .byte 1 ; SetStat to r == est a Get/Put Buffer be mapped in workspace
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
78 SS.Slots:: .byte 1 ; Network 4 slots? getstat
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
79
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
80 .ifgt Level-1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
81
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
82 ; Level 2 Windowing
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
83 SS.WnSet:: .byte 1 ; Set up High Level Windowing Information
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
84 SS.MnSel:: .byte 1 ; R == est High level Menu Handler take determine next event
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
85 SS.SBar:: .byte 1 ; SetStat to set position block on Window scroll bars
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
86 SS.Mouse:: .byte 1 ; Return Mouse information packet (COCO)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
87 SS.MsSig:: .byte 1 ; SetStat to tell driver to send signal on mouse event
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
88 SS.AScrn:: .byte 1 ; Allocate a screen for application poking
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
89 SS.DScrn:: .byte 1 ; Display a screen allocated by SS.AScrn
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
90 SS.FScrn:: .byte 1 ; Free a screen allocated by SS.AScrn
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
91 SS.PScrn:: .byte 1 ; Polymorph Screen into different screen type
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
92 SS.ScInf:: .byte 1 ; Get Current screen info for direct writes
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
93 .byte 1 ; Reserved
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
94 SS.Palet:: .byte 1 ; Return palette information
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
95 SS.Montr:: .byte 1 ; Get and Set Monitor Type
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
96 SS.ScTyp:: .byte 1 ; Get screen type information
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
97 SS.GIP:: .byte 1 ; Global Input Parameters (SetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
98 SS.UMBar:: .byte 1 ; update menu bar (SetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
99 SS.FBRgs:: .byte 1 ; return color registers (GetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
100 SS.DfPal:: .byte 1 ; set/return default palette registers (Getstat/Setstat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
101 SS.Tone:: .byte 1 ; Generate a tone using 6 bit sound
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
102 SS.GIP2:: .byte 1 ; Global Input Params #2 (L2V3)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
103 SS.AnPal:: .byte 1 ; Animate palettes (L2V3)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
104 SS.FndBf:: .byte 1 ; Find named buffer (L2V3)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
105
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
106 ; sc6551 defined
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
107 SS.CDSta == SS.GIP2
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
108 SS.CDSig == SS.AnPal
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
109 SS.CDRel == SS.FndBf
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
110
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
111 .else
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
112
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
113 ; These are wide open in Level 1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
114 .byte 19
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
115
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
116 ; sc6551 defined
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
117 SS.CDSta:: .byte 1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
118 SS.CDSig:: .byte 1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
119 SS.CDRel:: .byte 1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
120
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
121 .endif
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
122
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
123
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
124 .org 0hA0
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
125
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
126 ; New Default SCF input buffer Set status call
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
127 SS.Fill:: .byte 1 ; Pre-load SCF device input buffer
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
128 SS.Hist:: .byte 1 ; Enable command-line history easily
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
129
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
130
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
131 .org 0hB0
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
132
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
133 ; New WDDisk get/set status calls
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
134 SS.ECC:: .byte 1 ; ECC corrected data error enable/disable (GetStat/SetStat)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
135
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
136 .ifgt Level-1
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
137
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
138 ; VRN get/set status calls. Named by Alan DeKok.
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
139 SS.VCtr == 0h80 ; Return FS2 total VIRQ counter
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
140 SS.VSig == 0h81 ; Return FS2 number of signals sent
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
141
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
142 SS.FClr == 0h81 ; Set/clear FS2 VIRQ
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
143 SS.FSet == 0hC7 ; Set FS2+ VIRQ
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
144 SS.KSet == 0hC8 ; Set KQ3 VIRQ
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
145 SS.KClr == 0hC9 ; Clr KQ3 VIRQ
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
146 SS.ARAM == 0hCA ; Allocate RAM blocks
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
147 SS.DRAM == 0hCB ; De-allocate RAM blocks
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
148
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
149 ; SDisk 3 Definition equates
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
150 SS.DRead == SS.AAGBf ; SDisk3 Direct Sector Read ($80)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
151 SS.DWrit == SS.DRead ; SDisk3 Direct sector Write ($80)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
152 SS.UnFrz == SS.SLGBf ; SDisk3 UNFreeze DD info ($81)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
153 SS.MOFF == SS.Mount ; SDisk3 fast motor off call ($82)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
154 SS.MoTim == SS.RdNet ; SDisk3 Set motor shut off time ($83)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
155 SS.SDRD == SS.MpGPB ; SDisk3 System direct read ($84)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
156 SS.SDWRT == SS.SDRD ; SDisk3 System direct writes ($84)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
157 SS.Sleep == SS.Slots ; SDisk3 (DMC ONLY) Enable/disable F$Sleep calls in read/write 1773 I/O ($85)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
158 SS.DrvCh == SS.WnSet ; SDisk3 (DMC ONLY) Set drive number to cache, or return drive number being cached ($86)
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
159
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
160 .endif
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
161