MAMEWorld Central >> EmuChat
View all threads Index   Flat Mode Flat  

rfka01
MAME Fan
Reged: 04/03/16
Posts: 8
Send PM
Re: MESS: PC and hard disk
01/28/17 12:10 PM


I'll use the IBM XT (ibm5160 driver) as a reference ...
You should have some floppy boot disk images ready that contain the relevant DOS tools (FDISK and FORMAT).
You will also need to have the MAME tools compiled, specifically CHDMAN.
Then create a 20MB HD image called "test.chd" (or whatever) using

Code:


chdman createhd -o test.chd -chd 615,4,17


The newly created HD image is equivalent to mounting a Seagate ST225 MFM harddisk in your physical PC.
start your emulation with

Code:

mess64 ibm5160 


(Your executable could also be called mame64 or a 32 bit variant, but you already have floppy loading running, so you know what to use)
Then SCRLCK-TAB into the internal menu, go to file manager and load test.chd in the hard disk controller, your bootable DOS installation disk in the floppy drive and reset the emulation.
The emulated PC-XT should boot from the floppy. Then you can use FDISK to create a partition, reboot and format it with "FORMAT c: /s".
Once that is done remember to remove your floppy disk image from the drive and reset - voila!
The harddisk can be specified from the command line:

Code:

mess64 ibm5160 -hard1 test.chd


but you might have to add the path to the harddisk file (for test purposes this was just created in the same directory where the MAME executable resides).
If you are using a different machine than IBM XT / ibm5160 you might find that you have to add a hard disk controller in one of the ISA slots (SCRLCK-TAB, Slots) or that the machine still has some quirks. Please tell us about your experiences!







Entire thread
Subject Posted by Posted on
* MESS: PC and hard disk Nightvoice 01/27/17 11:16 AM
. * Re: MESS: PC and hard disk rfka01  01/28/17 12:10 PM
. * Re: MESS: PC and hard disk BIOS-D  01/28/17 02:54 PM
. * Re: MESS: PC and hard disk Nightvoice  01/30/17 12:58 PM
. * Re: MESS: PC and hard disk BIOS-D  01/31/17 04:40 AM
. * Re: MESS: PC and hard disk Nightvoice  02/07/17 04:55 AM
. * Re: MESS: PC and hard disk rfka01  02/07/17 07:25 PM
. * Re: MESS: PC and hard disk Nightvoice  02/08/17 04:30 AM
. * Re: MESS: PC and hard disk BIOS-D  02/08/17 04:57 PM
. * Re: MESS: PC and hard disk lharms  02/09/17 06:26 AM
. * Re: MESS: PC and hard disk Nightvoice  02/09/17 09:18 AM
. * Re: MESS: PC and hard disk lharms  02/09/17 09:47 PM
. * Re: MESS: PC and hard disk APN  02/10/17 08:14 AM
. * Re: MESS: PC and hard disk Nightvoice  02/11/17 02:49 AM
. * Re: MESS: PC and hard disk MooglyGuy  02/10/17 10:46 AM
. * Re: MESS: PC and hard disk StilettoAdministrator  02/10/17 05:27 PM
. * Re: MESS: PC and hard disk MooglyGuy  02/11/17 03:12 PM
. * Re: MESS: PC and hard disk Sthiryu  02/08/17 01:36 AM
. * Re: MESS: PC and hard disk R. Belmont  02/13/17 11:23 PM
. * Re: MESS: PC and hard disk Sthiryu  02/14/17 04:12 AM
. * Re: MESS: PC and hard disk R. Belmont  02/14/17 06:26 PM
. * Re: MESS: PC and hard disk Sthiryu  02/14/17 10:55 PM
. * Re: MESS: PC and hard disk Haze  02/08/17 01:41 AM
. * Re: MESS: PC and hard disk Sthiryu  02/09/17 01:40 AM
. * Re: MESS: PC and hard disk BIOS-D  02/07/17 06:44 AM
. * Re: MESS: PC and hard disk lharms  02/07/17 06:05 AM
. * Re: MESS: PC and hard disk Nightvoice  02/01/17 07:15 PM
. * Re: MESS: PC and hard disk lharms  02/01/17 10:02 PM
. * Re: MESS: PC and hard disk Moose  02/02/17 01:18 PM
. * Re: MESS: PC and hard disk Vas Crabb  02/02/17 02:55 PM
. * Re: MESS: PC and hard disk Moose  02/09/17 10:11 AM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
1 registered and 39 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2130