mirror of
https://github.com/marketideas/qasm.git
synced 2026-11-25 03:24:00 +00:00
Move the assembler to src/qasm. qlink links OMF 1.0 and 2.0 from a script. makeBin flattens a load file, qomf dumps OMF, and qpro builds ProDOS volumes. APW and MPW assemble through the ORCA front end. Relocatable modules emit OMF objects. Listings stay off unless -l is set. make boot assembles the GS/OS 6.0.1 ProDOS 8 kernel and BASIC.SYSTEM into an 800K volume. BASIC.SYSTEM accepts ls and pfx, and its splash reports PRODOS BASIC 2.0, copyright 1983-2026. IIGS.601.SRC is the source and the BASIC.SYSTEM oracle that image is built from.
70 lines
1.4 KiB
SYSTEMD
70 lines
1.4 KiB
SYSTEMD
# Absolute Apple II image at bank 00 / $2000, plus relocatable and library links.
|
|
# qlink reads this file. It is not assembled and it is not a makefile.
|
|
|
|
include common.inc
|
|
|
|
apple.omf: rel-code-merlin.o rel-data-merlin.o
|
|
ver 1
|
|
typ $(bin),$(load)
|
|
org $2000
|
|
entry CODE
|
|
+rel-code-merlin.o
|
|
+rel-data-merlin.o
|
|
|
|
apple-orca.omf: rel-code-orca.o rel-data-orca.o
|
|
ver 1
|
|
typ $(bin),$(load)
|
|
org $2000
|
|
entry code
|
|
+rel-code-orca.o(code)
|
|
+rel-data-orca.o(data)
|
|
|
|
apple-ca65.omf: rel-code-ca65.o rel-data-ca65.o
|
|
ver 1
|
|
typ $(bin),$(load)
|
|
org $2000
|
|
entry CODE
|
|
+rel-code-ca65.o(CODE)
|
|
+rel-data-ca65.o(DATA)
|
|
|
|
apple-apw.omf: rel-code-apw.o rel-data-apw.o
|
|
ver 1
|
|
typ $(bin),$(load)
|
|
org $2000
|
|
entry code
|
|
+rel-code-apw.o(code)
|
|
+rel-data-apw.o(data)
|
|
|
|
prog.omf: rel-code-merlin.o rel-data-merlin.o
|
|
ver 2
|
|
entry CODE
|
|
seg CODE kind=$0000
|
|
+rel-code-merlin.o
|
|
seg DATA kind=$0001
|
|
+rel-data-merlin.o
|
|
|
|
runtime.lib: rel-data-merlin.o
|
|
ver 2
|
|
typ $B2,$0000
|
|
+rel-data-merlin.o
|
|
|
|
proglib.omf: rel-code-merlin.o runtime.lib
|
|
ver 2
|
|
seg CODE kind=$0000
|
|
+rel-code-merlin.o
|
|
lib runtime.lib
|
|
|
|
gap.omf: rel-code-merlin.o rel-data-merlin.o
|
|
ver 1
|
|
org $2000
|
|
seg CODE
|
|
+rel-code-merlin.o
|
|
seg DATA
|
|
ds $20
|
|
+rel-data-merlin.o
|
|
|
|
merged.omf: rel-code-merlin.o rel-data-merlin.o
|
|
ver 2
|
|
+rel-code-merlin.o
|
|
+rel-data-merlin.o
|