Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floppy with CD-ROM problem #463

Open
Pixelsuft opened this issue May 4, 2021 · 15 comments
Open

Floppy with CD-ROM problem #463

Pixelsuft opened this issue May 4, 2021 · 15 comments
Labels

Comments

@Pixelsuft
Copy link
Contributor

In old version (custom profile), when I'm booted from Floppy, it not detected CD-ROM:
image1

But now it not booting from Floppy with CD-ROM (without CD-ROM - booting):
image2

@copy
Copy link
Owner

copy commented May 6, 2021

I can reproduce this. Do you happen to know which old version had this issue?

@copy copy added the bug label May 6, 2021
@Pixelsuft
Copy link
Contributor Author

Pixelsuft commented May 6, 2021

In the last non-wasm version it was as on first screenshot.

@Pixelsuft
Copy link
Contributor Author

Pixelsuft commented May 8, 2021

Maybe these problems are different because in old version floppy works correctly with hd, but now - it not works

@ghost
Copy link

ghost commented Aug 6, 2021

i too have same problem , CD-ROM Driver doesn't detect CD
image

@ghost
Copy link

ghost commented Sep 10, 2021

Update: it works fine if i load Oak CD-ROM Driver (oakcdrom.sys)

@Pixelsuft
Copy link
Contributor Author

Floppy + HDD works with bochs bios

@porg13231
Copy link

i left v86 with a cdrom and hard disk for a hour and it is working.

@Pixelsuft
Copy link
Contributor Author

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'

@mikaku
Copy link

mikaku commented Jul 31, 2022

With the latest 'Version: 1a64b50f9 (Jul 29, 2022 00:07)' now booting from floppy having a defined hard disk works perfectly well. 😃

Thank you!

@Pixelsuft
Copy link
Contributor Author

Pixelsuft commented Aug 1, 2022

HD + CDROM still not works with seabios

copy added a commit that referenced this issue Aug 1, 2022
copy added a commit that referenced this issue Aug 1, 2022
@copy
Copy link
Owner

copy commented Aug 1, 2022

@mikaku Thanks for the confirmation! Probably fixed as a side-effect of 236e7ad and aee82bb. I added some test to make sure it stays that way.

HD + CDROM is still broken, so leaving open for that.

@mikaku
Copy link

mikaku commented Aug 1, 2022

I added some test to make sure it stays that way.

Excellent, thank you again!

copy added a commit that referenced this issue Aug 2, 2022
@Pixelsuft
Copy link
Contributor Author

Pixelsuft commented Aug 6, 2022

hd with cdrom work when booting from cdrom (not fully tested).
update: some images booting, some - not

@mikaku
Copy link

mikaku commented Aug 6, 2022

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.

@JoeOsborn
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants