Commit Graph

95 Commits

Author SHA1 Message Date
Wayne Warthen
6c95a4285a Xosera Follow-up
- Change 0x prefixes to $ prefixes for TASM
- Regen documentation
2025-06-02 13:31:09 -07:00
Wayne Warthen
2f5cf8fce4 Add Bounds Check to md.asm, Issue #560
Added checks to prevent HBIOS API read/write calls from access RAM or ROM banks outside of the banks allocated for RAM/ROM disk.
2025-05-31 17:25:44 -07:00
Mark Pruden
8d8868e5d5 Changed the Attribute for MD RF devices reordering/fliping (RF<->Flash) so bit masks are easier 2024-12-18 18:12:38 +11:00
drj113
673f4358b2 Rectified GM configuration to support current hbios.asm
Re-added commented out code in the various disk drivers now that I am using the correct hbios.asm file
2024-09-04 11:16:45 +10:00
drj113
34e472a553 Initial Commit for Genesis Modules boards
Supports GM STD Z180 and GM IDE Disk Controller
2024-09-04 10:13:05 +10:00
Wayne Warthen
2b6fbe7c58 HD44780 LCD Support 2024-08-27 15:34:44 -07:00
Wayne Warthen
3f63c92fd5 HBIOS Cleaning
- Rearranged HBIOS code to improve colocation of related code.
- Implemented macros to improve control over assembly diagnostic output.
- Improved handling of diagnostic LEDs.
- Improved application boot bank management.
- Implemented application boot for Z280 systems.
- Moved Z280_BNKSEL into proxy.
-
2024-04-30 14:18:59 -07:00
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