mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.9 KiB
62 lines
1.9 KiB
;:::::::::::::::::::::::::::::::::::::::::::::::**********************
|
|
; B/P BIOS Configuration and Equate File. ** System Dependant **
|
|
; - Retro-Brew Processors W/ RomWBW HBIOS - **********************
|
|
; HBIOS specific customizations
|
|
;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
|
; BIOS Configuration Equates and Macros
|
|
;
|
|
; NOTE: Must make sure settings below match hardware and
|
|
; HBIOS configuration.
|
|
;
|
|
HBIOS EQU YES ; Use HBIOS functions
|
|
HBLOC EQU 0FE00H ; Location of HBIOS proxy
|
|
MEMTOP EQU HBLOC - 1 ; Last usable address
|
|
;
|
|
HB_RAMBANKS EQU 16 ; For systems with 512K of RAM
|
|
;HB_RAMBANKS EQU 32 ; For systems with 1MB of RAM
|
|
HB_ROMBANKS EQU 16 ; For systems with 512K of ROM
|
|
;HB_ROMBANKS EQU 32 ; For systems with 1MB of ROM
|
|
;
|
|
; Set HB_IODEV to appropriate console device
|
|
;
|
|
HB_IODEV EQU 0 ; Assume we want to use first HBIOS serial device
|
|
;
|
|
; Set HB_MDDEV to appropriate memory disk driver
|
|
;
|
|
HB_MDRAM EQU 0 ; HBIOS Disk Device #0 is normally RAM Disk
|
|
HB_MDROM EQU 1 ; HBIOS Disk Device #1 is normally ROM Disk
|
|
;
|
|
; Set HB_HDDEV to appropriate hard disk driver
|
|
;
|
|
HB_HDDEV0 EQU 2 ; First hard disk is HBIOS Disk Device #2
|
|
HB_HDDEV1 EQU 3 ; Second hard disk is HBIOS Disk Device #3
|
|
HB_HDDEV2 EQU 4 ; Third hard disk is HBIOS Disk Device #4
|
|
;
|
|
; Floppy disk support
|
|
;
|
|
; TODO: Query HBIOS to see if system has floppy drive(s)
|
|
;
|
|
DRV_O SET NO ; YES if system has flopy drives
|
|
DRV_P SET NO ; YES if system has flopy drives
|
|
;
|
|
; RAM/ROM disk sizes expressed as count of 2K blocks
|
|
;
|
|
HB_RAMBLKS EQU (HB_RAMBANKS - 8) * 16
|
|
HB_ROMBLKS EQU (HB_ROMBANKS - 4) * 16
|
|
;
|
|
; Layout of RAM banks
|
|
;
|
|
BID_RAMD EQU 80H
|
|
BID_RAMM EQU 80H + HB_RAMBANKS - 9
|
|
BID_SYS EQU 80H + HB_RAMBANKS - 4
|
|
BID_HB EQU 80H + HB_RAMBANKS - 3
|
|
BID_USR EQU 80H + HB_RAMBANKS - 2
|
|
BID_COM EQU 80H + HB_RAMBANKS - 1
|
|
;
|
|
HB_EI MACRO
|
|
EI
|
|
ENDM
|
|
HB_DI MACRO
|
|
DI
|
|
ENDM
|
|
|