mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
TastyBasic Build Adjustments
- Minor changes to the build process in TastyBasic to ensure binary identical results across all platforms.
This commit is contained in:
@@ -7,7 +7,7 @@ set PATH=%TOOLS%\tasm32;%PATH%
|
||||
|
||||
set TASMTABS=%TOOLS%\tasm32
|
||||
|
||||
tasm -80 -dROMWBW tastybasic.asm tastybasic.bin tastybasic.bin.lst
|
||||
tasm -80 -dCPM tastybasic.asm tastybasic.com tastybasic.com.lst
|
||||
tasm -80 -g3 -fFF -dROMWBW tastybasic.asm tastybasic.bin tastybasic.bin.lst
|
||||
tasm -80 -g3 -fFF -dCPM tastybasic.asm tastybasic.com tastybasic.com.lst
|
||||
|
||||
copy /b /v tastybasic.com ..\..\..\Binary\Apps\tbasic.com
|
||||
|
||||
@@ -7,5 +7,4 @@ if exist *.prn del *.prn
|
||||
if exist *.hex del *.hex
|
||||
if exist *.rel del *.rel
|
||||
if exist *.sym del *.sym
|
||||
|
||||
if exist ..\..\..\Binary\Apps\tbasic.com del ..\..\..\Binary\Apps\tbasic.com
|
||||
if exist *.com del *.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
UNAME := $(shell uname)
|
||||
VER := $(shell git describe --tags --abbrev=0)
|
||||
# VER := $(shell git describe --tags --abbrev=0)
|
||||
APPDIR := $(wildcard ../../../Binary/Apps)
|
||||
BINDIR := ../../../Tools/$(UNAME)
|
||||
|
||||
@@ -14,17 +14,21 @@ export PATH := $(BINDIR):${PATH}
|
||||
|
||||
all: $(ROMIMAGE) $(CPMCMD) | $(APPDIR)
|
||||
|
||||
clean clobber:
|
||||
@rm -f *.lst *.img *.com *.bin $(CPMAPP)
|
||||
clean:
|
||||
@rm -f *.lst *.img *.com *.bin
|
||||
|
||||
clobber: clean
|
||||
@rm -f $(CPMAPP)
|
||||
|
||||
$(ROMIMAGE): $(ROMDEPS)
|
||||
@uz80as -dROMWBW -d"VERSION \"$(VER)\"" tastybasic.asm tastybasic.bin tastybasic.bin.lst
|
||||
@uz80as -dROMWBW tastybasic.asm tastybasic.bin tastybasic.bin.lst
|
||||
|
||||
$(CPMIMAGE): $(CPMCMD)
|
||||
@mkfs.cpm -f wbw_fd144 tastybasic.img
|
||||
@cpmcp -f wbw_fd144 tastybasic.img tastybasic.com 0:tbasic.com
|
||||
|
||||
$(CPMCMD): $(CPMDEPS)
|
||||
@uz80as -dCPM -d"VERSION \"$(VER)\"" tastybasic.asm tastybasic.com tastybasic.com.lst
|
||||
@uz80as -dCPM tastybasic.asm tastybasic.com tastybasic.com.lst
|
||||
|
||||
$(APPDIR): $(CPMCMD)
|
||||
@cat $(CPMCMD) > $(CPMAPP)
|
||||
|
||||
Reference in New Issue
Block a user