Browse Source

Minor RTC Updates

pull/110/head
Wayne Warthen 6 years ago
parent
commit
77cc5d14a9
  1. BIN
      Source/Images/d_bp/u0/LDDS.COM
  2. BIN
      Source/Images/d_bp/u0/LDNZT.COM
  3. BIN
      Source/Images/d_bp/u0/LDP2D.COM
  4. BIN
      Source/Images/d_bp/u0/SUBMIT.COM
  5. BIN
      Source/Images/d_zsdos/u0/CLOCKS.DAT
  6. BIN
      Source/Images/d_zsdos/u0/LDDS.COM
  7. BIN
      Source/Images/d_zsdos/u0/LDNZT.COM
  8. BIN
      Source/Images/d_zsdos/u0/LDP2D.COM
  9. BIN
      Source/RomDsk/ROM_1024KB/CLOCKS.DAT
  10. BIN
      Source/RomDsk/ROM_1024KB/LDDS.COM
  11. BIN
      Source/RomDsk/ROM_1024KB/LDNZT.COM
  12. BIN
      Source/RomDsk/ROM_1024KB/LDP2D.COM
  13. BIN
      Source/RomDsk/ROM_512KB/LDDS.COM
  14. BIN
      Source/RomDsk/ROM_512KB/LDP2D.COM
  15. 2
      Source/ZSDOS/Clock/Build.cmd
  16. BIN
      Source/ZSDOS/Clock/CLOCKS.DAT
  17. BIN
      Source/ZSDOS/Clock/LDDS.COM
  18. BIN
      Source/ZSDOS/Clock/LDNZT.COM
  19. BIN
      Source/ZSDOS/Clock/LDP2D.COM
  20. 24
      Source/ZSDOS/Clock/ReadMe.txt
  21. 2
      Source/ZSDOS/Clock/preclock.lib
  22. 20
      Source/ZSDOS/Clock/wbwclk.z80

BIN
Source/Images/d_bp/u0/LDDS.COM

Binary file not shown.

BIN
Source/Images/d_bp/u0/LDNZT.COM

Binary file not shown.

BIN
Source/Images/d_bp/u0/LDP2D.COM

Binary file not shown.

BIN
Source/Images/d_bp/u0/SUBMIT.COM

Binary file not shown.

BIN
Source/Images/d_zsdos/u0/CLOCKS.DAT

Binary file not shown.

BIN
Source/Images/d_zsdos/u0/LDDS.COM

Binary file not shown.

BIN
Source/Images/d_zsdos/u0/LDNZT.COM

Binary file not shown.

BIN
Source/Images/d_zsdos/u0/LDP2D.COM

Binary file not shown.

BIN
Source/RomDsk/ROM_1024KB/CLOCKS.DAT

Binary file not shown.

BIN
Source/RomDsk/ROM_1024KB/LDDS.COM

Binary file not shown.

BIN
Source/RomDsk/ROM_1024KB/LDNZT.COM

Binary file not shown.

BIN
Source/RomDsk/ROM_1024KB/LDP2D.COM

Binary file not shown.

BIN
Source/RomDsk/ROM_512KB/LDDS.COM

Binary file not shown.

BIN
Source/RomDsk/ROM_512KB/LDP2D.COM

Binary file not shown.

2
Source/ZSDOS/Clock/Build.cmd

@ -11,4 +11,4 @@ set ZXBINDIR=%TOOLS%/cpm/bin/
set ZXLIBDIR=%TOOLS%/cpm/lib/
set ZXINCDIR=%TOOLS%/cpm/include/
zx ZMAC -HBCLK -/P
zx ZMAC -WBWCLK -/P

BIN
Source/ZSDOS/Clock/CLOCKS.DAT

Binary file not shown.

BIN
Source/ZSDOS/Clock/LDDS.COM

Binary file not shown.

BIN
Source/ZSDOS/Clock/LDNZT.COM

Binary file not shown.

BIN
Source/ZSDOS/Clock/LDP2D.COM

Binary file not shown.

24
Source/ZSDOS/Clock/ReadMe.txt

