b1ackmai1er
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with
18 additions and
10 deletions
-
BIN
Doc/RomWBW Applications.pdf
-
BIN
Doc/RomWBW Architecture.pdf
-
BIN
Doc/RomWBW Disk Catalog.pdf
-
BIN
Doc/RomWBW Getting Started.pdf
-
ReadMe.md
-
ReadMe.txt
-
Source/HBIOS/romldr.asm
-
Source/HBIOS/sd.asm
-
Source/HBIOS/unlzsa2s.asm
-
Source/ver.inc
-
Source/ver.lib
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
## Z80/Z180 System Software |
|
|
|
|
|
|
|
Version 3.1 Pre-release |
|
|
|
Tuesday 5 January 2021 |
|
|
|
Friday 15 January 2021 |
|
|
|
|
|
|
|
Wayne Warthen <wwarthen@gmail.com> |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ General features include: |
|
|
|
- Disk drivers for RAM, ROM, Floppy, IDE, CF, and SD |
|
|
|
- Serial drivers including UART (16550-like), ASCI, ACIA, SIO |
|
|
|
- Video drivers including TMS9918, SY6545, MOS8563, HD6445 |
|
|
|
- Real time clock drivers including DS1322, BQ4845 |
|
|
|
- Real time clock drivers including DS1302, BQ4845 |
|
|
|
- Multiple OS support including CP/M 2.2, ZSDOS, CP/M 3, ZPM3 |
|
|
|
- Built-in VT-100 terminal emulation support |
|
|
|
|
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ RomWBW |
|
|
|
Z80/Z180 System Software |
|
|
|
|
|
|
|
Version 3.1 Pre-release |
|
|
|
Tuesday 5 January 2021 |
|
|
|
Friday 15 January 2021 |
|
|
|
|
|
|
|
Wayne Warthen wwarthen@gmail.com |
|
|
|
|
|
|
|
@ -33,7 +33,7 @@ General features include: |
|
|
|
- Disk drivers for RAM, ROM, Floppy, IDE, CF, and SD |
|
|
|
- Serial drivers including UART (16550-like), ASCI, ACIA, SIO |
|
|
|
- Video drivers including TMS9918, SY6545, MOS8563, HD6445 |
|
|
|
- Real time clock drivers including DS1322, BQ4845 |
|
|
|
- Real time clock drivers including DS1302, BQ4845 |
|
|
|
- Multiple OS support including CP/M 2.2, ZSDOS, CP/M 3, ZPM3 |
|
|
|
- Built-in VT-100 terminal emulation support |
|
|
|
|
|
|
|
|
|
|
|
@ -444,14 +444,14 @@ setcon: |
|
|
|
jp c,err_nocon ; handle overflow error |
|
|
|
; |
|
|
|
; Check against max char unit |
|
|
|
PUSH DE |
|
|
|
push de |
|
|
|
push af ; save requested unit |
|
|
|
ld b,BF_SYSGET ; HBIOS func: SYS GET |
|
|
|
ld c,BF_SYSGET_CIOCNT ; HBIOS subfunc: CIO unit count |
|
|
|
rst 08 ; E := unit count |
|
|
|
pop af ; restore requested unit |
|
|
|
cp e ; compare |
|
|
|
POP DE |
|
|
|
pop de |
|
|
|
jp nc,err_nocon ; handle invalid unit |
|
|
|
ld (newcon),a ; save validated console |
|
|
|
; |
|
|
|
|
|
|
|
@ -1320,6 +1320,10 @@ SD_INITCMD1: |
|
|
|
INC HL ; POINT TO NEXT BYTE |
|
|
|
LD (HL),A ; CLEAR IT |
|
|
|
DJNZ SD_INITCMD1 ; LOOP TILL DONE |
|
|
|
; CRC POSITION SHOULD BE COMPLETELY IGNORED BECAUSE WE DON'T |
|
|
|
; ENABLE IT AND WE ARE IN SPI MODE. HOWEVER, AT LEAST ONE SD |
|
|
|
; CARD IS KNOWN TO FAIL ANY COMMAND WHERE THE CRC POSITION |
|
|
|
; IS NOT $FF! SO, BELOW WE STUFF THE CRC POSITION WITH $FF. |
|
|
|
DEC A ; $FF TO ACCUM |
|
|
|
LD (SD_CMDCRC),A ; PUT $FF IN CRC POSITION |
|
|
|
RET |
|
|
|
|
|
|
|
@ -82,10 +82,12 @@ |
|
|
|
#DEFCONT \ lddr |
|
|
|
|
|
|
|
#ENDIF |
|
|
|
|
|
|
|
.ECHO "UNLZSA2 for " |
|
|
|
|
|
|
|
#IFDEF HD64180 |
|
|
|
|
|
|
|
.ECHO "HD64180 " |
|
|
|
.ECHO "HD64180" |
|
|
|
|
|
|
|
#DEFINE LD_IX_DE \ |
|
|
|
#DEFCONT \ ld ixl,e \ ld ixh,d |
|
|
|
@ -95,7 +97,7 @@ |
|
|
|
|
|
|
|
#ELSE |
|
|
|
|
|
|
|
.ECHO "Z80 " |
|
|
|
.ECHO "Z80" |
|
|
|
|
|
|
|
#DEFINE LD_IX_DE \ |
|
|
|
#DEFCONT \ push de \ pop ix |
|
|
|
@ -104,6 +106,8 @@ |
|
|
|
#DEFCONT \ push ix \ pop de |
|
|
|
|
|
|
|
#ENDIF |
|
|
|
|
|
|
|
.ECHO ".\n" |
|
|
|
|
|
|
|
DLZSA2: |
|
|
|
xor a \ ld b,a \ ex af,af' \ jr ReadToken |
|
|
|
|
|
|
|
@ -2,4 +2,4 @@ |
|
|
|
#DEFINE RMN 1 |
|
|
|
#DEFINE RUP 1 |
|
|
|
#DEFINE RTP 0 |
|
|
|
#DEFINE BIOSVER "3.1.1-pre.27" |
|
|
|
#DEFINE BIOSVER "3.1.1-pre.28" |
|
|
|
|
|
|
|
@ -3,5 +3,5 @@ rmn equ 1 |
|
|
|
rup equ 1 |
|
|
|
rtp equ 0 |
|
|
|
biosver macro |
|
|
|
db "3.1.1-pre.27" |
|
|
|
db "3.1.1-pre.28" |
|
|
|
endm |
|
|
|
|