msbasic icon indicating copy to clipboard operation
msbasic copied to clipboard

Allow TI$ relocation

Open kervinck opened this issue 6 years ago • 1 comments

Flexibility I needed in the Gigatron port of cbmbasic2 to make TI$ work in a different memory layout

Most important:

  • Replaced magic constants and conditional assembly with expressions
  • Verified that none of the bin files change

A little housekeeping:

  • Renamed related labels to original MS source
  • Add comments about C_ZERO

kervinck avatar Oct 18 '19 19:10 kervinck

One after thought: The two comments

XXX Assumes vars are <32K and C_ZERO lives above!

might better lose the XXX marker: These aren't bugs, but something to be aware of when relocating BASIC under 32K.

[For the Gigatron port itself these instructions must change anyway. I didn't do that in this commit.]

kervinck avatar Oct 18 '19 19:10 kervinck