Browse Source

Merge branch 'dev' of https://github.com/b1ackmai1er/RomWBW into dev

pull/134/head
b1ackmai1er 6 years ago
parent
commit
8a346da051
  1. 3
      Doc/ChangeLog.txt
  2. BIN
      Doc/RomWBW Applications.pdf
  3. BIN
      Doc/RomWBW Architecture.pdf
  4. BIN
      Doc/RomWBW Disk Catalog.pdf
  5. BIN
      Doc/RomWBW Getting Started.pdf
  6. 3
      Makefile
  7. 6
      ReadMe.md
  8. 6
      ReadMe.txt
  9. 10
      Source/Doc/Architecture.md
  10. 4
      Source/Doc/GettingStarted.md
  11. 1
      Source/HBIOS/hbios.asm
  12. 2
      Source/HBIOS/hdsk.asm
  13. 2
      Source/HBIOS/sn76489.asm
  14. 6
      Source/Images/Build.cmd
  15. 10
      Source/Images/Makefile
  16. 2
      Source/Makefile
  17. 9
      Source/Prop/Spin/ParPortProp.spin
  18. 9
      Source/Prop/Spin/PropIO.spin
  19. 9
      Source/Prop/Spin/PropIO2.spin
  20. 19
      Source/Prop/Spin/vgacolour.spin
  21. 2
      Source/ver.inc
  22. 2
      Source/ver.lib

3
Doc/ChangeLog.txt

@ -1,7 +1,8 @@
Version 3.1.1 Version 3.1.1
------------- -------------
- WBW: Version bumped due to pervasive changes - WBW: Version bumped due to pervasive changes
- WBW: Preliminary support for hard disk partition support (backward compatible)
- WBW: Preliminary hard disk partition support (backward compatible)
- WBW: Change Propeller VGA signal timings to 60Hz refresh
Version 3.1 Version 3.1
----------- -----------

BIN
Doc/RomWBW Applications.pdf

Binary file not shown.

BIN
Doc/RomWBW Architecture.pdf

Binary file not shown.

BIN
Doc/RomWBW Disk Catalog.pdf

Binary file not shown.

BIN
Doc/RomWBW Getting Started.pdf

Binary file not shown.

3
Makefile

@ -1,7 +1,6 @@
all: all:
$(MAKE) --directory Tools/unix $(MAKE) --directory Tools/unix
$(MAKE) --directory Source $(MAKE) --directory Source
$(MAKE) --directory Source/Images
clean: clean:
$(MAKE) --directory Tools/unix clean $(MAKE) --directory Tools/unix clean
@ -15,5 +14,5 @@ clobber:
rm -f typescript rm -f typescript
diff: diff:
$(MAKE) --directory diff
$(MAKE) --directory Source diff

6
ReadMe.md

@ -3,7 +3,7 @@
## Z80/Z180 System Software ## Z80/Z180 System Software
Version 3.1 Pre-release Version 3.1 Pre-release
Thursday 23 April 2020
Friday 8 May 2020
Wayne Warthen <wwarthen@gmail.com> Wayne Warthen <wwarthen@gmail.com>
@ -1137,8 +1137,8 @@ applications are no longer provided.
driver. driver.
- Ed Brindley contributed some of the code that supports the RC2014 - Ed Brindley contributed some of the code that supports the RC2014
platform. platform.
- Phil Summers contributed Forth and BASIC in ROM as well as a long
list of general code enhancements.
- Phil Summers contributed Forth and BASIC in ROM, the AY-3-8910 sound
driver as well as a long list of general code enhancements.
- Phillip Stevens contributed support for FreeRTOS. - Phillip Stevens contributed support for FreeRTOS.
- Curt Mayer contributed the Linux / MacOS build process. - Curt Mayer contributed the Linux / MacOS build process.
- UNA BIOS and FDISK80 are the products of John Coffman. - UNA BIOS and FDISK80 are the products of John Coffman.

6
ReadMe.txt

@ -3,7 +3,7 @@ RomWBW
Z80/Z180 System Software Z80/Z180 System Software
Version 3.1 Pre-release Version 3.1 Pre-release
Thursday 23 April 2020
Friday 8 May 2020
Wayne Warthen wwarthen@gmail.com Wayne Warthen wwarthen@gmail.com
@ -1169,8 +1169,8 @@ applications are no longer provided.
driver. driver.
- Ed Brindley contributed some of the code that supports the RC2014 - Ed Brindley contributed some of the code that supports the RC2014
platform. platform.
- Phil Summers contributed Forth and BASIC in ROM as well as a long
list of general code enhancements.
- Phil Summers contributed Forth and BASIC in ROM, the AY-3-8910 sound
driver as well as a long list of general code enhancements.
- Phillip Stevens contributed support for FreeRTOS. - Phillip Stevens contributed support for FreeRTOS.
- Curt Mayer contributed the Linux / MacOS build process. - Curt Mayer contributed the Linux / MacOS build process.
- UNA BIOS and FDISK80 are the products of John Coffman. - UNA BIOS and FDISK80 are the products of John Coffman.

