Mercurial > hg > Members > kono > nitros9-code
annotate level1/modules/dwdefs.d @ 2254:254f75634e96
Use IntMasks instead of $50
author | boisy |
---|---|
date | Sun, 27 Dec 2009 03:34:22 +0000 |
parents | 8cbd8013fe24 |
children |
rev | line source |
---|---|
2180 | 1 ******************************************************************** |
2 * dwdefs - DriveWire Definitions File | |
3 * | |
4 * $Id$ | |
5 * | |
6 * Ed. Comments Who YY/MM/DD | |
7 * ------------------------------------------------------------------ | |
8 * 1 Started BGP 03/04/03 | |
9 | |
10 nam dwdefs | |
11 ttl DriveWire Definitions File | |
12 | |
2231
27f07aa0bca0
Updated modules to use Darren Atkinson's latest changes to low level read/write routines
boisy
parents:
2183
diff
changeset
|
13 * Addresses |
27f07aa0bca0
Updated modules to use Darren Atkinson's latest changes to low level read/write routines
boisy
parents:
2183
diff
changeset
|
14 BBOUT equ $FF20 |
27f07aa0bca0
Updated modules to use Darren Atkinson's latest changes to low level read/write routines
boisy
parents:
2183
diff
changeset
|
15 BBIN equ $FF22 |
27f07aa0bca0
Updated modules to use Darren Atkinson's latest changes to low level read/write routines
boisy
parents:
2183
diff
changeset
|
16 |
2180 | 17 * Opcodes |
18 OP_NOP equ $00 No-Op | |
19 OP_RESET1 equ $FE Server Reset | |
20 OP_RESET2 equ $FF Server Reset | |
21 OP_TIME equ '# Current time requested | |
22 OP_INIT equ 'I Init routine called | |
23 OP_READ equ 'R Read one sector | |
24 OP_REREAD equ 'r Re-read one sector | |
25 OP_READEX equ 'R+128 Read one sector | |
26 OP_REREADEX equ 'r+128 Re-read one sector | |
27 OP_WRITE equ 'W Write one sector | |
28 OP_REWRIT equ 'w Re-write one sector | |
29 OP_GETSTA equ 'G GetStat routine called | |
30 OP_SETSTA equ 'S SetStat routine called | |
31 OP_TERM equ 'T Term routine called | |
2183 | 32 |
33 * Printer opcodes | |
34 OP_PRINT equ 'P Print byte to the print buffer | |
35 OP_PRINTFLUSH equ 'F Flush the server print buffer | |
2180 | 36 |
2242 | 37 * Serial opcodes |
38 OP_SERREAD equ 'C | |
39 OP_SERREADM equ 'c | |
40 OP_SERWRITE equ 'C+128 | |
41 OP_SERGETSTAT equ 'D | |
42 OP_SERSETSTAT equ 'D+128 | |
43 | |
2180 | 44 * WireBug opcodes (Server-initiated) |
45 OP_WIREBUG_MODE equ 'B | |
46 * WireBug opcodes (Server-initiated) | |
47 OP_WIREBUG_READREGS equ 'R Read the CoCo's registers | |
48 OP_WIREBUG_WRITEREGS equ 'r Write the CoCo's registers | |
49 OP_WIREBUG_READMEM equ 'M Read the CoCo's memory | |
50 OP_WIREBUG_WRITEMEM equ 'm Write the CoCo's memory | |
51 OP_WIREBUG_GO equ 'G Tell CoCo to get out of WireBug mode and continue execution | |
52 | |
2249 | 53 * VPort opcodes (CoCo-initiated) |
54 OP_VPORT_READ equ 'V | |
55 OP_VPORT_WRITE equ 'v | |
56 | |
2180 | 57 * Error definitions |
58 E_CRC equ $F3 Same as NitrOS-9 E$CRC |