-
Notifications
You must be signed in to change notification settings - Fork 1
/
defines.inc
37 lines (35 loc) · 1.03 KB
/
defines.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
;**************************************************************
;*
;* C P / M version 2 . 2
;*
;* Reconstructed from memory image on February 27, 1981
;*
;* by Clark A. Calkins
;*
;**************************************************************
CCP_START: EQU 0AA80H
BDOS_START: EQU 0B280H
BIOS_START: EQU 0DB00H
IOBYTE: EQU 3 ;i/o definition byte.
TDRIVE: EQU 4 ;current drive name and user number.
ENTRY: EQU 5 ;entry point for the cp/m bdos.
TFCB: EQU 5CH ;default file control block.
TBUFF: EQU 80H ;i/o buffer and command line storage.
TBASE: EQU 100H ;transiant program storage area.
;
; Set control character equates.
;
CNTRLC: EQU 3 ;control-c
CNTRLE: EQU 05H ;control-e
BS: EQU 08H ;backspace
TAB: EQU 09H ;tab
LF: EQU 0AH ;line feed
FF: EQU 0CH ;form feed
CR: EQU 0DH ;carriage return
CNTRLP: EQU 10H ;control-p
CNTRLR: EQU 12H ;control-r
CNTRLS: EQU 13H ;control-s
CNTRLU: EQU 15H ;control-u
CNTRLX: EQU 18H ;control-x
CNTRLZ: EQU 1AH ;control-z (end-of-file mark)
DEL: EQU 7FH ;rubout