Giter VIP home page Giter VIP logo

Comments (9)

sdsnatcher avatar sdsnatcher commented on September 25, 2024 1

I agree that, given the current restrictions, this is the best approach.

from dosbox-x.

rderooy avatar rderooy commented on September 25, 2024

Insert an empty disk in drive B and swap it afterwards.

from dosbox-x.

sdsnatcher avatar sdsnatcher commented on September 25, 2024

Insert an empty disk in drive B and swap it afterwards.

That didn't solve the problem. Wrestle Angels 1 still doesn't boot even if the image inserted on drive B: is blank.

from dosbox-x.

maron2000 avatar maron2000 commented on September 25, 2024

Working just fine on Windows, 10.06 release (didn't test nightly builds).
First boot the game with disk A and B mounted, and replace disk A with C when instructed.

wa
wa2

from dosbox-x.

sdsnatcher avatar sdsnatcher commented on September 25, 2024

@maron2000

Oh my, this is how the sanity goes out of the window. 😅 I tried some combinations until I could find why it worked for you and not here.

The boot bug happens if you insert the disk image on drive B: before you insert the drive A: image and then boot from the drive A:.

Steps to reproduce the behaviour:

  1. Boot dosbox in PC-98 mode
  2. Insert the diskB.fdi disk image on drive B: using the Drive menu
  3. Insert the diskA.fdi disk image on drive A: using the Drive menu
  4. Select the menu Drive->A->Boot from drive

Result: The PC-98 will freeze with a horrible continuous beep and an error message "no system files" will be shown.

Screenshot BootCrashed

If I insert the drive A: image first it boots correctly.

from dosbox-x.

maron2000 avatar maron2000 commented on September 25, 2024

Ok. So we are now on the same track.
For the time being, don't mount drive B first LOL.

from dosbox-x.

maron2000 avatar maron2000 commented on September 25, 2024

It seems from the source code that drive B is intentionally allocated as the boot drive (drive number 0, BIOS 0x00) if mounted in advance of drive A.
I think this is due to that PC-98 can boot from Drive B if drive A is empty, but since DOSBox-X assumes drive A only as a bootable floppy, maybe we should neglect booting from drive B.

cited from dos_programs.cpp L4822

   else if (IS_PC98_ARCH) {
        //for pc-98 machines, mount floppies at first available index
        for (int index = 0; index < 2; index++) {
            if (imageDiskList[index] == NULL) {
                return AttachToBiosByIndex(image, index);
            }
        }
    }

from dosbox-x.

sdsnatcher avatar sdsnatcher commented on September 25, 2024

While the PC-98 can indeed boot from the drive B:, AFAIK it will only do so if there's no bootable disk on drive A:

IOW, regardless of the order that the disks were inserted, the PC-98 will always boot the first disk it finds, from the lowest drive letter to the highest.

from dosbox-x.

maron2000 avatar maron2000 commented on September 25, 2024

Yes, and as I mentioned above, DOSBox-X does NOT support booting from Drive B (in other words, boot b:) even if PC-98 can, I think we should always boot from Drive A on DOSBox-X even if Drive B is mounted first, since it requires a bunch of fixes while very limited (or even no) benefits.

So if you mount Drive B first, I plan it to be mounted to drive number 1, and cannot be booted even if drive A is not occupied.
After that if you mount Drive A, you can boot from that drive.

A screenshot of the planned fix.
wa3

Edit: edited some explanation
Edit2: show a example of planned fix

from dosbox-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.