Can someone help on bochs 1.3?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Thunder

Can someone help on bochs 1.3?

Post by Thunder »

I'm using Win98se.
I have configured bochs, that it should load my floppy disk:
floppya: 1_44=a:, status=inserted
but when I'm starting the simulation
it writes "boot floppy disk 0 failed
FATAL: Could not read the boot disk."
But in start of computer boot loader starts the kernel successfuly.
What I'm doing not right?
Schol-R-LEA

Re:Can someone help on bochs 1.3?

Post by Schol-R-LEA »

Well, first, I'd recommend upgrading; Boch 1.4.1 just released yesterday. I'm trying it out now. But I doubt that has anything to do with this particular problem.

The mostly likely cause is that you didn't put the boot signature word (0xAA55) at the end of the boot sector - or more specifically, in bytes 0x1FE and 0x1FF, as it doesn't change even if you use a non-standard sector size during formatting. Not all BIOSes check for it, but Bochs does, and that's probably the difference.

If that isn't it, then I'd suggest showing us the code so we can look it over.
Thunder

Re:Can someone help on bochs 1.3?

Post by Thunder »

The boot code is boot12.asm code.
K.J.

Re:Can someone help on bochs 1.3?

Post by K.J. »

try:

[tt]
floppya: 1_44=a:, status=inserted
boot: a
[/tt]

K.J.
Thunder

Re:Can someone help on bochs 1.3?

Post by Thunder »

These lines are in config but this not works !!! :'(
K.J.

Re:Can someone help on bochs 1.3?

Post by K.J. »

Can you please post your entire config file?

K.J.
Thunder

Re:Can someone help on bochs 1.3?

Post by Thunder »

[attachment deleted by admin]
K.J.

Re:Can someone help on bochs 1.3?

Post by K.J. »

Hmm... does the floppy drive light even go on?

K.J.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Can someone help on bochs 1.3?

Post by Pype.Clicker »

maybe you could try a disk image (on a regular file) first ...
Schol-R-LEA

Re:Can someone help on bochs 1.3?

Post by Schol-R-LEA »

I have since tried this myself, and have gotten the same results, in both versions 1.3 and 1.4.1 . I think I have also found the cause of the problem, and if so, there's no reall chance of a solution, I'm afraid.

What it comes down to is the version of Windows you are using. According to the comments in the sample bochsrc.out that comes with Bochs 1.4.1, direct floppy access doesn't work under the Win9x kernel (95, 98, ME), only under versions based on the NT kernel (NT 4.0, W2K, and presumably, XP). It seems unlikely that they would have taken out support for the later version if it had existed before, so that's probably the problem you're having.
Thunder

Re:Can someone help on bochs 1.3?

Post by Thunder »

When I was in Bona OS web page I saw tutorial about Bochs 1.3 and now it says that I must copy bootloader then kernel and everything that i'll load then I must to make an image of A: and then load the image and you know what?
It works ;D !
Here is the bochsrc.txt:
megs: 32
romimage: file= BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40

# we want a floppy drive(called a), the disk image that we are using is called "1.44"
floppya: 1_44=1.44, status=inserted

# choose the boot disk.
boot: a

# where do we send log/error messages?
log: bochsout.txt
Post Reply