00020 * Direct Page definitions for BIF 00030 * BIF Copyright 1989 Joel Matthew Rees (see BIF/ASM) 00060 * This file is dependent on BIF/M definitions 00100 DPAGE EQU * 00105 VDP EQU DPAGE/256 00110 * ORG needs to leave space for this code 00120 SETDP VDP 00130 * COLD needs to load VDP into DP register 00500 * 00510 * Direct Page variables 00600 UP RMB 2 00610 RMB 8 spares 01000 * { bifc_vm.c 01010 * nest into icode list 01020 * call by JSR 01030 XCOL LDX ,S list ptr 01040 STY ,S nest old 01050 TFR X,Y interpret 01060 NEXT 01070 * } { symbol.c 01080 * PUSH FOLLOWING WORD 01090 * call by JSR for CONSTANT 01100 XCON LDD [,S++] 01110 PSHU D 01120 NEXT 01130 * 01140 * push following address 01150 * call by JSR for VARIABLE address 01160 XVAR PULS D 01170 PSHU D 01180 NEXT 01190 * (same code as R>, but in DP) 01200 * 01210 * push address of USER variable 01215 * call by JSR 01220 XUSER LDB [,S++] one byte offset 01225 CLRA 01230 ADDD in defining definition 01880 * call by JSR 01890 XDOES LDX ,S pfa 01900 LDD ,X++ list ptr 01920 PSHU X parameters 01930 STY ,S nest old 01940 TFR D,Y interpret 01950 NEXT 01960 * 02000 * push double constant 02010 * call by JSR 02020 XDCON PULS X 02030 LDD ,X++ 02040 LDX ,X++ 02050 PSHU D,X 02060 NEXT 02070 * } 40000 ORG DPAGE+256 if code fits 40010 SETDP 0 not yet valid