Skip to content

Commit

Permalink
Updated to GLaBIOS v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
csoren committed Apr 15, 2023
1 parent b9f5f63 commit 4b35d3f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion GBN8.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
REM Make (G)La(B)IOS (N)uXT (8)088

cd glabios/src
MASM /DARCH_TYPE='F' /DCPU_TYPE='8' GLABIOS,GLANUXT8;
MASM /DARCH_TYPE='F' /DARCH_SUB_TYPE='M' GLABIOS,GLANUXT8;
LINK GLANUXT8;
GLA2ROM\GLA2ROM GLANUXT8.EXE GLANUXT8.ROM
2 changes: 1 addition & 1 deletion GBNV.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
REM Make (G)La(B)IOS (N)uXT (V)20

cd glabios/src
MASM /DARCH_TYPE='F' /DCPU_TYPE='V' GLABIOS,GLANUXTV;
MASM /DARCH_TYPE='F' /DARCH_SUB_TYPE='M' /DCPU_TYPE='V' GLABIOS,GLANUXTV;
LINK GLANUXTV;
GLA2ROM\GLA2ROM GLANUXTV.EXE GLANUXTV.ROM
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,10 @@ $(XUB_DIR)/Build/ide_xt.bin:
$(MAKE) -C $(XUB_DIR) AS=nasm xt
perl $(XUB_DIR)/../Tools/checksum.pl $(XUB_DIR)/Build/ide_xt.bin 8192

$(GLABIOS_DIR)/_patched: $(GLABIOS_DIR)/GLABIOS.ASM glabios.patch
-patch -r /dev/null -N $(GLABIOS_DIR)/GLABIOS.ASM glabios.patch
touch $@

$(GLABIOS_DIR)/GLANUXT8.ROM: $(GLABIOS_DIR)/GLABIOS.ASM $(GLABIOS_DIR)/_patched
$(GLABIOS_DIR)/GLANUXT8.ROM: $(GLABIOS_DIR)/GLABIOS.ASM
dosbox GBN8.BAT -exit -c "MOUNT D \"masm5\"" -c "PATH D:;Z:"

$(GLABIOS_DIR)/GLANUXTV.ROM: $(GLABIOS_DIR)/GLABIOS.ASM $(GLABIOS_DIR)/_patched
$(GLABIOS_DIR)/GLANUXTV.ROM: $(GLABIOS_DIR)/GLABIOS.ASM
dosbox GBNV.BAT -exit -c "MOUNT D \"masm5\"" -c "PATH D:;Z:"

$(GLATICK_DIR)/_patched: $(GLATICK_SRC) rtc.patch
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ To build the V20 optimized option `USE_NEC_V=1` is passed to `make`.
## GLaBIOS
GLaBIOS is built using `masm` 5.0, this is included in the `masm5` directory. DOSBox is used to do the build.

GLaBIOS is patched to target NuXT hardware and to support IBM Cassette BASIC in `Makefile` using the `glabios.patch` file.

Two DOS `.BAT` files are used to control the build process, `GBN8.BAT` (for (G)La(B)IOS (N)uXT (8)088) passes `/DARCH_TYPE='F' /DCPU_TYPE='8'` to `masm` for targeting Faraday FE2010A and 8088. `GBNV.BAT` (for (G)La(B)IOS (N)uXT (V)20) passes `/DARCH_TYPE='F' /DCPU_TYPE='V'` to target V20 instead.

## GLaTICK
Expand Down
2 changes: 1 addition & 1 deletion glabios
Submodule glabios updated 2 files
+11 −1 README.md
+459 −325 src/GLABIOS.ASM
8 changes: 0 additions & 8 deletions glabios.patch

This file was deleted.

0 comments on commit 4b35d3f

Please sign in to comment.