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