Browse Source

Small Cleanup

pull/126/head
Wayne Warthen 6 years ago
parent
commit
df1421b163
  1. 2
      Makefile
  2. 2
      Source/HBIOS/hdsk.asm
  3. 6
      Source/Images/Build.cmd
  4. 8
      Source/Images/Makefile
  5. 2
      Source/Makefile

2
Makefile

@ -14,5 +14,5 @@ clobber:
rm -f typescript rm -f typescript
diff: diff:
$(MAKE) --directory diff
$(MAKE) --directory Source diff

2
Source/HBIOS/hdsk.asm

@ -27,10 +27,12 @@ HDSK_CFGTBL:
.DB 0 ; DRIVER DEVICE NUMBER .DB 0 ; DRIVER DEVICE NUMBER
.DB 0 ; DEVICE STATUS .DB 0 ; DEVICE STATUS
.DW 0,0 ; CURRENT LBA .DW 0,0 ; CURRENT LBA
#IF (HDSK_DEVCNT >= 2)
; DEVICE 1 ; DEVICE 1
.DB 1 ; DEVICE NUMBER .DB 1 ; DEVICE NUMBER
.DB 0 ; DEVICE STATUS .DB 0 ; DEVICE STATUS
.DW 0,0 ; CURRENT LBA .DW 0,0 ; CURRENT LBA
#ENDIF
; ;
#IF ($ - HDSK_CFGTBL) != (HDSK_DEVCNT * HDSK_CFGSIZ) #IF ($ - HDSK_CFGTBL) != (HDSK_DEVCNT * HDSK_CFGSIZ)
.ECHO "*** INVALID HDSK CONFIG TABLE ***\n" .ECHO "*** INVALID HDSK CONFIG TABLE ***\n"

6
Source/Images/Build.cmd

@ -21,7 +21,7 @@ call BuildDisk.cmd cpm3 wbw_hd ..\cpm3\cpmldr.sys
call BuildDisk.cmd zpm3 wbw_hd ..\cpm3\cpmldr.sys call BuildDisk.cmd zpm3 wbw_hd ..\cpm3\cpmldr.sys
call BuildDisk.cmd ws4 wbw_hd call BuildDisk.cmd ws4 wbw_hd
if exist ..\BPBIOS\bpbio-ww.rel call BuildHD.cmd bp wbw_hd
if exist ..\BPBIOS\bpbio-ww.rel call BuildDisk.cmd bp wbw_hd
echo. echo.
echo Building Combo Disk (legacy format) Image... echo Building Combo Disk (legacy format) Image...
@ -37,9 +37,9 @@ call BuildDisk.cmd cpm3 wbw_hdnew ..\cpm3\cpmldr.sys
call BuildDisk.cmd zpm3 wbw_hdnew ..\cpm3\cpmldr.sys call BuildDisk.cmd zpm3 wbw_hdnew ..\cpm3\cpmldr.sys
call BuildDisk.cmd ws4 wbw_hdnew call BuildDisk.cmd ws4 wbw_hdnew
if exist ..\BPBIOS\bpbio-ww.rel call BuildHD.cmd bp wbw_hdnew
if exist ..\BPBIOS\bpbio-ww.rel call BuildDisk.cmd bp wbw_hdnew
copy hd_prefix.dat ..\..\Binary\
copy hdnew_prefix.bin ..\..\Binary\
echo. echo.
echo Building Combo Disk (new format) Image... echo Building Combo Disk (new format) Image...

8
Source/Images/Makefile

@ -15,7 +15,9 @@ HDNEWIMGS = hdnew_cpm22.img hdnew_zsdos.img hdnew_nzcom.img \
HDPREFIX = HDPREFIX =
HDNEWPREFIX = hdnew_prefix.bin HDNEWPREFIX = hdnew_prefix.bin
OBJECTS = $(FDIMGS) $(HDIMGS) hd_combo.img $(HDNEWIMGS) hdnew_combo.img
OBJECTS = $(FDIMGS)
OBJECTS += $(HDIMGS) hd_combo.img $(HDPREFIX)
OBJECTS += $(HDNEWIMGS) hdnew_combo.img $(HDNEWPREFIX)
OTHERS = blank144 blankhd blankhdnew OTHERS = blank144 blankhd blankhdnew
@ -26,10 +28,10 @@ include $(TOOLS)/Makefile.inc
DIFFPATH = $(DIFFTO)/Binary DIFFPATH = $(DIFFTO)/Binary
hd_combo.img: $(HDPREFIX) $(HDIMGS)
hd_combo.img: $(HDPREFIX) $(HDIMGS)
cat $^ > $@ cat $^ > $@
hdnew_combo.img: $(HDNEWPREFIX) $(HDNEWIMGS)
hdnew_combo.img: $(HDNEWPREFIX) $(HDNEWIMGS)
cat $^ > $@ cat $^ > $@
# #

2
Source/Makefile

@ -9,7 +9,7 @@ SUBDIRS += Fonts
SUBDIRS += CPM22 ZCPR ZCPR-DJ ZSDOS SUBDIRS += CPM22 ZCPR ZCPR-DJ ZSDOS
SUBDIRS += HBIOS CPM3 SUBDIRS += HBIOS CPM3
SUBDIRS += ZPM3 SUBDIRS += ZPM3
SUBDIRS += BPBIOS
#SUBDIRS += BPBIOS
SUBDIRS += Images SUBDIRS += Images
TOOLS = ../Tools TOOLS = ../Tools
include $(TOOLS)/Makefile.inc include $(TOOLS)/Makefile.inc

Loading…
Cancel
Save