-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Something for an updated ABE: with space to shuffle stuff about (the butils ROM is only ~12 KB) - could include the relocation bitmap plus relocation code in the ROM itself. Now it'd work on B/B+/Electron/MOS 3.20 (and no relocation bitmap faff).
Assemble language code to run from $8000. Specify non-relocatable language, Tube address of $b800.
On entry to language, check for Tube presence. If no Tube, run as normal; if Tube, relocate code in place, overwrite the language entry point jmp address as required, and jmp $b800.
Relocation table for 1.46r is 598 bytes including 4 byte header. 1 KB should be enough? Move error strings from bedit to butils, same as ABE. bedit service entry point can be a stub and defer to butils (somehow - will need some identical sections in both banks).