This is bit of information about Datum BASIC written by Scott Gogler
The original source code seems to be not quite correct ..especially relative jumps .. and the original 2 part binary files had some errors in it ..wrong code for some of the instructions
PLD for Datum and BASIC
Name 6802 max board, datum term;
Partno 0001;
Revision Ver 1;
Date 24/12/17;
Designer mc;
Company mcoz;
Location oz;
Assembly manual;
Device g22v10;
/** Inputs **/
pin [3..11] = [a7..15] ;
pin [13..17] = [a2..6] ;
pin 18 = vma;
pin 2 = eout;
pin 1 = rnw;
/** Outputs **/
pin 22 = !rd;
pin 23 = !wr;
pin 19 = !piaCS;
pin 21 = !acaCS;
pin 20 = !memCS;
/** Declarations and Intermediate Variable Definitions **/
field ioaddr= [a15..2];
acaCS_eqn = ioaddr:[4000..47FF];
piaCS_eqn = ioaddr:[4800..4FFF];
memCS_eqn = (ioaddr:[0000..27FF])#((ioaddr:[2800..37FF])& rnw & vma)#((ioaddr:[7000..7FFF])& rnw & vma)#(ioaddr:[8000..EFFF]) # ((ioaddr:[F000..FFFF])& rnw & vma);
/** Logic Equations **/
rd = rnw & vma ;
wr = !rnw & vma;
piaCS = piaCS_eqn ;
acaCS = acaCS_eqn;
memCS = memCS_eqn;
Here is combined HEX file of Daterm and BASIC with corrected binary code .. as far as I can tell - download
See original Datum document re Daterm and Basic - download.