MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


IBM5160 emulation
#364649 - 03/26/17 04:10 PM


I have been using the IBM5160 PC driver in MAME for booter games and it works fine. However, now I'm trying to plug a HDD on it with MS-DOS 6.22 instaled on it but the system refuses to boot through the HDD. It prints "missing operating system" on screen and that's it. I'm using a 20MB HDD I created for my AT486 driver, which works fine with that driver.

I also tried to boot the machine using a MS-DOS 3.3 double sided 5,25" floppy disk image but it says that the operating system was not found and ask me to insert the system disk and press any key. But I know that the disk is configured properly, I tested it through the AT486 driver and it boots fine there.

What am I doing wrong?

Edited by R.Coltrane (03/26/17 04:11 PM)



rfka01
MAME Fan
Reged: 04/03/16
Posts: 10
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364653 - 03/26/17 05:19 PM


For an XT (class) machine you'd have to stick to well known hard disk geometries, e.g. 615 cylinders, 4 surfaces, 17 sectors per track.
If your harddisk from the AT driver is 20MB but doesn't conform to some standard that was around at the XT's time it won't be recognised.
One way to find out (unless you know) is to plug the harddisk into one of the AT drivers that have a BIOS that can auto-detect the harddisk. It will tell you the geometry it recognizes.
As for the 3.3 boot disk, the 3.3 DS/DD set included the boot disk per se and an utilities disk, make sure you boot from the correct one.



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: rfka01]
#364668 - 03/28/17 12:42 AM


Thanks for the tips on creating a compatible HDD. By following your instructions, I've created an empty chd file with 20mb of total storage capacity. I've used the AT486 driver to do a fdisk and format it, and I booted with a dos 3.3 floppy to transfer the system to it. Everything worked fine!

After that, I've converted the .chd into .img in order to open it with PowerISO, to insert the complete DOS 3.3 files and the remaining boot files to the root folder. Saved the .img and converted it back to an uncompressed .chd file to boot my ibm5160 with it. But it prints the same message on screen saying "missing operating system". Do I need to boot ibm5160 from floppy first every time and then go to the hard disk?

Also, I need to know which program may I have to use to maniputale floppy disks. I have ms-dos 3.3 booter disks (dos33.ima and msdos33bootdisk.img) to use with this driver but they are all in 1.44mb 3.5" disk format, and I need to transfer its contents to a single sided 360k floppy disk in order to make it to work with IBM5160 floppy slots. How can I do that?

Edited by R.Coltrane (03/28/17 01:32 AM)



Sthiryu
MAME Fan
Reged: 03/09/16
Posts: 117
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364672 - 03/28/17 03:43 AM


After working all the stuff converting chd to img and back to chd again, try to boot the system again, but first look if some file has been generated at the diff folder. Delete it and tell if this has worked..



RETRODANUART.COM



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: Sthiryu]
#364675 - 03/28/17 04:06 AM


> After working all the stuff converting chd to img and back to chd again, try to boot
> the system again, but first look if some file has been generated at the diff folder.
> Delete it and tell if this has worked..

No, it did not generated any .diff file for ibm5160 and it doesn't boot in any way. Tried to boot it with just the HDD mounted but it says "missing operating system".

Tried to boot from a bootable floppy disk and it falls into the BASIC useless screen.

Finally tried to boot the system with both floppy AND HDD mounted together, but the same message pops up "missing operating system".

Funny thing is that booter games works like a charm! Go figure!!

Any more clues?



crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364676 - 03/28/17 04:12 AM


Try booting the 5160 from the floppy with the hdd attached. If the hdd is readable use sys c: to copy the system files and rewrite the boot sector again.



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: crazyc]
#364684 - 03/28/17 01:55 PM


> Try booting the 5160 from the floppy with the hdd attached. If the hdd is readable
> use sys c: to copy the system files and rewrite the boot sector again.

