1
0
mirror of synced 2026-01-12 00:02:46 +00:00
Matthieu Bucchianeri fe8385da08
Many fixes and improvements to the BIOS Extension ROM. (#33)
* Revert "Uploaded_2_9_2025"

This reverts commit ec79bbdbc9052617461a3c1b4952290a05a51adb.

* Fixing DEBUG_IO builds.

* Make the IO port base a define.

* Fix CPU test to properly handle 808x vs V20.

* Improve timeout management logic.

* Improve SD Card initialization logic.

* Implement INT18h bootstrapping.

* Implementing a different test for processor type.

* Allow use with another fixed drive (eg: ESDI drive).

* Allow swapping driver ID between the BIOS disk and XTMax.

* Fix address of the ROM segment.

* Fixing missing STI at the top of the handler.

* Major rework of IO to use MOVSW.

* More code reorg and auto-detecting second drive.

* Update XTSD to use MOVSW.

* Add diagnostics program.

* Workaround for MS-DOS strange handling of interrupts.

* Use a lookup table for the memory map.

* Make the BootROM relocatable.

* Some more refactor of the Teensy code.
2025-02-17 15:11:37 -08:00
..

SD card driver for XTMax

This driver is based on SDPP cloned from https://github.com/nilseuropa/sdpp.

The original driver is made available under the GNU General Public License version 2.  It incorporates
modified code from ELM Chan Fat FS (http://elm-chan.org/fsw/ff/00index_e.html).

Usage:

In your config.sys file

DEVICE=SD.SYS /d /p=<partition #>

Loads and installs the SD card driver.

/d = debugging mode (displays copious debugging messsages)
/p = partition number (1-4) to partition in MBR to use.  Default: first available.

For best results, format your SD card with a FAT16 partition which is less than 32 MB in size.
NOTE:  Many versions of DOS don't know how to handle FAT32, and many can't have FAT16 with a 
partition size greater than 32 MB.  Therefore, if you want to play with this, make your parition on
the card FAT16 and less than 32 MB.  This assures the best compatibility.  You can have multiple copies of the 
driver loaded if there are multiple partitions on your SD card you want to use simultaneously.