10
Source/Doc/Architecture.md

@ -1721,6 +1721,7 @@ available along with the registers/information returned.
| _Returned Values_ | _Returned Values_
| A: Status (0=OK, else error) | A: Status (0=OK, else error)
| DE:HL: Current Timer Tick Count Value | DE:HL: Current Timer Tick Count Value
| C: Tick frequency (typically 50 or 60)
#### SYSGET Subfunction 0xD1 -- Get Seconds Count (SECONDS) #### SYSGET Subfunction 0xD1 -- Get Seconds Count (SECONDS)
@ -1806,15 +1807,6 @@ available along with the registers/information used as input.
| _Returned Values_ | _Returned Values_
| A: Status (0=OK, else error) | A: Status (0=OK, else error)
#### SYSSET Subfunction 0xD2 -- Inc Timer (TIMER)
| _Entry Parameters_
| BC: 0xF9D2
| _Returned Values_
| A: Status (0=OK, else error)
#### SYSSET Subfunction 0xE0 -- Set Boot Information (BOOTINFO) #### SYSSET Subfunction 0xE0 -- Set Boot Information (BOOTINFO)
| _Entry Parameters_ | _Entry Parameters_

4
Source/Doc/GettingStarted.md

@ -1190,8 +1190,8 @@ these applications are no longer provided.
driver. driver.
* Ed Brindley contributed some of the code that supports the RC2014 * Ed Brindley contributed some of the code that supports the RC2014
platform. platform.
* Phil Summers contributed Forth and BASIC in ROM as well as a long
list of general code enhancements.
* Phil Summers contributed Forth and BASIC in ROM, the AY-3-8910 sound
driver as well as a long list of general code enhancements.
* Phillip Stevens contributed support for FreeRTOS. * Phillip Stevens contributed support for FreeRTOS.
* Curt Mayer contributed the Linux / MacOS build process. * Curt Mayer contributed the Linux / MacOS build process.
* UNA BIOS and FDISK80 are the products of John Coffman. * UNA BIOS and FDISK80 are the products of John Coffman.

1
Source/HBIOS/hbios.asm

@ -2458,6 +2458,7 @@ SYS_GETTIMER:
HB_DI HB_DI
CALL LD32 CALL LD32
HB_EI HB_EI
LD C, TICKFREQ
XOR A XOR A
RET RET
; ;

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"

2
Source/HBIOS/sn76489.asm

@ -116,7 +116,7 @@ SN7_VOLUME:
SN7_NOTE: SN7_NOTE:
AUDTRACE(SNT_NOTE) AUDTRACE(SNT_NOTE)
AUDTRACE_L
AUDTRACE_HL
AUDTRACE_CR AUDTRACE_CR
LD H,0 LD H,0

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...

10
Source/Images/Makefile

@ -15,10 +15,14 @@ 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
NODELETE = $(HDPREFIX) $(HDNEWPREFIX)
DEST=../../Binary DEST=../../Binary
TOOLS = ../../Tools TOOLS = ../../Tools
@ -26,10 +30,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

9
Source/Prop/Spin/ParPortProp.spin

@ -3,8 +3,8 @@
************************************ ************************************
* ParPortProp for RomWBW * * ParPortProp for RomWBW *
* Interface to RBC ParPortProp * * Interface to RBC ParPortProp *
* Version 0.96 *
* March 11, 2018 *
* Version 0.97 *
* May 9, 2020 *
************************************ ************************************
Wayne Warthen Wayne Warthen
@ -29,11 +29,12 @@
Updates: Updates:
2018-03-11 WBW: Implement character attributes 2018-03-11 WBW: Implement character attributes
2020-05-09 WBW: Switch monitor refresh to 60Hz
}} }}
CON CON
VERSION = (((0 << 8) + 96) << 16) + 0
VERSION = (((0 << 8) + 97) << 16) + 0
_CLKMODE = XTAL1 + PLL16X _CLKMODE = XTAL1 + PLL16X
_XINFREQ = 5_000_000 _XINFREQ = 5_000_000
@ -608,7 +609,7 @@ PRI Activity
DAT DAT
strVer byte "F/W v0.96",0
strVer byte "F/W v0.97",0
strHW byte "ParPortProp",0 strHW byte "ParPortProp",0
strROM byte "RomWBW",0 strROM byte "RomWBW",0

9
Source/Prop/Spin/PropIO.spin

