Browse Source

Build Tweaks

- Update TastyBasic to build correctly under MacOS.
- Updated build to integrate with RomWBW build system.
pull/273/head
Wayne Warthen 4 years ago
parent
commit
6a69f3920f
  1. 1
      Source/Images/d_bp.txt
  2. 1
      Source/Images/d_cpm3.txt
  3. 1
      Source/Images/d_nzcom.txt
  4. 1
      Source/Images/d_zpm3.txt
  5. 12
      Source/TastyBasic/Makefile
  6. 44
      Source/TastyBasic/src/Makefile
  7. 2
      Source/ver.inc
  8. 2
      Source/ver.lib

1
Source/Images/d_bp.txt

@ -21,6 +21,7 @@
../../Binary/Apps/syscopy.com 15:
../../Binary/Apps/sysgen.com 15:
../../Binary/Apps/talk.com 15:
../../Binary/Apps/tbasic.com 0:
../../Binary/Apps/timer.com 15:
../../Binary/Apps/tune.com 15:
../../Binary/Apps/xm.com 15:

1
Source/Images/d_cpm3.txt

@ -33,6 +33,7 @@
../../Binary/Apps/syscopy.com 0:
#../../Binary/Apps/sysgen.com 0:
#../../Binary/Apps/talk.com 0:
../../Binary/Apps/tbasic.com 0:
../../Binary/Apps/timer.com 0:
../../Binary/Apps/tune.com 0:
../../Binary/Apps/xm.com 0:

1
Source/Images/d_nzcom.txt

@ -34,6 +34,7 @@ d_zsdos/u0/*.* 0:
../../Binary/Apps/syscopy.com 0:
../../Binary/Apps/sysgen.com 0:
../../Binary/Apps/talk.com 0:
../../Binary/Apps/tbasic.com 0:
../../Binary/Apps/timer.com 0:
../../Binary/Apps/tune.com 0:
../../Binary/Apps/xm.com 0:

1
Source/Images/d_zpm3.txt

@ -32,6 +32,7 @@
../../Binary/Apps/syscopy.com 15:
../../Binary/Apps/sysgen.com 15:
../../Binary/Apps/talk.com 15:
../../Binary/Apps/tbasic.com 0:
../../Binary/Apps/timer.com 15:
../../Binary/Apps/tune.com 15:
../../Binary/Apps/xm.com 15:

12
Source/TastyBasic/Makefile

@ -1,9 +1,3 @@
SUBDIRS := src
TARGETS := all clobber clean
$(TARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: $(TARGETS) $(SUBDIRS)
SUBDIRS = src
TOOLS = ../../Tools
include $(TOOLS)/Makefile.inc

44
Source/TastyBasic/src/Makefile

@ -1,36 +1,16 @@
UNAME := $(shell uname)
# VER := $(shell git describe --tags --abbrev=0)
APPDIR := $(wildcard ../../../Binary/Apps)
BINDIR := ../../../Tools/$(UNAME)
OBJECTS = tastybasic.bin tbasic.com
TOOLS = ../../../Tools
OTHERS = *.com
APPDIR=../../../Binary/Apps
include $(TOOLS)/Makefile.inc
ROMIMAGE := tastybasic.bin
ROMDEPS := tastybasic.asm romwbwio.asm
CPMCMD := tastybasic.com
CPMDEPS := tastybasic.asm cpmio.asm
CPMAPP := $(APPDIR)/tbasic.com
CPMIMAGE := tastybasic.img
USETASM=1
export PATH := $(BINDIR):${PATH}
tastybasic.bin: TASMFLAGS=-dROMWBW
all: $(ROMIMAGE) $(CPMCMD) | $(APPDIR)
tastybasic.com: TASMFLAGS=-dCPM
clean:
@rm -f *.lst *.img *.com *.bin
clobber: clean
@rm -f $(CPMAPP)
$(ROMIMAGE): $(ROMDEPS)
@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 tastybasic.asm tastybasic.com tastybasic.com.lst
$(APPDIR): $(CPMCMD)
@cat $(CPMCMD) > $(CPMAPP)
.PHONY: clean clobber $(APPDIR)
tbasic.com : tastybasic.com
cp $< $@
cp $$($(CASEFN) $@) $(APPDIR)

2
Source/ver.inc

@ -2,4 +2,4 @@
#DEFINE RMN 1
#DEFINE RUP 1
#DEFINE RTP 0
#DEFINE BIOSVER "3.1.1-pre.134"
#DEFINE BIOSVER "3.1.1-pre.135"

2
Source/ver.lib

@ -3,5 +3,5 @@ rmn equ 1
rup equ 1
rtp equ 0
biosver macro
db "3.1.1-pre.134"
db "3.1.1-pre.135"
endm

Loading…
Cancel
Save