diff --git a/bin/build.bat b/bin/build.bat index 034b82d..c2ffe54 100755 --- a/bin/build.bat +++ b/bin/build.bat @@ -1,5 +1,9 @@ @echo off -echo Open Watcom v2 build script for DOS, Win32 and OS/2 +echo (Open) Watcom build script for DOS, Win32 and OS/2 + +if not exist DOS\NUL md DOS +if not exist OS2\NUL md OS2 +if not exist WIN32\NUL md WIN32 echo Building DOS executable... wcl -bt=dos -q -0 -os -s -ml -fe=dos\asm6502.exe ..\src\asm6502.c @@ -9,3 +13,5 @@ wcl386 -q -os -s -fe=win32\asm6502.exe ..\src\asm6502.c echo Building OS/2 executable... wcl386 -l=os2v2 -q -os -s -fe=os2\asm6502.exe ..\src\asm6502.c + +if exist asm6502.obj del asm6502.obj \ No newline at end of file diff --git a/pkg/dist/_src/atarivcs/build.bat b/pkg/dist/_src/atarivcs/build.bat index 33afbb6..bf4a9e5 100755 --- a/pkg/dist/_src/atarivcs/build.bat +++ b/pkg/dist/_src/atarivcs/build.bat @@ -1,4 +1,9 @@ -@rem Build script for the C64 hello world example +@rem Build script for the Atari VCS hello world example @rem Procudes the program HELLOVCS.BIN and a listing HELLOVCS.LST -..\..\asm6502.exe hellovcs.a65 -o hellovcs.bin -l hellovcs.lst +@echo. +@echo Make sure to adjust the path to ASM6502.EXE or +@echo the following command will fail!! +@echo. + +asm6502.exe hellovcs.a65 -o hellovcs.bin -l hellovcs.lst diff --git a/pkg/dist/_src/c64/build.bat b/pkg/dist/_src/c64/build.bat index cc1cbb3..355328d 100755 --- a/pkg/dist/_src/c64/build.bat +++ b/pkg/dist/_src/c64/build.bat @@ -1,4 +1,9 @@ @rem Build script for the C64 hello world example @rem Procudes the program HELLOC64.PRG and a listing HELLOC64.LST -..\..\asm6502.exe helloc64.a65 -o helloc64.prg -l helloc64.lst +@echo. +@echo Make sure to adjust the path to ASM6502.EXE or +@echo the following command will fail!! +@echo. + +asm6502.exe helloc64.a65 -o helloc64.prg -l helloc64.lst diff --git a/pkg/svardos/src/atarivcs/build.bat b/pkg/svardos/src/atarivcs/build.bat index d791102..03078a2 100755 --- a/pkg/svardos/src/atarivcs/build.bat +++ b/pkg/svardos/src/atarivcs/build.bat @@ -1,4 +1,4 @@ -@rem Build script for the C64 hello world example +@rem Build script for the Atari VCS hello world example @rem Procudes the program HELLOVCS.BIN and a listing HELLOVCS.LST ..\..\asm6502.exe hellovcs.a65 -o hellovcs.bin -l hellovcs.lst