joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.66k stars 378 forks source link

IBM AIX 1.3.0 Boot_Diskette1.img encounters unexpected errors #2486

Open jeffz opened 3 years ago

jeffz commented 3 years ago

Steps to reproduce: wget http://ps-2.kev009.com/aixps2/InstallImages/boot_esdi/Boot_Diskette1.img dosbox-x . boot boot_d~1.img

Actual: IBM AIX 1.3.0 Boot disk prints these errors to the screen.

fd: error on media change test FD error: drive=0, block=16, buf addr=69806197, fdtype = 18,errcode 0 SENSEFAIL dlook: not a directory isadevcfg.info not found posinit: Errror opening isadevcfg.info Press Enter to continue

dosbox-x prints the following: LOG: Identified 'BOOT_D~1.IMG' as C/H/S 80/2/18 512 bytes/sector LOG: Booting guest OS stack_seg=0x7000 load_seg=0x07c0 LOG: Removing UMB block 0xcc00-0xdfff LOG: Alright: DOS kernel shutdown, booting a guest OS LOG: CS:IP=0000:7c00 SS:SP=7000:0100 AX=0000 BX=7c00 CX=0001 DX=0000 LOG: 47867762 ERROR BIOS:INT13: Function 16 called on drive 0 (dos drive 0)

Expected: The boot disk should load the IBM AIX boot menu without the above errors. The test image boots fine under the 86box v3.0 emulator as a floppy image: https://i.imgur.com/0pmV2sO.png (tested Socket 370, i440LX, Celeron 166Mhz)

Screenshots screenshot

Environment (please complete the following information):

Additional context

https://en.wikipedia.org/wiki/IBM_AIX#IBM_PS/2_series

Also reported upstream: https://sourceforge.net/p/dosbox/bugs/552/ Steps for booting the operating system from existing image (can be converted using qemu: qemu-img convert -f vmdk -O qcow2 AIX-1.3.vmdk aix.qcow2)

https://astr0baby.wordpress.com/2018/09/14/running-aix-1-3-inside-virtual-box-5-2-16/

Wengier commented 3 years ago

I can reproduce the said error with the disk image. But do note that as a DOS emulator DOSBox-X primarily focuses on DOS emulation (including DOS-based Windows), and the operating system in the disk image is IBM AIX PS/2, which is a type of Unix operating system rather than DOS, and the file system in the image is also not an FAT (FAT12/16/32) file system as used by DOS. You mentioned 86box and qemu, which are different in that they are general OS emulators rather than DOS emulator.

jeffz commented 3 years ago

Thanks for confirming. As a point of general interest, AIX 1.3 supports DOS running DOS programs via Merge (Wikipedia claims it is stable enough to run a version of MS Flight Simulator).

rderooy commented 3 years ago

I don't think AIX was meant to run on a "generic" PC, but only on select IBM PS/2 systems with ESDI storage. And DOSBox-X has no emulation of the PS/2 specific features (other then the VGA and mouse, which also became common on non-PS/2 systems).

You may have more luck trying PCem. From what I find online in some posts from 2018, people got at least to install disk 2 with it before it crashed.

jeffz commented 3 years ago

86Box (mentioned in the original report) is a fork for PCem and successfully boots AIX 1.3 on IDE HDD (using the qemu-img converted hdd image from the wordpress blog link), from the provided floppy images.

The IBM docs mention support for IBM compatibles ("generic" PC): https://www-01.ibm.com/common/ssi/rep_ca/5/877/ENUSZP93-0165/index.html

joncampbell123 commented 3 years ago

Failure of this function, apparently?

http://www.ctyme.com/intr/rb-0640.htm