Files
Shawn Quick dfcaae62dd Add qlink, the disk tools, and a bootable ProDOS 8 image.
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.
2026-10-16 14:41:55 -07:00

1 line
2.3 KiB
Makefile

SrcDir = :
ObjDir = :obj:
LstDir = :lst:
Defines = {SrcDir}Note.aii ś
{SrcDir}Note.Macros ś
{SrcDir}GCB.aii
Sources = {SrcDir}note.exec.aii ś
{SrcDir}alloc.aii ś
{SrcDir}noteon.aii ś
{SrcDir}noteoff.aii ś
{SrcDir}update.aii ś
{SrcDir}freq.aii ś
{SrcDir}tables.aii
Objects = {ObjDir}note.exec.aii.obj ś
{ObjDir}alloc.aii.obj ś
{ObjDir}noteon.aii.obj ś
{ObjDir}noteoff.aii.obj ś
{ObjDir}update.aii.obj ś
{ObjDir}freq.aii.obj ś
{ObjDir}tables.aii.obj
Lists = {LstDir}note.exec.aii.lst ś
{LstDir}alloc.aii.lst ś
{LstDir}noteon.aii.lst ś
{LstDir}noteoff.aii.lst ś
{LstDir}update.aii.lst ś
{LstDir}freq.aii.lst ś
{LstDir}tables.aii.lst
tool025 Ä {Objects} {SrcDir}makefile
LINKIIGS {Objects} -o tool025 -t tol
# DUPLICATEIIGS -y -mac tool025 tool025
# MAKEBINIIGS tool025 -o tool025.bin
# EQUAL :Orig:tool025bin tool025.bin
# DELETE tool025.bin
{ObjDir} Ä {SrcDir}
.aii.obj Ä .aii
ASMIIGS -o {ObjDir} {SrcDir}{Default}.aii
{ObjDir}note.exec.aii.obj Ä {SrcDir}note.exec.aii {Defines}
{ObjDir}alloc.aii.obj Ä {SrcDir}alloc.aii {Defines}
{ObjDir}noteon.aii.obj Ä {SrcDir}noteon.aii {Defines}
{ObjDir}noteoff.aii.obj Ä {SrcDir}noteoff.aii {Defines}
{ObjDir}update.aii.obj Ä {SrcDir}update.aii {Defines}
{ObjDir}freq.aii.obj Ä {SrcDir}freq.aii {Defines}
{ObjDir}tables.aii.obj Ä {SrcDir}tables.aii {Defines}
listings Ä {Sources}
ECHO "Last listings made `Date`" > listings
ASMIIGS -l -lo {LstDir} -o {ObjDir} {NewerDeps}
LINKIIGS {Objects} -o {LstDir}listlink -l > {LstDir}link.lst
DELETE {LstDir}listlink
MAKE listings2 > MAKE.PRINT.CMDS
MAKE.PRINT.CMDS
DELETE MAKE.PRINT.CMDS
listings2 Ä {Lists} {Defines} {LstDir}link.lst
ECHO "Last listings made `Date`" > listings2
PRINT -h -r -f monaco -s 6 -hf helvetica -hs 12 {NewerDeps}
backup Ä
BACKUP -a -t 'TEXT' -e -from {SrcDir} -to 1
tobuild Ä
BACKUP -a -t 'TEXT' -e -from {SrcDir} -to Trouble:Sources:midi:miditools:
search Ä
SEARCH -i Reg_expr alloc.aii freq.aii gcb.aii makefile Note.aii Note.Exec.aii Note.Macros NoteOff.aii NoteOn.aii ns.equ Tables.aii Update.aii
dup Ä
DUPLICATEIIGS -y -mac tool025 tool025
duplicate Ä
DUPLICATEIIGS -y -mac tool025 tool025