Browse Source

Fix SURVEY.COM (again)

- Previous fix to SURVEY.COM port survey broke the memory survey.  Everything should be OK now.
- Regenerated documentation.
pull/340/head v3.2.1-dev.1
Wayne Warthen 3 years ago
parent
commit
8aebaab3fe
  1. 5
      Doc/ChangeLog.txt
  2. BIN
      Doc/RomWBW Applications.pdf
  3. BIN
      Doc/RomWBW Disk Catalog.pdf
  4. BIN
      Doc/RomWBW Errata.pdf
  5. BIN
      Doc/RomWBW ROM Applications.pdf
  6. BIN
      Doc/RomWBW System Guide.pdf
  7. BIN
      Doc/RomWBW User Guide.pdf
  8. 16
      ReadMe.md
  9. 2
      ReadMe.txt
  10. 120
      Source/Apps/Survey/survey.mac
  11. 2
      Source/HBIOS/cfg_zeta2.asm
  12. 2
      Source/ver.inc
  13. 2
      Source/ver.lib

5
Doc/ChangeLog.txt

@ -1,3 +1,8 @@
Version 3.2.1
-------------
- M?P: Fixed Zeta 2 FDD and CPUSPD config settings
- WBW: Fixed SURVEY.COM (again)
Version 3.2 Version 3.2
----------- -----------
- WBW: Version bump for release - WBW: Version bump for release

BIN
Doc/RomWBW Applications.pdf

Binary file not shown.

BIN
Doc/RomWBW Disk Catalog.pdf

Binary file not shown.

BIN
Doc/RomWBW Errata.pdf

Binary file not shown.

BIN
Doc/RomWBW ROM Applications.pdf

Binary file not shown.

BIN
Doc/RomWBW System Guide.pdf

Binary file not shown.

BIN
Doc/RomWBW User Guide.pdf

Binary file not shown.

16
ReadMe.md

