This is a homebrew Z80 computer, using Z80, 64K RAM, EEPROM as well as SIO/0.
I am trying to run BASIC, however I need to set the workspace at 0xC000 or higher. The code I am using is similar to https://github.com/feilipu/NASCOM_BASIC_4.7/blob/master/rc2014_NascomBasic56k/bas56k.asm#L56
I can increase Workspace location upto 0x9FFF, however as soon as I set it to 0xA000 or higher assemblers start complaining about various issues.
vasm complains that it cannot find the last 5 variables (lines 112-116)
error 3007: undefined symbol <STLOOK>
error 3007: undefined symbol <PROGST>
error 3007: undefined symbol <MULVAL>
error 3007: undefined symbol <PBUFF>
error 3007: undefined symbol <SGNRES>
while TASM gives this error message
basic.asm line 0056: Forward reference in equate: (A000H)
followed by lots of
basic.asm line 0153: Unused data in MS byte of argument. (2)
messages.
What am I doing wrong here ? As if I am crossing a page boundary or something at 0xA000 but cannot figure out what the exact issue is. This is also completely independent of the address the basic code itself is running at.
How can I move the workspace beyond 0xC000 ?