Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
564B

  1. Cross compilation program
  2. This programs allows cross compilation of boot binary and
  3. icore. Run "262 LOAD" right before your cross compilation and
  4. then "270 LOAD" to apply xcomp overrides.
  5. This unit depends on a properly initialized z80a with ORG and
  6. BIN( set. That is how we determine compilation offsets.
  7. This redefines defining words to achieve cross compilation.
  8. The goal is two-fold:
  9. 1. Add an offset to all word references in definitions.
  10. 2. Don't shadow important words we need right now.
  11. (cont.)