Commit Graph

88 Commits

Author SHA1 Message Date
Wayne Warthen
72cdbdd4ad Documentation Updates Inspired by Martin R
- Implemented a crude mechanism to output config settings during a build which can be imported into the User Guide appendix.
2023-11-29 18:54:51 -08:00
Wayne Warthen
883dab7e97 ROMless Operation Overhaul
- Implement new approach to ROMless boot and operation.  Still missing the ability to seed the RAM disk.
- Tweaks to CH driver
2023-10-01 17:22:19 -07:00
Wayne Warthen
f8c800e527 Create DSKY Driver Framework
Added a new driver category for DSKY (Display/Keypad) devices.  Existing DSKY devices were converted into drivers ICM and PKD.  These devices were previously DSKY and DSKYNG.

This removes substantial code duplication and recovers significant space in romldr and dbgmon.
2023-06-28 15:06:53 -07:00
Wayne Warthen
5457a7e7fd Improve OS Boot Drive Assignment
- Modified the Disk Device function call (DIODEVICE) to provide new attributes related to disk size and removability.
- Leveraged API change to allow handling drive assignment differently depending on ATAPI vs. ATA interface.
2023-06-20 15:52:34 -07:00
b1ackmai1er
e25107309b SYSCHK changes
Display the error code of syschk enabled
2022-11-06 10:17:28 +08:00
b1ackmai1er
68f00df56d Sanity check fro conflicting port settings
Hi Wayne, is this something you would be interested in? If so I will continue populating

E.g.

