forked from mist64/msbasic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefines_badger6502.s
62 lines (53 loc) · 1.32 KB
/
defines_badger6502.s
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
; configuration
CONFIG_2A := 1
CONFIG_CBM_ALL := 1
CONFIG_DATAFLG := 1
CONFIG_EASTER_EGG := 1
;CONFIG_FILE := 1; support PRINT#, INPUT#, GET#, CMD
CONFIG_NO_CR := 1; terminal doesn't need explicit CRs on line ends
CONFIG_NO_LINE_EDITING := 1; support for "@", "_", BEL etc.
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
CONFIG_PEEK_SAVE_LINNUM := 1
CONFIG_SCRTCH_ORDER := 2
;CONFIG_PRINTNULLS := 1
;CONFIG_SMALL_ERROR := 1
; zero page
ZP_START1 = $00
ZP_START2 = $0D
ZP_START3 = $03
ZP_START4 = $13
; extra/override ZP variables
CURDVC := $000E
TISTR := $008D
Z96 := $0096
POSX := $00C6
TXPSV := LASTOP
USR := GORESTART ; XXX
; inputbuffer
INPUTBUFFER := $200
; constants
SPACE_FOR_GOSUB := $3E
STACK_TOP := $FA
WIDTH := 40
WIDTH2 := 30
;NULL_MAX := $0A
RAMSTART2 := $1000
; magic memory locations
ENTROPY = $7000
; monitor functions
MONRDKEY := read_char_upper_echo
MONCOUT := display_char
;CHKIN := do_nothing
;CHKOUT := do_nothing
CLALL := do_nothing
;CHRIN := do_nothing
;CLRCH := do_nothing
CLOSE := do_nothing
OPEN := do_nothing
;SYS := do_nothing
VERIFY := do_nothing
;LE7F3 := do_nothing
LOAD := eb_load
SAVE := eb_save
L2420 := display_char
L2423 := display_char