@ -1,9 +1,9 @@
**RomWBW ReadMe** \ **RomWBW ReadMe** \
Version 3.2 \
Version 3.2.1 \
Wayne Warthen ([wwarthen@gmail.com](mailto:wwarthen@gmail.com)) \ Wayne Warthen ([wwarthen@gmail.com](mailto:wwarthen@gmail.com)) \
18 Mar 2023
22 Mar 2023
# Overview # Overview
@ -102,22 +102,22 @@ functionality.
Complete instructions for installation and operation of RomWBW are found Complete instructions for installation and operation of RomWBW are found
in the [RomWBW User in the [RomWBW User
Guide](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20User%20Guide.pdf).
Guide](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20User%20Guide.pdf).
## Documentation ## Documentation
Documentation for RomWBW includes: Documentation for RomWBW includes:
- [RomWBW User - [RomWBW User
Guide](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20User%20Guide.pdf)
Guide](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20User%20Guide.pdf)
- [RomWBW System - [RomWBW System
Guide](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20System%20Guide.pdf)
Guide](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20System%20Guide.pdf)
- [RomWBW - [RomWBW
Applications](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20Applications.pdf)
Applications](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20Applications.pdf)
- [RomWBW ROM - [RomWBW ROM
Applications](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20ROM%20Applications.pdf)
Applications](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20ROM%20Applications.pdf)
- [RomWBW - [RomWBW
Errata](https://github.com/wwarthen/RomWBW/raw/master/Doc/RomWBW%20Errata.pdf)
Errata](https://github.com/wwarthen/RomWBW/raw/dev/Doc/RomWBW%20Errata.pdf)
# Acknowledgments # Acknowledgments

2
ReadMe.txt

@ -1,6 +1,6 @@
RomWBW ReadMe RomWBW ReadMe
Wayne Warthen (wwarthen@gmail.com) Wayne Warthen (wwarthen@gmail.com)
18 Mar 2023
22 Mar 2023

120
Source/Apps/Survey/survey.mac

@ -15,6 +15,13 @@
; ;
;VERSION LIST - Most recent version first. ;VERSION LIST - Most recent version first.
; ;
;21/Mar/23 - Previous hack was worthless because it broke
; the memory survey. Rehacked to use HBIOS to
; detect if N8VEM SBC MPCL memory management is
; in use and bypass MPCL ports if so. HBIOS check
; should allow use in non-RomWBW systems again.
; Wayne Warthen
;
;10/Feb/23 - Total hack to avoid crash on ECB SBC ;10/Feb/23 - Total hack to avoid crash on ECB SBC
; RomWBW now required by this version ; RomWBW now required by this version
; Wayne Warthen ; Wayne Warthen
@ -240,20 +247,6 @@ TABS EQU 9 ; Tab columns
; ;
;ORG 100H ;ORG 100H
; ;
;
;
.Z80
LD HL,IMGORG
LD DE,START
LD BC,IMGEND-IMGORG
LDIR
JP START
.8080
;
IMGORG:
;
.PHASE 8000H
;
START: START:
LXI H,0 ; Save stack pointer LXI H,0 ; Save stack pointer
DAD SP DAD SP
@ -261,9 +254,38 @@ START:
LXI SP,FINIS+64 LXI SP,FINIS+64
CALL TYPE ; Type initial CRLF CALL TYPE ; Type initial CRLF
DW CRLF,CRLF DW CRLF,CRLF
DB TAB,'*** RomWBW System Survey (Feb 2023) ***'
DB TAB,'*** RomWBW System Survey (Mar 2023) ***'
DW CRLF,CRLFE DW CRLF,CRLFE
;
; Are we running an N8VEM SBC w/ MPCL on RomWBW???
;
.Z80
XOR A ; assume not
LD (ISMPCL),A ; save it
; Check for RomWBW (HBIOS)
LD HL,(0FFFEH) ; HL := HBIOS ident location
LD A,'W' ; First byte of ident
CP (HL) ; Compare
JR NZ,NOTMPCL ; Not HBIOS
INC HL ; Next byte of ident
LD A,NOT 'W' ; Second byte of ident
CP (HL) ; Compare
JR NZ,NOTMPCL ; Not HBIOS
;
LD B,0F1H ; HBIOS: VER function
LD C,0 ; required reserved value
RST 08 ; DE := version, L := platform id
LD A,L ; Platform ID
CP 01H ; SBC?
JR NZ,NOTMPCL ; Not SBC
LD A,0FFH ; Flag
LD (ISMPCL),A ; Set flag
;
.8080
;
NOTMPCL:
;
;DISK SURVEY ;DISK SURVEY
LXI H,8 ; Init drive counter LXI H,8 ; Init drive counter
MVI C,24 ; Get login vector MVI C,24 ; Get login vector
@ -445,20 +467,19 @@ MSURV:
ENDM ENDM
DB '|' DB '|'
DW CRLF DW CRLF
db ' ' ; dmb 31-May-82
DB 'T'+EOL
DB 'TT','T'+EOL
LXI H,RAM LXI H,RAM
MVI M,LOW 1023 ; Init RAM counter
MVI M,LOW 2047 ; Init RAM counter
INX H INX H
MVI M,HIGH 1023
MVI M,HIGH 2047
MVI B,4 ; Clear ROM, EMP MVI B,4 ; Clear ROM, EMP
CLREG: CLREG:
INX H INX H
MVI M,0 MVI M,0
DCR B DCR B
JNZ CLREG JNZ CLREG
LXI H,1024 ; Init memory pointer
MVI C,63 ; K to be checked
LXI H,2048 ; Init memory pointer
MVI C,62 ; K to be checked
;Start of analysis loop ;Start of analysis loop
BEGANA: BEGANA:
@ -492,7 +513,7 @@ NOTEM:
INXI ROM INXI ROM
NEXT: NEXT:
INX H ; Index next byte INX H ; Index next byte
DCX D ; Decrement K counter
DCX D ; DEC DE; Decrement K counter
XRA A XRA A
ORA D ORA D
ORA E ORA E
@ -545,8 +566,19 @@ NEXTK:
; contents of first page ; contents of first page
call type call type
db 'BIOS at',' '+eol db 'BIOS at',' '+eol
hexout bios+2
hexout bios+1
;hexout bios+2
;hexout bios+1
.z80
ld hl,(bios+1)
ld de,-3
add hl,de
push hl
ld a,h
call hexprn
pop hl
ld a,l
call hexprn
.8080
call type call type
db tab,'iobyte',' '+eol db tab,'iobyte',' '+eol
hexout bios+3 hexout bios+3
@ -555,8 +587,19 @@ NEXTK:
hexout bios+4 hexout bios+4
call type call type
db tab,'BDOS at',' '+eol db tab,'BDOS at',' '+eol
hexout bdos+2
hexout bdos+1
;hexout bdos+2
;hexout bdos+1
.z80
ld hl,(bdos+1)
ld de,-6
add hl,de
push hl
ld a,h
call hexprn
pop hl
ld a,l
call hexprn
.8080
call type call type
dw crlf,crlfe dw crlf,crlfe
; ;
@ -607,9 +650,6 @@ PDLY:
JNZ PDLY JNZ PDLY
; ;
.Z80 .Z80
; record the active bank
ld a,(0ffe0h) ; get current hbios bank id
ld (BANK),a ; and save it
; Check for Z180 CPU ; Check for Z180 CPU
xor a ; assume Z80 xor a ; assume Z80
ld (IS180),a ; save it ld (IS180),a ; save it
@ -635,6 +675,17 @@ PORTLP:
ENDIF ENDIF
; ;
.Z80 .Z80
;
ld a,(ISMPCL) ; MPCL?
or a ; set flags
jr z,PCONT ; if not, skip ahead
ld a,d ; get port to test
and 0F8H ; range of 8 ports
cp 078H ; starting at 78H
jr z,ISPORT ; if in range, assume real port
;
PCONT:
di ; interrupts off di ; interrupts off
ld a,(IS180) ; Z180? ld a,(IS180) ; Z180?
or a or a
@ -679,11 +730,6 @@ pnum1b equ $-1
push af push af
; ;
rdz: rdz:
; Make sure correct bank is still selected!
push af
ld a,(BANK)
call 0FFF3H
pop af
; ;
ei ; interrupts back on now ei ; interrupts back on now
; ;
@ -818,13 +864,9 @@ RAMF: DS 1 ; RAM good flag
EMPF: DS 1 ; Empty so far flag EMPF: DS 1 ; Empty so far flag
BLKSHF: DS 1 ; block shift factor BLKSHF: DS 1 ; block shift factor
MAXALL: DS 2 ; maximum block number MAXALL: DS 2 ; maximum block number
BANK: DS 1 ; saved HBIOS bank id
IS180: DS 1 ; non-zero for Z180 CPU IS180: DS 1 ; non-zero for Z180 CPU
ISMPCL: DS 1 ; non-zero for N8VEM SBC MPCL
FINIS EQU $ ; End of program FINIS EQU $ ; End of program
;
.DEPHASE
;
IMGEND:
; ;
END END
 

2
Source/HBIOS/cfg_zeta2.asm

@ -28,7 +28,7 @@ BOOT_DELAY .EQU 0 ; FIXED BOOT DELAY IN SECONDS PRIOR TO CONSOLE OUTPUT
; ;
CPUSPDCAP .EQU SPD_FIXED ; CPU SPEED CHANGE CAPABILITY SPD_FIXED|SPD_HILO CPUSPDCAP .EQU SPD_FIXED ; CPU SPEED CHANGE CAPABILITY SPD_FIXED|SPD_HILO
CPUSPDDEF .EQU SPD_HIGH ; CPU SPEED DEFAULT SPD_UNSUP|SPD_HIGH|SPD_LOW CPUSPDDEF .EQU SPD_HIGH ; CPU SPEED DEFAULT SPD_UNSUP|SPD_HIGH|SPD_LOW
CPUOSC .EQU 20000000 ; CPU OSC FREQ IN MHZ
CPUOSC .EQU 8000000 ; CPU OSC FREQ IN MHZ
INTMODE .EQU 2 ; INTERRUPTS: 0=NONE, 1=MODE 1, 2=MODE 2, 3=MODE 3 (Z280) INTMODE .EQU 2 ; INTERRUPTS: 0=NONE, 1=MODE 1, 2=MODE 2, 3=MODE 3 (Z280)
DEFSERCFG .EQU SER_38400_8N1 ; DEFAULT SERIAL LINE CONFIG (SEE STD.ASM) DEFSERCFG .EQU SER_38400_8N1 ; DEFAULT SERIAL LINE CONFIG (SEE STD.ASM)
; ;

2
Source/ver.inc

@ -2,7 +2,7 @@
#DEFINE RMN 2 #DEFINE RMN 2
#DEFINE RUP 1 #DEFINE RUP 1
#DEFINE RTP 0 #DEFINE RTP 0
#DEFINE BIOSVER "3.2.1-dev.0"
#DEFINE BIOSVER "3.2.1-dev.1"
#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 2
rup equ 1 rup equ 1
rtp equ 0 rtp equ 0
biosver macro biosver macro
db "3.2.1-dev.0"
db "3.2.1-dev.1"
endm endm

Loading…
Cancel
Save