forked from chapmajs/glitchworks_monitor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsmvgzcb.asm
31 lines (25 loc) · 970 Bytes
/
smvgzcb.asm
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;SMVGZCB -- GWMON-80 Small Monitor for Vector Graphic ZCB
;
;This customization uses the default serial port
;configuration on the ZCB as the console. It expects default
;memory configuration:
;
; * ROM containing GWMON-80 at 0xE000
; * 1K of scratchpad RAM at 0xFC00
;
;The ROM may be any of the types supported by the ZCB.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Hardware Equates
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CTLPRT equ 005H ;Default ZCB control port
DATPRT equ 004H ;Default ZCB data port
STACK equ 0FFFFH ;Stack at top of scratchpad
ORG 0E000H
INCLUDE 'vectors.inc' ;Standard GWMON-80 jump table
INCLUDE 'sm.inc' ;The small monitor
INCLUDE 'scmdstd.inc' ;SM standard commands
INCLUDE 'scmdnull.inc' ;Command table terminator
INCLUDE 'i8251a.inc' ;Generic Intel 8251 I/O
END