mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 19:08:05 +11:00
17 lines
552 B
Plaintext
17 lines
552 B
Plaintext
Cross compilation program
|
|
|
|
This programs allows cross compilation of boot binary and
|
|
icore. Run "262 LOAD" right before your cross compilation and
|
|
then set XCURRENT to CURRENT.
|
|
|
|
This unit depends on a properly initialized z80a with ORG and
|
|
BIN( set. That is how we determine compilation offsets.
|
|
|
|
This redefines defining words to achieve cross compilation.
|
|
The goal is two-fold:
|
|
|
|
1. Add an offset to all word references in definitions.
|
|
2. Don't shadow important words we need right now.
|
|
|
|
(cont.)
|