# Devpac ## Setup * Get the 3.18 ADF from TOSEC or [here](https://www.planetemu.net/rom/commodore-amiga-applications/devpac-v3-18-1997-hisoft) * Mount the ADF * Copy the Devpac directory to your hard drive * Edit `S:User-Startup`: ``` ; BEGIN Devpac ASSIGN DevPac: ASSIGN C: DevPac: ADD ; END Devpac ``` ## Manual * https://archive.org/details/DevPacV3.00.Manual ## Using ### GenAm * One source file to Amiga binary: `genam src.asm` => `src` If you have more than one file, you'll probably want to use `sc link` with an `smakefile`: ```asm ; main.asm XDEF _main _main: MOVEQ #0,D0 RTS ``` ``` # smakefile MAIN_OBJS = $(main.o) .asm.o: genam -l $*.asm main: $(MAIN_OBJS) sc link to main $(MAIN_OBJS) ``` Though this seems to make programs undebuggable in MonAm now? PhxAss seems better, but it's likely best if you just use GenAm on a single asm file. ## Tips * Remember `INCDIR`!