@ -1,9 +1,23 @@
This directory contains the source and assembled versions of the ZSystem Clock Drivers for N8VEM HBIOS.
This directory contains the source and assembled versions of the
ZSystem Clock Drivers for RomWBW HBIOS.
The hbclk.z80 source file can be compiled using Build.cmd which will produce a relocatable binary (hbclk.rel).
The wbwclk.z80 source file can be compiled using Build.cmd which will
produce a relocatable binary (hbclk.rel).
The relocatable binary should be added/updated in the stamps.dat libary. The stamps.dat file is just a standard LU type library and is easily updated using NULU. The members are the relocatable binaries, but with the .REL extension removed.
The relocatable binary should be added/updated in the STAMPS.DAT
library. The STAMPS.DAT file is just a standard LU type library and
is easily updated using NULU. The members are the relocatable
binaries, but with the .REL extension removed.
SETUPZST is used to create runnable executable (.COM) files. An executable has been created for DateStamper (LDDS.COM) and P2DOS (LDP2D.COM). The executables are all configured for operation as an RSX (resident system extension).
SETUPZST is used to create runnable executable (.COM) files. An
executable has been created for DateStamper (LDDS.COM), P2DOS
(LDP2D.COM), and NZTime (LDNZT.COM) . The executables are all
configured for operation as an RSX (resident system extension).
The STAMPS.DAT file here is a version that I cobbled together. Using the STAMPS.DAT file included in the ZSDOS distribution results in a load file that does not work. It claims to load, but is not present. I found a "fixed" version of STAMPS.DAT on the Walnut Creek CD-ROM which works, but was missing the NZ and NZP2 stamp variants. So, I added those variants to the working version of STAMPS.DAT which is included here.
The STAMPS.DAT file here is a version that I cobbled together. Using
the STAMPS.DAT file included in the ZSDOS distribution results in a
load file that does not work. It claims to load, but is not
present. I found a "fixed" version of STAMPS.DAT on the Walnut Creek
CD-ROM which works, but was missing the NZ and NZP2 stamp variants.
So, I added those variants to the working version of STAMPS.DAT which
is included here.

2
Source/ZSDOS/Clock/preclock.lib

@ -10,6 +10,8 @@ TSTRD: JR TSTRD0 ; Jump around address store
TSTRD0: LD (CKCLK+1),DE ; Patch GETTIM address in
CALL CKCLK ; Get time to start with
DEC A ; WBW: 1 -> 0
JR NZ,BAD ; WBW: NO GOOD
LD A,(HL) ; Get seconds
CP 60H ; Check for valid digit
JR NC,BAD ; >= 60h

20
Source/ZSDOS/Clock/hbclk.z80 → Source/ZSDOS/Clock/wbwclk.z80

@ -1,15 +1,15 @@
TITLE "N8VEM HBIOS Clock Interface"
TITLE "ROMWBW HBIOS Clock Interface"
SUBTTL "Description of Clock Module"
;===================================================================
; HBCLK.Z80
; HBIOS Clock driver for N8VEM Z80 Series Computer
; WBWCLK.Z80
; HBIOS Clock driver for RomWBW System Software
; Wayne Warthen
; Version: 18 Apr 2014
; Version: 31 Mar 2020
;===================================================================
VERS EQU 10
VERS EQU 11
.Z80
NAME HBIOS
NAME WBWCLK
MACLIB CLOCK.LIB
@ -17,10 +17,10 @@ VERS EQU 10
DESCST: DEFW 0 ; Pointer to static year value if required
CLKNAM: DEFB 'N8VEM HBIOS Clock ' ; Exactly 24 chars in name
CLKNAM: DEFB 'RomWBW HBIOS Clock ' ; Exactly 24 chars in name
DEFB VERS/10+'0','.',VERS MOD 10 +'0',0
DESCR: DEFB 'N8VEM Z80 Series HBIOS Clock',0
DESCR: DEFB 'RomWBW Series HBIOS Clock',0
IF [$-DESCST] > 256
OVER2
@ -55,9 +55,9 @@ GETTIM: PUSH HL ; Save final buffer pointer
LD HL,TIMBUF ; Point to temp buf for HBIOS read
LD B,20H ; HBIOS Read Clock function = $20
RST 08 ; Call HBIOS to get time
JR NZ,ERRRET ; Error return
LD HL,TIMBUF ; Source is start of temp buf
POP DE ; Destination is buffer provided originally
JR NZ,ERRRET ; Error return
LD BC,5 ; Copy just the first 5 bytes
LDIR ; Do it
LD A,(DE) ; Save the original seconds value
@ -80,7 +80,7 @@ WRCLK: LD DE,TIMBUF ; Copy to temp buf
LD A,1 ; Signal success
RET ; Done
;
ERRRET: XOR A ; Error
ERRRET: OR 0FFH ; Error
RET ; Done
;
TIMBUF DEFS 6 ; Temp date/time buffer
Loading…
Cancel
Save