Browse Source

Fixes for RTCHB and DS1501RTC

Thanks and credit to Marten Feldman for contributing these.
pull/389/head v3.5.0-dev.2
Wayne Warthen 2 years ago
parent
commit
6f7d1447ea
  1. 5
      Doc/ChangeLog.txt
  2. 2
      Source/Apps/rtchb.asm
  3. 8
      Source/HBIOS/Makefile.new
  4. 3
      Source/HBIOS/ds1501rtc.asm
  5. 2
      Source/ver.inc
  6. 2
      Source/ver.lib

5
Doc/ChangeLog.txt

@ -1,3 +1,8 @@
Version 3.5
-----------
- M?F: Fix for hours display in HBRTC application
- M?F: Fix for assembly error in DS1501RTC driver
Version 3.4 Version 3.4
----------- -----------
NOTE: Changes require HBIOS/CBIOS/Apps sync, version bump to 3.4 to ensure integrity NOTE: Changes require HBIOS/CBIOS/Apps sync, version bump to 3.4 to ensure integrity

2
Source/Apps/rtchb.asm

@ -58,7 +58,7 @@ HBC_CLKTBL:
.DB 02H, 00111111B, '/' .DB 02H, 00111111B, '/'
.DB 01H, 00011111B, '/' .DB 01H, 00011111B, '/'
.DB 00H, 11111111B, ' ' .DB 00H, 11111111B, ' '
.DB 03H, 00011111B, ':'
.DB 03H, 00111111B, ':'
.DB 04H, 01111111B, ':' .DB 04H, 01111111B, ':'
.DB 05H, 01111111B, 00H .DB 05H, 01111111B, 00H
; ;

8
Source/HBIOS/Makefile.new

@ -103,16 +103,16 @@ UNA_%.osimg.bin: UNA_%.romldr.bin UNA_%.dbgmon.bin
cat camel80.bin $(*F).nascom.bin tastybasic.bin $(*F).game.bin $(*F).eastaegg.bin netboot.mod $(*F).updater.bin $(*F).usrrom.bin >$@ cat camel80.bin $(*F).nascom.bin tastybasic.bin $(*F).game.bin $(*F).eastaegg.bin netboot.mod $(*F).updater.bin $(*F).usrrom.bin >$@
srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary
S100_%.imgpad2.bin: s100mon.bin
cp $< $@
srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary
%.imgpad2.bin: imgpad2.asm %.build.inc %.imgpad2.bin: imgpad2.asm %.build.inc
cp $(*F).build.inc build.inc cp $(*F).build.inc build.inc
$(TASM) $(TASMFLAGS) $< $@ $(@:.bin=.lst) $(TASM) $(TASMFLAGS) $< $@ $(@:.bin=.lst)
srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary
rm build.inc rm build.inc
S100_%.imgpad2.bin: s100mon.bin
cp $< $@
srec_cat $@ -Binary -Crop 0 0x7FFF -Checksum_Negative_Big_Endian 0x7FFF 1 1 -o $@ -Binary
UNA_%.rom: UNA_%.osimg.bin UNA_%.hbios_env.sh UNA_%.rom: UNA_%.osimg.bin UNA_%.hbios_env.sh
. ./UNA_$(*F).hbios_env.sh ; \ . ./UNA_$(*F).hbios_env.sh ; \
cat ../UBIOS/UNA-BIOS.BIN UNA_$(*F).osimg.bin ../UBIOS/FSFAT.BIN ../RomDsk/rom$${ROMSIZE}_una.dat >$@ ; \ cat ../UBIOS/UNA-BIOS.BIN UNA_$(*F).osimg.bin ../UBIOS/FSFAT.BIN ../RomDsk/rom$${ROMSIZE}_una.dat >$@ ; \

3
Source/HBIOS/ds1501rtc.asm

@ -279,8 +279,7 @@ DS1501RTC_GETBYT:
LD E,A LD E,A
; ;
; Return success ; Return success
XOR
;
XOR A
RET RET
; ;
; RTC Set Byte ; RTC Set Byte

2
Source/ver.inc

@ -2,7 +2,7 @@
#DEFINE RMN 5 #DEFINE RMN 5
#DEFINE RUP 0 #DEFINE RUP 0
#DEFINE RTP 0 #DEFINE RTP 0
#DEFINE BIOSVER "3.5.0-dev.1"
#DEFINE BIOSVER "3.5.0-dev.2"
#define rmj RMJ #define rmj RMJ
#define rmn RMN #define rmn RMN
#define rup RUP #define rup RUP

2
Source/ver.lib

@ -3,5 +3,5 @@ rmn equ 5
rup equ 0 rup equ 0
rtp equ 0 rtp equ 0
biosver macro biosver macro
db "3.5.0-dev.1"
db "3.5.0-dev.2"
endm endm

Loading…
Cancel
Save