1 00020 * Direct Page definitions for BIF
2 00030 * BIF Copyright 1989 Joel Matthew Rees (see BIF/ASM)
3 00060 * This file is dependent on BIF/M definitions
5 00105 VDP EQU DPAGE/256
6 00110 * ORG needs to leave space for this code
8 00130 * COLD needs to load VDP into DP register
10 00510 * Direct Page variables
14 01010 * nest into icode list
16 01030 XCOL LDX ,S list ptr
18 01050 TFR X,Y interpret
21 01080 * PUSH FOLLOWING WORD
22 01090 * call by JSR for CONSTANT
27 01140 * push following address
28 01150 * call by JSR for VARIABLE address
32 01190 * (same code as R>, but in DP)
34 01210 * push address of USER variable
36 01220 XUSER LDB [,S++] one byte offset
42 01300 * push address of LINEAR array entry
62 01480 LEAX 5,X past header
66 01520 * LINEAR array header format:
67 01530 * FDB BASE (lowest index)
68 01540 * FDB WIDTH (# of elements)
69 01550 * FCB SIZE (< 256 bytes / element)
70 01560 * RMB SIZE*WIDTH (data)
72 01710 * push content of USER variable
75 01722 LDB [,S++] one byte offset
81 01802 * store VOCABULARY pointer in root
88 01860 * indirect into icode list following
89 01870 * DOES> in defining definition
91 01890 XDOES LDX ,S pfa
92 01900 LDD ,X++ list ptr
93 01920 PSHU X parameters
95 01940 TFR D,Y interpret
98 02000 * push double constant
106 40000 ORG DPAGE+256 if code fits
107 40010 SETDP 0 not yet valid