-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add missing config file for K80W - Add K80W to documentation
- Loading branch information
Showing
9 changed files
with
124 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
**RomWBW ReadMe** \ | ||
Version 3.5 \ | ||
Wayne Warthen ([[email protected]](mailto:[email protected])) \ | ||
22 Dec 2024 | ||
31 Dec 2024 | ||
|
||
# Overview | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
RomWBW ReadMe | ||
Wayne Warthen ([email protected]) | ||
22 Dec 2024 | ||
31 Dec 2024 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
; | ||
;================================================================================================== | ||
; ROMWBW DEFAULT BUILD SETTINGS FOR RCBUS Z80 K80W | ||
;================================================================================================== | ||
; | ||
; THIS FILE DEFINES THE DEFAULT CONFIGURATION SETTINGS FOR THE PLATFORM | ||
; INDICATED ABOVE. THESE SETTINGS DEFINE THE OFFICIAL BUILD FOR THIS | ||
; PLATFORM AS DISTRIBUTED IN ROMWBW RELEASES. | ||
; | ||
; ROMWBW USES CASCADING CONFIGURATION FILES AS INDICATED BELOW: | ||
; | ||
; cfg_MASTER.asm - MASTER: CONFIGURATION FILE DEFINES ALL POSSIBLE ROMWBW SETTINGS | ||
; | | ||
; +-> cfg_<platform>.asm - PLATFORM: DEFAULT SETTINGS FOR SPECIFIC PLATFORM | ||
; | | ||
; +-> Config/<plt>_std.asm - BUILD: SETTINGS FOR EACH OFFICIAL DIST BUILD | ||
; | | ||
; +-> Config/<plt>_<cust>.asm - USER: CUSTOM USER BUILD SETTINGS | ||
; | ||
; THE TOP (MASTER CONFIGURATION) FILE DEFINES ALL POSSIBLE ROMWBW | ||
; CONFIGURATION SETTINGS. EACH FILE BELOW THE MASTER CONFIGURATION FILE | ||
; INHERITS THE CUMULATIVE SETTINGS OF THE FILES ABOVE IT AND MAY | ||
; OVERRIDE THESE SETTINGS AS DESIRED. | ||
; | ||
; OTHER THAN THE TOP MASTER FILE, EACH FILE MUST "#INCLUDE" ITS PARENT | ||
; FILE (SEE #INCLUDE STATEMENT BELOW). THE TOP TWO FILES SHOULD NOT BE | ||
; MODIFIED. | ||
; | ||
; TO CUSTOMIZE YOUR BUILD SETTINGS YOU SHOULD MODIFY THIS FILE, THE | ||
; DEFAULT BUILD SETTINGS (Config/<platform>_std.asm) OR PREFERABLY | ||
; CREATE AN OPTIONAL CUSTOM USER SETTINGS FILE THAT INCLUDES THE DEFAULT | ||
; BUILD SETTINGS FILE (SEE EXAMPLE Config/SBC_user.asm). | ||
; | ||
; BY CREATING A CUSTOM USER SETTINGS FILE, YOU ARE LESS LIKELY TO BE | ||
; IMPACTED BY FUTURE CHANGES BECAUSE YOU WILL BE INHERITING MOST | ||
; OF YOUR SETTINGS WHICH WILL BE UPDATED BY AUTHORS AS ROMWBW EVOLVES. | ||
; | ||
; PLEASE REFER TO THE CUSTOM BUILD INSTRUCTIONS (README.TXT) IN THE | ||
; SOURCE DIRECTORY (TWO DIRECTORIES ABOVE THIS ONE). | ||
; | ||
; *** WARNING: ASIDE FROM THE MASTER CONFIGURATION FILE, YOU MUST USE | ||
; ".SET" TO OVERRIDE SETTINGS. THE ASSEMBLER WILL ERROR IF YOU ATTEMPT | ||
; TO USE ".EQU" BECAUSE IT WON'T LET YOU REDEFINE A SETTING WITH ".EQU". | ||
; | ||
#DEFINE BOOT_DEFAULT "H" ; DEFAULT BOOT LOADER CMD FOR EMPTY CMD LINE | ||
#DEFINE AUTO_CMD "" ; AUTO CMD WHEN BOOT_TIMEOUT IS ENABLED | ||
; | ||
#INCLUDE "Config/RCZ80_std.asm" | ||
; | ||
INTMODE .SET 2 ; INTERRUPTS: 0=NONE, 1=MODE 1, 2=MODE 2, 3=MODE 3 (Z280) | ||
; | ||
CPUOSC .SET 22000000 ; CPU OSC FREQ IN MHZ | ||
; | ||
KIOENABLE .SET TRUE ; ENABLE ZILOG KIO SUPPORT | ||
; | ||
DSRTCMODE .SET DSRTCMODE_K80W ; DSRTC: OPERATING MODE: DSRTCMODE_[STD|MFPIC|K80W] | ||
; | ||
AUTOCON .SET FALSE ; ENABLE CONSOLE TAKEOVER AT LOADER PROMPT | ||
; | ||
CTCENABLE .SET TRUE ; ENABLE ZILOG CTC SUPPORT | ||
CTCBASE .SET KIOBASE+$04 ; CTC BASE I/O ADDRESS | ||
CTCTIMER .SET TRUE ; ENABLE CTC PERIODIC TIMER | ||
; | ||
ACIAENABLE .SET FALSE ; ACIA: ENABLE MOTOROLA 6850 ACIA DRIVER (ACIA.ASM) | ||
; | ||
SIOCNT .SET 1 ; SIO: NUMBER OF CHIPS TO DETECT (1-2), 2 CHANNELS PER CHIP | ||
SIO0MODE .SET SIOMODE_STD ; SIO 0: CHIP TYPE: SIOMODE_[STD|RC|SMB|ZP|Z80R] | ||
SIO0BASE .SET KIOBASE+$08 ; SIO 0: REGISTERS BASE ADR | ||
SIO0ACLK .SET 1843200 ; SIO 0A: OSC FREQ IN HZ, ZP=2457600/4915200, RC/SMB=7372800 | ||
SIO0ACTCC .SET 0 ; SIO 0A: CTC CHANNEL 0=A, 1=B, 2=C, 3=D, -1 FOR NONE | ||
SIO0BCLK .SET 1843200 ; SIO 0B: OSC FREQ IN HZ, ZP=2457600/4915200, RC/SMB=7372800 | ||
SIO0BCTCC .SET 1 ; SIO 0B: CTC CHANNEL 0=A, 1=B, 2=C, 3=D, -1 FOR NONE | ||
; | ||
SDENABLE .SET TRUE ; SD: ENABLE SD CARD DISK DRIVER (SD.ASM) | ||
SDMODE .SET SDMODE_K80W ; SD: DRIVER MODE: SDMODE_[JUHA|N8|CSIO|PPI|UART|DSD|MK4|SC|MT|USR|PIO|Z80R|EPITX|FZ80|GM|EZ512|K80W] | ||
SDCNT .SET 1 ; SD: NUMBER OF SD CARD DEVICES (1-2), FOR DSD/SC/MT ONLY |