tergav17 / IshkurCPM

An open source, modular CP/M distribution for the NABU computer
GNU General Public License v3.0
23 stars 3 forks source link

Allow booting ndsk to work on any rom variant #1

Closed brijohn closed 1 year ago

brijohn commented 1 year ago

This adds some position independent code at the beginning of the ndsk bootloader to figure out what address we are loaded at and then relocates the main bootloader to address 0xC000 before jumping to it.

This allows us to boot on rom variants that load at 0x240d instead of 0x140d.

tergav17 commented 1 year ago

Merged in, thank you!