mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
BPBIOS Updates
This commit is contained in:
@@ -75,7 +75,7 @@ should be consulted to understand these. The build process used here
|
||||
produces several different configurations which can be loaded at runtime.
|
||||
The original distributed memory segment configuration occupies the top
|
||||
of memory which, unfortunately, conflicts with the RomWBW HBIOS need to
|
||||
occupt this space.
|
||||
occupy this space.
|
||||
|
||||
Although RomWBW HBIOS is implemented in it's own dedicated memory bank, it
|
||||
requires a small proxy at the top of memory which acts as a mechansim to
|
||||
|
||||
@@ -194,6 +194,9 @@ HBX_ROM:
|
||||
|
||||
IF MK4
|
||||
RLCA
|
||||
JR NC,HBX_BNKSEL1
|
||||
XOR 00100001B
|
||||
HBX_BNKSEL1:
|
||||
RLCA
|
||||
RLCA
|
||||
OUT0 (CPU_BBR),A
|
||||
|
||||
@@ -26,15 +26,15 @@ HBCLK EQU YES ; HBIOS clock driver
|
||||
;
|
||||
; Set HB_IODEV to appropriate console device
|
||||
;
|
||||
HB_IODEV EQU 0
|
||||
HB_IODEV EQU 0 ; Assume we want to use first HBIOS serial device
|
||||
;
|
||||
; Set HB_HDDEV to appropriate hard disk driver
|
||||
;
|
||||
HB_HDDEV EQU 2
|
||||
HB_HDDEV EQU 2 ; Assumes disk device #2 is first hard disk device
|
||||
;
|
||||
; Set HB_MDDEV to appropriate memory disk driver
|
||||
;
|
||||
HB_MDDEV EQU 0
|
||||
HB_MDDEV EQU 0 ; Assumes disk device #0 is ROM disk device
|
||||
;
|
||||
; RAM/ROM disk sizes expressed as count of 2K blocks
|
||||
;
|
||||
@@ -66,3 +66,17 @@ MEMTOP EQU 0FFE0H - 1 ; Start of HBIOS 32 byte control block
|
||||
ELSE
|
||||
MEMTOP EQU HBLOC - 1 ; Start of HBIOS 512 byte proxy
|
||||
ENDIF
|
||||
|
||||
IF INTPXY
|
||||
HB_EI MACRO
|
||||
ENDM
|
||||
HB_DI MACRO
|
||||
ENDM
|
||||
ELSE
|
||||
HB_EI MACRO
|
||||
EI
|
||||
ENDM
|
||||
HB_DI MACRO
|
||||
DI
|
||||
ENDM
|
||||
ENDIF
|
||||
|
||||
@@ -26,15 +26,15 @@ HBCLK EQU YES ; HBIOS clock driver
|
||||
;
|
||||
; Set HB_IODEV to appropriate console device
|
||||
;
|
||||
HB_IODEV EQU 0
|
||||
HB_IODEV EQU 0 ; Assume we want to use first HBIOS serial device
|
||||
;
|
||||
; Set HB_HDDEV to appropriate hard disk driver
|
||||
;
|
||||
HB_HDDEV EQU 2
|
||||
HB_HDDEV EQU 2 ; Assumes disk device #2 is first hard disk device
|
||||
;
|
||||
; Set HB_MDDEV to appropriate memory disk driver
|
||||
;
|
||||
HB_MDDEV EQU 0
|
||||
HB_MDDEV EQU 0 ; Assumes disk device #0 is ROM disk device
|
||||
;
|
||||
; RAM/ROM disk sizes expressed as count of 2K blocks
|
||||
;
|
||||
@@ -66,3 +66,17 @@ MEMTOP EQU 0FFE0H - 1 ; Start of HBIOS 32 byte control block
|
||||
ELSE
|
||||
MEMTOP EQU HBLOC - 1 ; Start of HBIOS 512 byte proxy
|
||||
ENDIF
|
||||
|
||||
IF INTPXY
|
||||
HB_EI MACRO
|
||||
ENDM
|
||||
HB_DI MACRO
|
||||
ENDM
|
||||
ELSE
|
||||
HB_EI MACRO
|
||||
EI
|
||||
ENDM
|
||||
HB_DI MACRO
|
||||
DI
|
||||
ENDM
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user