Miscellaneous

- Rename Dev.txt to ReadMe.txt for consistency
- Update Dev app Makefile to not copy the internal ReadMe file to the final output
- Remove obsolete constants in BPBIOS
- Minor patches to zx and cpmtools to workaround an odd behavior in Windows Subsystem for Linux that was  causing output to fail binary comparisons.
This commit is contained in:
Wayne Warthen
2021-10-16 20:21:36 -07:00
parent e41f1b7bb5
commit f5806a1589
7 changed files with 30 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
OBJECTS = dev.com
DOCS = dev.txt
#DOCS = dev.txt
DEST = ../../../Binary/Apps
DOCDEST = ../../../Binary/Apps
TOOLS = ../../../Tools

View File

@@ -14,14 +14,6 @@ MEMTOP EQU HBLOC - 1 ; Last usable address
;
HB_DEBUG EQU FALSE ; See hbios.z80 file
;
; TODO: Query system via HBIOS API to determine actual size of
; RAM and ROM, then adjust BPBIOS operation accordingly.
;
HB_RAMBANKS EQU 16 ; For systems with 512K of RAM
;HB_RAMBANKS EQU 32 ; For systems with 1MB of RAM
HB_ROMBANKS EQU 16 ; For systems with 512K of ROM
;HB_ROMBANKS EQU 32 ; For systems with 1MB of ROM
;
; Set HB_IODEV to desired HBIOS character device unit number
;
; TODO: Query system via HBIOS API to determine number of serial

View File

@@ -522,7 +522,8 @@ AY_EI:
AY_WRTPSG:
CALL AY_DI
#IFDEF SBCV2004
LD A,8 ; SBC-V2-004 CHANGE
LD A,(RTCVAL) ; GET CURRENT RTC LATCH VALUE
OR %00001000 ; SBC-V2-004 CHANGE
OUT (RTCIO),A ; TO HALF CLOCK SPEED
#ENDIF
#IF (CPUFAM == CPU_Z180)
@@ -540,7 +541,7 @@ AY_WRTPSG:
OUT0 (Z180_DCNTL),A ; AND RESTORE IT
#ENDIF
#IFDEF SBCV2004
LD A,0 ; SBC-V2-004 CHANGE TO
LD A,(RTCVAL) ; SBC-V2-004 CHANGE TO
OUT (RTCIO),A ; NORMAL CLOCK SPEED
#ENDIF
JP AY_EI
@@ -552,7 +553,8 @@ AY_WRTPSG:
AY_RDPSG:
CALL AY_DI
#IFDEF SBCV2004
LD A,8 ; SBC-V2-004 CHANGE
LD A,(RTCVAL) ; GET CURRENT RTC LATCH VALUE
OR %00001000 ; SBC-V2-004 CHANGE
OUT (RTCIO),A ; TO HALF CLOCK SPEED
#ENDIF
#IF (CPUFAM == CPU_Z180)
@@ -570,7 +572,7 @@ AY_RDPSG:
OUT0 (Z180_DCNTL),A ; AND RESTORE IT
#ENDIF
#IFDEF SBCV2004
LD A,0 ; SBC-V2-004 CHANGE TO
LD A,(RTCVAL) ; SBC-V2-004 CHANGE TO
OUT (RTCIO),A ; NORMAL CLOCK SPEED
#ENDIF
JP AY_EI