2022-06-04 20:00:48 +00:00
|
|
|
; ---------------------------------------------------------------------------
|
|
|
|
;
|
2022-09-19 21:57:26 +00:00
|
|
|
; KIM-1 definitions
|
2022-06-04 20:00:48 +00:00
|
|
|
;
|
|
|
|
; ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
RAMSTART := $0200 ; Entry point
|
|
|
|
|
2022-09-19 17:56:57 +00:00
|
|
|
|
2022-06-04 20:00:48 +00:00
|
|
|
; ---------------------------------------------------------------------------
|
|
|
|
; Monitor Functions
|
|
|
|
; ---------------------------------------------------------------------------
|
|
|
|
OUTCHR := $1EA0 ; Output character
|
|
|
|
INTCHR := $1E5A ; Input character without case conversion
|
|
|
|
DUMPT := $1800 ; Dump memory to tape
|
|
|
|
LOADT := $1873 ; Load memory from tape
|
2023-03-27 21:56:25 +00:00
|
|
|
START := $1C4F ; Enter KIM-1 monitor
|
2023-03-29 22:40:10 +00:00
|
|
|
SCANDS := $1F1F ; Scan 7-segment display
|
|
|
|
KEYIN := $1F40 ; Open up keyboard channel
|
|
|
|
GETKEY := $1F6A ; Return key from keyboard
|
|
|
|
|
2022-09-19 17:56:57 +00:00
|
|
|
|
|
|
|
; ---------------------------------------------------------------------------
|
|
|
|
; System Memory
|
|
|
|
; ---------------------------------------------------------------------------
|
2022-06-04 20:00:48 +00:00
|
|
|
SAL := $17F5 ; Tape load address low
|
|
|
|
SAH := $17F6 ; Tape load address high
|
|
|
|
EAL := $17F7 ; Tape address end low
|
|
|
|
EAH := $17F8 ; Tape address end high
|
|
|
|
ID := $17F9 ; Tape Identification number
|