https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=116985 https://archive.is/oQufD
They use ct486.zip bios
I had best results regarding sound with at386 (less crackling on eye of the beholder II's music) despite the "non-working" warning at the beginning https://poal.co/static/images/YIyxIl.png
https://poal.co/static/images/sFOU1R.png
https://poal.co/static/images/qlxQSa.png
https://poal.co/static/images/xs3aEm.png
https://poal.co/static/images/3qLf8R.png
https://poal.co/static/images/GctIVD.png
https://poal.co/static/images/7nbAtz.png
https://poal.co/static/images/mMH9hq.png
>mame -rompath /path/to/bios/at386.zip at386 -ram 16M -isa1 svga_dm -isa2 sblaster_16 -hard1 /path/to/your/game.chd
Game's save states work in read/write
Edit:
And I'll just leave my tech notes here for whoever wants to toy with this...
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
To create a 42.8MB CHD file named hdd.chd chdman createhd -c none -o hdd.chd -chs 820,6,17
To create a 128MB (134.2MB) CHD file named hdd.chd chdman createhd -c none -o hdd.chd -chs 1024,16,16
https://stason.org/TULARC/pc/hard-drives-hdd/seagate/ST9144A-128MB-2-5-SSL-IDE-AT.html
Hard Drive: SEAGATE: ST9144A 128MB 2.5"/SSL IDE / AT
chdman createhd -c none -o hdd.chd -chs 980,15,17
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
To create a 500MB CHD file named hdd.chd in chdman, type the following command: chdman createblankhd hdd.chd 1015 16 63
To create a 20MB CHD file named hdd.chd chdman createhd -o hdd.chd -chs 615,4,17 // probably misleading, see below chdman extracthd -i hdd.chd -o hdd.raw // probably misleading, see below chdman extractraw -i hdd.chd -o hdd.raw // probably misleading, see below chdman createhd -c none -i hdd.raw -o hdd.chd // probably misleading, see below
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
https://www.linux.com/news/how-modify-raw-disk-image-your-custom-linux-distro/
fdisk -l hdd.raw
Disk hdd.raw: 40,86 MiB, 42823680 bytes, 83640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type hdd.raw1 * 17 83435 83419 40,7M 6 FAT16
This gives you crucial information as to where a mountable partition is located. First, it says that each sector is 512 bytes long (Sector size (logical/physical): 512 bytes / 512 bytes ), then that there’s a mountable partition that starts on sector 2048 (hdd.raw1 * 17 83435 83419 40,7M 6 FAT16)
If you want to mount the partition, you’ll have pass that information along:
sudo mount -o loop,offset=8704 hdd.raw ./mount/
The offset options tells mount where the partition you actually want to mount is. Because 512 (sector size) multiplied by 17 (sector where partition starts) equals 8704, that’s what you pass on to offset.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
https://gist.github.com/samtingleff/262307#file-creating-a-large-freedos-boot-disk-L30
https://ubuntuforums.org/showthread.php?t=1227830&page=3
Wipe free space on disk
sudo sfill -f -l -l -z ./mount/
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=86865&page=4 apple /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// INSTALL FREEDOS https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=116985 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
get Freedos from https://www.freedos.org/download/ (use the boot floppy from FD12FLOPPY.ZIP, unpack the floppy image. This installer expects you to download the CD image as well for a full install, but you can use just the boot floppy for a basic install.
Then open a command line window and move to your MAME directory.
Create a CHD file with
Code chdman createhd -c none -o 820-6-17_harddisk.chd -chs 820,6,17
I've used the track/head/sector values from a Seagate ST 251. You should see CHDMAN create the harddisk file.
Open MAME with the ct486 driver. This is handy as its BIOS can autotype the harddisk, and you can assign a nice amount of RAM:
Code mess64 ct486 -window -ramsize 16M
TAB into MAME's file manager and attach the FreeDOS floppy image to the first floppy drive and the harddisk image to the harddisk slot. RESET!!!
On the next boot, enter the emulated PC's BIOS, choose "Auto detect hard disk", your CHD file should be picked up, the second harddisk should be empty. Then enter the standard CMOS settings, set both floppy drives for 1.44MB, exit to the main BIOS menu and enter Advanced CMOS settings.
Set "System boot up sequence" to "A:, C:"
Exit to the main BIOS menu, select "Write to CMOS and exit" and reboot the emulated computer.
It will boot from the Freedos disk - ignore the error message, your harddisk image is completely blank.
Select your preferred language, then exit the installer to DOS. Issue "FDISK"
Depending on the size of your disk, select FAT32 support, create a DOS primary partition, set it active and exit FDISK, then REBOOT!!!
The disk will take you through the language selection again, exit the installer, then issue "FORMAT C: /S" and confirm with "YES".
After formatting the hard disk image, issue "MD C:\DOS" and "COPY FDSETUP\BIN*.* C:\DOS"
This will copy a base system onto your harddisk.
TAB into MAME's menu, select file manager and empty the Floppy slot. Reboot, and FreeDOS starts from harddisk.
This should get you going.
(post is archived)