Please, read my previous messages... I said that even with both attached it says "Missing operating system" and nothing else happens.

Do you have an image file of a bootable floppy which is working with your ibm5160? If yes, I'll PM you. If you have a working floppy for ibm5160 then I guess my boot floppies may have the wrong format for the machine.



crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364686 - 03/28/17 03:08 PM Attachment: dos3.3-360.zip 88 KB (2 downloads)


This one works.



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: crazyc]
#364688 - 03/28/17 03:50 PM


Thanks!! The problem was the boot disk size! After grabbing Winimage I managed to reduce the disk size to 360kb and it works now! Anyway, thank you for sending me this image as well.

Now I'm having another issue that I don't know if it's a known bug or just my HDD... when I start typing commands, it suddenly freezes out of thin air! Is it happening with you?



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364689 - 03/28/17 05:14 PM


> Thanks!! The problem was the boot disk size! After grabbing Winimage I managed to
> reduce the disk size to 360kb and it works now! Anyway, thank you for sending me this
> image as well.
>
> Now I'm having another issue that I don't know if it's a known bug or just my HDD...
> when I start typing commands, it suddenly freezes out of thin air! Is it happening
> with you?

Are you in Full Keyboard Emulation mode? I can only think you are typing "p" and it us pausing your emulation each time.



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: Tafoid]
#364690 - 03/28/17 05:56 PM


> > Thanks!! The problem was the boot disk size! After grabbing Winimage I managed to
> > reduce the disk size to 360kb and it works now! Anyway, thank you for sending me
> this
> > image as well.
> >
> > Now I'm having another issue that I don't know if it's a known bug or just my
> HDD...
> > when I start typing commands, it suddenly freezes out of thin air! Is it happening
> > with you?
>
> Are you in Full Keyboard Emulation mode? I can only think you are typing "p" and it
> us pausing your emulation each time.

After that, I can't say anything but this:





Thanks people!!! Problems solved



crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364691 - 03/28/17 08:16 PM


The XT only supports DD floppies, 360k or (later bioses) 720k.



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: crazyc]
#364694 - 03/28/17 09:54 PM


Thanks for all your help people!

just one more thing: Now I'm having some difficulties on handling my 20mb ibm5160 HDD contents using softwares such as PowerISO and/or Winimage. PowerISO works fine with my AT486 30mb image file, so I can insert and remove large amounts of files and after saving the .img file and converting it back to chd using chdman, it works perfectly with the AT486 driver. However, when I try to do the same thing with my little ibm5160 20mb HDD, it gets corrupted and the resulting .chd file becomes useless!! And Winimage seem to work with floppy disks only (and it is somewhat moody).

Which program do you guys use to insert files/folders or to remove them from a harddisk image (img or ima file formats) before converting it back to .chd using chdman?



Sthiryu
MAME Fan
Reged: 03/09/16
Posts: 117
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364696 - 03/28/17 11:24 PM


I use winImage with the at486 and works great: Convert from chd to raw and back, using chdman.



RETRODANUART.COM



R.Coltrane
MAME user since 0.11
Reged: 08/07/05
Posts: 493
Send PM


Re: IBM5160 emulation new [Re: Sthiryu]
#364698 - 03/29/17 03:51 AM


> I use winImage with the at486 and works great: Convert from chd to raw and back,
> using chdman.

Yes, but it screws the ibm5160 hdd image pretty badly :/



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9711
Loc: ECV-197 The Orville
Send PM


Re: IBM5160 emulation new [Re: R.Coltrane]
#364715 - 03/29/17 04:46 PM


> Which program do you guys use to insert files/folders or to remove them from a
> harddisk image (img or ima file formats) before converting it back to .chd using
> chdman?

I've never had a problem with WinImage.

Is your CHD uncompressed? (Created with -c none). If not, then part of it's in the .diff file and changing the CHD itself will indeed effectively corrupt it.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 26 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1901