Making 6809 position independent
Allen Huffman via Coco <coco-uNHYcr1XS/wmlAP/[email protected]>
| Newsgroups | gmane.comp.hardware.tandy.coco |
|---|---|
| Message-ID | <[email protected]> |
Surely I knew this, because I wrote OS-9/6809 code which has to be position independent… But… As long as I avoid things like JMP (unless jumping to a fixed location such as in ROM), should my code be loadable anywhere in BASIC? I completely forget how to do this. I have built a routine to load at &H7F00 but I want it to be loadable anywhere — such as a lower address for a 16K system. Can someone here remind me how that worked? I recall LOADM “FILE”,xxx …or something. It’s been way too long for me! — A -- Coco mailing list [email protected] https://pairlist5.pair.net/mailman/listinfo/coco