Debian Codegraph @

ACME_Lib/cbm/basic7.a

raw
1 ;ACME 0.94.4
2
3 !ifdef lib_cbm_basic7_a !eof
4 lib_cbm_basic7_a = 1
5
6 ; Macros for inserting BASIC commands. Note that "#" and "$" characters in
7 ; BASIC keywords have been converted to "_" in the macro names.
8 ; *All* function macros already include the '(' character.
9
10 !source <cbm/basic3.5.a> ; from 0x80 to $fd
11
12 ; extended (16-bit) tokens, $ce range (replacing RLUM function):
13
14 ; extended token $ce $00 isn't used
15 ; extended token $ce $01 isn't used
16 !macro b_POT {!by $ce, $02:!pet '('}
17 !macro b_BUMP {!by $ce, $03:!pet '('}
18 ; if this file gets included via "cbm/basic10.a", do not define PEN
19 ; (because in v10, there is an instruction called PEN):
20 !ifndef lib_cbm_basic10_a {
21 !macro b_PEN {!by $ce, $04:!pet '('}
22 }
23 !macro b_RSPPOS {!by $ce, $05:!pet '('}
24 !macro b_RSPRITE {!by $ce, $06:!pet '('}
25 !macro b_RSPCOLOR {!by $ce, $07:!pet '('}
26 !macro b_XOR {!by $ce, $08:!pet '('}
27 !macro b_RWINDOW {!by $ce, $09:!pet '('}
28 !macro b_POINTER {!by $ce, $0a:!pet '('}
29
30
31 ; extended (16-bit) tokens, $fe range:
32
33 ; extended token $fe $00 isn't used
34 ; extended token $fe $01 isn't used
35 !macro b_BANK {!by $fe, $02}
36 !macro b_FILTER {!by $fe, $03}
37 !macro b_PLAY {!by $fe, $04}
38 !macro b_TEMPO {!by $fe, $05}
39 !macro b_MOVSPR {!by $fe, $06}
40 !macro b_SPRITE {!by $fe, $07}
41 !macro b_SPRCOLOR {!by $fe, $08}
42 !macro b_RREG {!by $fe, $09}
43 !macro b_ENVELOPE {!by $fe, $0a}
44 !macro b_SLEEP {!by $fe, $0b}
45 !macro b_CATALOG {!by $fe, $0c}
46 !macro b_DOPEN {!by $fe, $0d}
47 !macro b_APPEND {!by $fe, $0e}
48 !macro b_DCLOSE {!by $fe, $0f}
49 !macro b_BSAVE {!by $fe, $10}
50 !macro b_BLOAD {!by $fe, $11}
51 !macro b_RECORD {!by $fe, $12}
52 !macro b_CONCAT {!by $fe, $13}
53 !macro b_DVERIFY {!by $fe, $14}
54 !macro b_DCLEAR {!by $fe, $15}
55 !macro b_SPRSAV {!by $fe, $16}
56 !macro b_COLLISION {!by $fe, $17}
57 !macro b_BEGIN {!by $fe, $18}
58 !macro b_BEND {!by $fe, $19}
59 !macro b_WINDOW {!by $fe, $1a}
60 !macro b_BOOT {!by $fe, $1b}
61 !macro b_WIDTH {!by $fe, $1c}
62 !macro b_SPRDEF {!by $fe, $1d}
63 !macro b_QUIT {!by $fe, $1e} ; "unimplemented command"
64 ; if this file gets included via "cbm/basic10.a", do not define STASH/FETCH/SWAP
65 ; (because in v10, they all get decoded to DMA):
66 !ifndef lib_cbm_basic10_a {
67 !macro b_STASH {!by $fe, $1f}
68 ; extended token $fe $20 isn't used ($20 is ' ')
69 !macro b_FETCH {!by $fe, $21}
70 ; extended token $fe $22 isn't used ($22 is '"')
71 !macro b_SWAP {!by $fe, $23}
72 }
73 !macro b_OFF {!by $fe, $24} ; "unimplemented command"
74 !macro b_FAST {!by $fe, $25}
75 !macro b_SLOW {!by $fe, $26}