v86
v86 copied to clipboard
Floppy with CD-ROM problem
In old version (custom profile), when I'm booted from Floppy, it not detected CD-ROM:
But now it not booting from Floppy with CD-ROM (without CD-ROM - booting):
I can reproduce this. Do you happen to know which old version had this issue?
In the last non-wasm version it was as on first screenshot.
Maybe these problems are different because in old version floppy works correctly with hd, but now - it not works
i too have same problem , CD-ROM Driver doesn't detect CD
Update: it works fine if i load Oak CD-ROM Driver (oakcdrom.sys)
Floppy + HDD works with bochs bios
i left v86 with a cdrom and hard disk for a hour and it is working.
When trying to boot with floppy + cdrom in debug mode:
20:35:12+222 [CPU ] Assertion failed at src/rust/cpu/instructions.rs:2218:5: 'false'
With the latest 'Version: 1a64b50f9 (Jul 29, 2022 00:07)' now booting from floppy having a defined hard disk works perfectly well. :smiley:
Thank you!
HD + CDROM still not works with seabios
@mikaku Thanks for the confirmation! Probably fixed as a side-effect of 236e7ada27c8d6890983d8b17f1b7352e58274b8 and aee82bb83b8091f84dbd02bc732c6971004a9826. I added some test to make sure it stays that way.
HD + CDROM is still broken, so leaving open for that.
I added some test to make sure it stays that way.
Excellent, thank you again!
hd with cdrom work when booting from cdrom (not fully tested). update: some images booting, some - not
I've tested booting from CDROM having a hard disk defined and, as @Pixelsuft says, it also works now. Unfortunately my OS still don't supports PCI ATA controllers, it only supports pure ISA ATA with standard IRQs (14 and 15) and I/O port address. I'm working on it right now.
Another issue is the floppy in itself. It looks like the floppy device only works in the BIOS context, I mean, it boots of course, but I'm unable to use it once the OS has been boot up. I've tested it using my latest kernel version in FiwixOS and also under Linux kernel versions 2.0.40 and 2.2.26, and it don't works either. These Linux kernels, while old, are perfectly capable to recognize and use any floppy drive, but not the one in this emulation. In this case, my own kernel have the same problems to access to this floppy drive as Linux kernel also has. Perhaps this deserves a different issue? if you think so, let me know and I'll open a new one.
The floppy controller's misbehavior seems worthy of its own issue (e.g., inserting a floppy disk works now with PR #897 in MS-DOS, but not Linux 2.6) for overall conformance with spec (maybe comparing against QEMU's implementation could be useful) and I think "can't boot from HDD with CD-ROM inserted" also qualifies as a separate issue.