DMAENABLE	.SET	TRUE		; DMA: ENABLE DMA DRIVER (DMA.ASM)
DMABASE		.SET	$68		; DMA: DMA BASE ADDRESS
DMAMODE		.SET	DMAMODE_ECB	; DMA: DMA MODE (NONE|ECB|Z180|Z280|RC|MBC
.....
SYSTEM TIMER: NONE
HBIOS INT STACK space: 54 bytes.
HBIOS TEMP STACK space: 20 bytes.
DSRTC occupies 697 bytes.
UART occupies 791 bytes.
VDU occupies 908 bytes.
DMA occupies 303 bytes.
FONTS occupy 0 bytes.
PPK occupies 1192 bytes.
MD occupies 5545 bytes.
FD occupies 2381 bytes.
RF occupies 378 bytes.
PPIDE occupies 1703 bytes.
TERM occupies 2078 bytes.
SPK occupies 714 bytes.
RTCDEF=40
WARNING : DEVICE PORT CONFLICT : UARTSBC 104-111:104-105
2021-10-23 23:07:47 +08:00
b1ackmai1er
bf9361b26b Revert 2021-10-22 21:45:14 +08:00
b1ackmai1er
be1fb0836f dma updates 2021-10-21 23:14:35 +08:00
Wayne Warthen
c08692eae9 Update md.asm
Fixes a syntax error in TASM.
2021-10-02 17:11:00 -07:00
Wayne Warthen
2384f4ef1a Fix macro in md.asm
- A macro in md.asm was being mishandled by uz80as (not by TASM).  Adjusted syntax for compatibility.
2021-10-02 14:32:49 -07:00
b1ackmai1er
cfb146242d Update md.asm
Table size off by one. Fix endien confusion for flash id byte
2021-10-02 01:34:58 +08:00
b1ackmai1er
39c4cfc563 Update md.asm 2021-09-29 22:39:28 +08:00
b1ackmai1er
abee120b4e reorganize test applications. Improve dmamon
linux build to be fixed yet
2021-09-26 14:58:15 +08:00
b1ackmai1er
366293906e Update md.asm 2021-09-21 23:23:25 +08:00
b1ackmai1er
5611608f91 remove assembly time memory constraints 2021-09-18 16:58:07 +08:00
b1ackmai1er
2c633d2d13 remove assembly time memory constraints 2021-09-18 11:53:06 +08:00
b1ackmai1er
fc2a6929bc minors 2021-09-18 09:10:02 +08:00
b1ackmai1er
da882d26a5 DMA fall-back mode for md.asm driver 2021-08-01 22:45:50 +08:00
Wayne Warthen
e60bf088c9 DSKY Disk Activity Cleanup
- The DSKY(ng) can display disk I/O activity as the system runs.  This capability was implemented very erratically.  This update overhauls the mechanism, makes it consistent, and implements it across all disk drivers.
2021-07-13 17:11:35 -07:00
b1ackmai1er
0ebfebe8d1 DMA updates
Add hardware probe at initialization and status checks after DMA transfers
2021-07-09 14:57:35 +08:00
b1ackmai1er
ef71aa7460 Initial ecb-dma support 2021-07-02 15:30:56 +08:00
Wayne Warthen
1945c0f52d CBIOS default drive assignment cleanup
Improved the way that the default drive is assigned in the scenario where you are booting to a ROM-based OS.  This should allow removal of either the RAM drive or the ROM drive without causing unexpected consequences.
2021-03-20 11:55:12 -07:00
Wayne Warthen
0053a840b7 Support ZZRCC 2021-03-07 16:21:49 -08:00
b1ackmai1er
e21fa6477e Update md.asm
Move code space check into flashlib
2021-01-18 02:08:01 +08:00
b1ackmai1er
0d7a2c3c20 md.asm flash updates
Flash relocating routine now only copies  what is required rather than full 64 bytes every time.
2021-01-16 15:02:36 +08:00
b1ackmai1er
80439d1ec0 Extract flash routines to common library between md.asm and updater,asm 2021-01-15 21:19:19 +08:00
b1ackmai1er
c12316f5b4 md,asm cleanup af/af' push/pops 2021-01-15 20:50:14 +08:00
Wayne Warthen
2987c4950e Update md.asm
Preserve AF across calls to BNKSEL in Flash Filesystem.
2021-01-10 11:21:39 -08:00
b1ackmai1er
4c52a0dc41 Update md.asm
Remove cache'ng of flash routine . didn't work hxb_buf must be getting trashed by other processes.
2020-12-30 21:59:10 +08:00
b1ackmai1er
4a9fcbc4af Support System Update process for systems with 39SF040 flash chips
Generate an update file.
Updated docs.
md.asm minors
Update compression application
2020-12-30 21:51:48 +08:00
b1ackmai1er
4ecbb98b17 Update md.asm
minor
2020-12-27 11:56:44 +08:00
b1ackmai1er
0de99d2436 Update md.asm
cleanup
2020-12-27 11:48:45 +08:00
b1ackmai1er
32c1071265 Update md.asm
Sstack use optimization
2020-12-27 11:39:47 +08:00
b1ackmai1er
822f433005 Update md.asm
stack use cleanup
2020-12-27 11:27:51 +08:00
b1ackmai1er
7ee5a68880 Update md.asm
cleanup
2020-12-27 11:06:49 +08:00
b1ackmai1er
83e102a043 Update md.asm
Calculate bank and sector only when needed
2020-12-27 10:52:25 +08:00
b1ackmai1er
a6ebdca958 Update md.asm 2020-12-26 16:58:22 +08:00
b1ackmai1er
dc302afece Update md.asm
Further optimization of loops utilizing alternate register AF'
2020-12-26 10:32:06 +08:00
b1ackmai1er
5b8bfd26cd Update md.asm
Further optimization of loops utilizing alternate register AF'
2020-12-26 01:38:21 +08:00
b1ackmai1er
dae73fafae Update md.asm
Optimizations
2020-12-24 18:34:59 +08:00
b1ackmai1er
eaa4ceaa38 Update md.asm
Simplify stack setup for relocatable code
2020-12-24 14:24:56 +08:00
Wayne Warthen
99ecb0b22b Update md.asm
- Fix typo
- Propagate flash write fix to flash erase routine
2020-12-23 11:33:37 -08:00
b1ackmai1er
f2c3e51ef4 Update md.asm
minors
2020-12-23 22:16:42 +08:00
b1ackmai1er
7c67fc18c8 Update md.asm
Restructure local stack setup for relocatable flash routines.
2020-12-23 22:04:18 +08:00
b1ackmai1er
608dc61e24 Add verify after write as default 2020-12-23 19:17:47 +08:00
Wayne Warthen
9e29236a0c Small Fixes
- Properly rerport HBIOS heap overflow in CBIOS
- Adjust write sequence in FFS for high speed operation
2020-12-22 16:41:29 -08:00
b1ackmai1er
86fceb962b Update md.asm
With  flash file system enabled and verbose enabled, boot message will display if file system is enabled or disabled.
2020-12-22 20:34:16 +08:00
b1ackmai1er
ef82f9ef71 Update md.asm
update code comments after inlining
2020-12-16 22:53:34 +08:00
b1ackmai1er
e415afa5d0 Update md.asm
cleanup after inlining
2020-12-16 22:26:35 +08:00
b1ackmai1er
cc970afc30 Update md.asm
inline calls to flash code
2020-12-16 22:11:57 +08:00