Commit Graph

79 Commits

Author SHA1 Message Date
Wayne Warthen
816234f0fa More Cleanup 2023-02-17 18:07:44 -08:00
Wayne Warthen
c157d52c1d More Cleanup
This check-in includes some refactoring of the configuration files.
2023-02-12 19:26:23 -08:00
Wayne Warthen
2271c086b5 Minor IDE/CF/SD Disk Handling Updates
As suggested by Laszlo Szolnoki, I have added an additional CF Card signature to the IDE and PPIDE drivers.  He also pointed out a deficiency in the disk size printing which has been addressed.
2023-01-04 16:24:31 -08:00
Wayne Warthen
c0721a3f85 Make VGM Names Lowercase (part 1) 2022-12-29 10:05:58 -08:00
Wayne Warthen
73b0a3d941 User Defined SD Interface
Integrated code from Lanea to allow for an easy way to define a custom SD Card interface.  CSMODE_USR is not yet complete or tested!
2022-12-10 16:58:37 -08:00
b1ackmai1er
590dcd0b4f SYSCHK driver syncing 2022-11-06 10:46:46 +08:00
Wayne Warthen
891893c0e5 Fix DSD Driver
- Dual SD support in sd.asm was broken for two cards when the SC126 dual SD card support was added.  This should fix all scenarios.
2021-11-09 20:25:38 -08:00
Wayne Warthen
4f941de39c Miscellaneous
- Improve handling of RTC latch shadow
- Hardware auto-detect on DSKY and DSKYNG
- Regen documentation
2021-08-26 15:24:59 -07:00
Wayne Warthen
182e60e700 Fix SPI I/O Contention
Alan's emulator found an issue where the RTC code could contend with the I2C/SPI signals on SC126.
2021-07-22 11:20:34 -07: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
Wayne Warthen
d4a542150b DSKYng Support
- DSKYng now has same features as original DSKY including debug monitor
- Added support for MBS LEDs
- Elevated MBS to a platform instead of just a sub-config of SBC
2021-07-08 12:03:32 -07:00
Wayne Warthen
099a9331bf Miscellaneous
- Fixed Linux/MacOS build
- Fixed error reporting in some disk drivers
2021-05-12 18:01:44 -07:00
Wayne Warthen
12fea8a1d0 Fixes for MT011 in SD driver
Credit to Douglas Miller for these.
2021-05-02 18:02:07 -07:00
Wayne Warthen
c4a0548e76 Miscellaneous Fixes
- SDCNT was not properly implemented in all cases
- ParPortProp debug formatting fix
2021-04-27 14:35:00 -07:00
Wayne Warthen
518ddd9f46 Update ZZR Monitor 2021-04-16 14:02:21 -07:00
Wayne Warthen
4cbe3212a5 Allow swapping MT011 SPI ports
- Config variable SDMTSWAP will swap the logical order of the SPI ports of MT011
- Updated COPY.COM from v1.72 -> v1.73
2021-04-11 16:39:53 -07:00
Wayne Warthen
a3a60fca98 Regenerate Documentation 2021-01-15 15:19:27 -08:00
Wayne Warthen
e4cdc3d167 More SD Card Compatibility Changes
Based on a logic analyzer trace from Andy Cooper, it appears that some SD cards want the unused CRC byte of the command packet to be 0xFF instead of the 0x00 filler I was using.  Changed to put 0xFF in the CRC byte when unused.
2021-01-10 10:18:30 -08:00
Wayne Warthen
430bbd2ccf Another SD Card Driver Tweak 2021-01-09 17:13:49 -08:00
Wayne Warthen
49de66fb85 SD Card Driver Compatibility Improvement
Handle SD Cards that do not support ACMD41 by using CMD1 instead.
2021-01-09 10:39:29 -08:00
Wayne Warthen
af2639ef42 Enhance CSIO handling in sd.asm
Enhance CSIO to play nice(r) with other users of Z180 CSIO by restoring the CSIO speed to default upon function return.
2020-12-26 17:36:33 -08:00
Wayne Warthen
a2c2ed0aef Global Initialization of Z180 CSIO
Initialize CSIO speed at system startup.  A constant called Z180_CNTR_DEF has been created to hold the default value.  This value can be used by drivers to restore the default value after modification.
2020-12-26 11:58:31 -08:00
Wayne Warthen
890119db3c Update sd.asm
Fix for Issue #170.  Correct use of OUT to OUT0 during CSIO speed change.   Credit to Douglas Miller for finding this bug.