@ -3,8 +3,8 @@
******************************* *******************************
* PropIO for RomWBW * * PropIO for RomWBW *
* Interface to RBC PropIO * * Interface to RBC PropIO *
* Version 0.96 *
* March 11, 2018 *
* Version 0.97 *
* May 9, 2020 *
******************************* *******************************
Wayne Warthen Wayne Warthen
@ -34,11 +34,12 @@
2014-02-09 WBW: Clean up 2014-02-09 WBW: Clean up
2015-11-15 WBW: Added SD card capacity reporting 2015-11-15 WBW: Added SD card capacity reporting
2018-03-11 WBW: Implement character attributes 2018-03-11 WBW: Implement character attributes
2020-05-09 WBW: Switch monitor refresh to 60Hz
}} }}
CON CON
VERSION = (((0 << 8) + 96) << 16) + 0
VERSION = (((0 << 8) + 97) << 16) + 0
_CLKMODE = XTAL1 + PLL16X _CLKMODE = XTAL1 + PLL16X
_XINFREQ = 5_000_000 _XINFREQ = 5_000_000
@ -337,7 +338,7 @@ PRI DumpBuffer(Buffer) | i, j
DAT DAT
strVer byte "F/W v0.96",0
strVer byte "F/W v0.97",0
strHW byte "PropIO",0 strHW byte "PropIO",0
strROM byte "RomWBW",0 strROM byte "RomWBW",0

9
Source/Prop/Spin/PropIO2.spin

@ -3,8 +3,8 @@
********************************* *********************************
* PropIO 2 for RomWBW * * PropIO 2 for RomWBW *
* Interface to RBC PropIO 2 * * Interface to RBC PropIO 2 *
* Version 0.96 *
* March 11, 2018 *
* Version 0.97 *
* May 9, 2020 *
********************************* *********************************
Wayne Warthen Wayne Warthen
@ -34,11 +34,12 @@
2014-02-08 WBW: Adaptation for PropIO 2 2014-02-08 WBW: Adaptation for PropIO 2
2015-11-15 WBW: Added SD card capacity reporting 2015-11-15 WBW: Added SD card capacity reporting
2018-03-11 WBW: Implement character attributes 2018-03-11 WBW: Implement character attributes
2020-05-09 WBW: Switch monitor refresh to 60Hz
}} }}
CON CON
VERSION = (((0 << 8) + 96) << 16) + 0
VERSION = (((0 << 8) + 97) << 16) + 0
_CLKMODE = XTAL1 + PLL16X _CLKMODE = XTAL1 + PLL16X
_XINFREQ = 5_000_000 _XINFREQ = 5_000_000
@ -337,7 +338,7 @@ PRI DumpBuffer(Buffer) | i, j
DAT DAT
strVer byte "F/W v0.96",0
strVer byte "F/W v0.97",0
strHW byte "PropIO v2",0 strHW byte "PropIO v2",0
strROM byte "RomWBW",0 strROM byte "RomWBW",0

19
Source/Prop/Spin/vgacolour.spin

@ -20,6 +20,7 @@
CON CON
{
' 640 x 480 @ 69Hz settings: 80 x 30 characters ' 640 x 480 @ 69Hz settings: 80 x 30 characters
hp = 640 ' horizontal pixels hp = 640 ' horizontal pixels
@ -33,6 +34,24 @@ CON
hn = 1 ' horizontal normal sync state (0|1) hn = 1 ' horizontal normal sync state (0|1)
vn = 1 ' vertical normal sync state (0|1) vn = 1 ' vertical normal sync state (0|1)
pr = 30 ' pixel rate in MHz at 80MHz system clock (5MHz granularity) pr = 30 ' pixel rate in MHz at 80MHz system clock (5MHz granularity)
}
'{
' 640 x 480 @ 60Hz settings: 80 x 40 characters
hp = 640 'horizontal pixels
vp = 480 'vertical pixels
hf = 16 'horizontal front porch pixels
hs = 96 'horizontal sync pixels
hb = 48 'horizontal back porch pixels
vf = 10 'vertical front porch lines
vs = 2 'vertical sync lines
vb = 33 'vertical back porch lines
hn = 1 'horizontal normal sync state (0|1)
vn = 1 'vertical normal sync state (0|1)
pr = 25 'pixel rate in MHz at 80MHz system clock (5MHz granularity)
'}
' columns and rows ' columns and rows

2
Source/ver.inc

@ -2,4 +2,4 @@
#DEFINE RMN 1 #DEFINE RMN 1
#DEFINE RUP 1 #DEFINE RUP 1
#DEFINE RTP 0 #DEFINE RTP 0
#DEFINE BIOSVER "3.1.1-pre.3"
#DEFINE BIOSVER "3.1.1-pre.5"

2
Source/ver.lib

@ -3,5 +3,5 @@ rmn equ 1
rup equ 1 rup equ 1
rtp equ 0 rtp equ 0
biosver macro biosver macro
db "3.1.1-pre.3"
db "3.1.1-pre.5"
endm endm

Loading…
Cancel
Save