Co-Authored-By: Douglas Miller <16920069+durgadas311@users.noreply.github.com>
2020-12-26 10:46:29 -08:00
Wayne Warthen
9857dda5b5 Finish DEVICE API extension 2020-05-27 16:44:52 -07:00
Wayne Warthen
3f46921c6c Change PANIC behavior a bit
- Also includes a fix for a build issue in PPIDE identified by Richard Deane.
2020-05-18 15:33:28 -07:00
Wayne Warthen
a457e797ee Update sd.asm
Significantly improve compatibility of SD Cards w/ Z180 -K CPU.
2020-05-02 13:00:15 -07:00
Wayne Warthen
eeab786848 Update sd.asm
Optimize SD Card protocol timing delay for CSIO interface.
2020-05-01 17:30:12 -07:00
Wayne Warthen
8ad2bdbb29 SIO driver now CTC aware
The SIO driver can now use a CTC (if available) to provide much more flexible baud rate programming.
2020-04-17 11:25:28 -07:00
Wayne Warthen
e84a1bc3ea ROMLDR Improvements
.com files can now be started from CP/M and size of .com files has been reduced so they always fit.
2020-04-11 13:32:55 -07:00
Wayne Warthen
f4daaa91a4 Add RC2014 UART, Improve SD protocol fix
- RC2014 and related platforms will autodetect a UART at 0xA0 and 0xA8
- Ensure that CS fully brackets all SD I/O
2020-04-09 11:49:09 -07:00
Wayne Warthen
5c3f75d504 Update sd.asm
For Z180 CSIO, ensure that xmit is finished, before asserting CS for next transaction.
2020-04-08 19:09:04 -07:00
Phillip Stevens
4eeba4e48b HBIOS - clean up TMPSTK 2020-03-03 18:53:59 +11:00
Wayne Warthen
0fb8a2d2ff Update sd.asm
Back out hack for uz80as now that Curt fixed it.
2020-02-27 14:45:58 -08:00
Wayne Warthen
b951a844ca Misc. Cleanup 2020-02-25 15:04:04 -08:00
Wayne Warthen
d139b592ed Update sd.asm
Cosmetic fix.
2020-02-20 18:36:28 -08:00
Phillip Stevens
3d7e3cae6f more tabs 2020-01-07 19:45:54 +11:00
Phillip Stevens
f3d059d4d7 fix more tabs 2020-01-07 19:37:27 +11:00
Phillip Stevens
34540fff54 fix tabs 2020-01-07 19:36:06 +11:00
Phillip Stevens
57f54b325c HBIOS - sd.asm efficient byte mirror 2020-01-07 19:31:34 +11:00
Wayne Warthen
019ae62c2a Update sd.asm
Refinements to sd.asm for RC2014 WizNet Module (SDMODE_MT).
2019-10-26 16:51:42 -07:00
Wayne Warthen
7290a52cf7 Update sd.asm
MT011 updates
2019-10-21 12:48:46 -07:00
Wayne Warthen
45b27c34ed SDMODE_MT Updates 2019-10-18 16:13:57 -07:00
Wayne Warthen
2d2cb3d8ea Shift Register SPI WIZNET for RC2014 2019-10-17 16:18:40 -07:00
Wayne Warthen
bd2fc6dbfe Support Secondary SPI on SC126 2019-10-09 15:37:21 -07:00
Wayne Warthen
57dabc1ab5 Finalize SCZ180 Configurations 2019-10-02 08:45:11 -07:00
Wayne Warthen
b856a1a529 Disk I/O to/from Banked Memory
Supports double-buffered disk i/o to read/write to/from any memory bank specified.

NOTE:  Disk I/O will be temporarily slower than normal because all I/O is being forced thru double-buffering for testing.
2019-09-03 15:12:56 -07:00
Wayne Warthen
b8930bd10a Cleanup 2019-08-29 12:36:54 -07:00
Wayne Warthen
522b72d9df Configuration Files Cleanup 2019-08-15 18:10:07 -07:00
Wayne Warthen
09044d1959 Add SC126 Platform 2019-08-11 18:39:03 -07:00
Wayne Warthen
dcc1bd8cb7 Improved SD Error Messaging
Convert SD error to NO MEDIA when initial command fails.
2019-07-16 15:31:45 -07:00