VOGONS


First post, by Estron

User metadata
Rank Newbie
Rank
Newbie

Hi,

although you possible don't care: Neither Interrupt 19h, nor Interrupt 18h nor jumping to the address 0xF000:0xFFF0 from within DOSBox does the trick to "reboot" (for DOSBox: just restart or, even more easy, close) the machine.

Both Interrupt 19h and Interrupt 18h just return. For Interrupt 18h, this is probably okay. Interrupt 19h however mustn't return but shutdown the machine - whatever this requires.

At the mentioned usual "cold" reboot address there's no jump opcode as in real BIOSes but just (zero) data. DOSBox indeed manages it to hang (and cause a host CPU load of 100%, as usual) on the jump. Ever heard from Interrupt 06h? Some of the invalid opcodes there would cause one on real machines (or serious emulators). If Interrupt 06h was however generated and DOSBox failed to show it correctly, it's either a DOSBox fault.

It's actual a Box now and it runs some games, but where's the DOS?

Reply 1 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Rebooting just isn't supported (it takes more than code at these locations: the emulation code and hardware has to be reset etc.)

1+1=10

Reply 2 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

or serious emulators

Use bochs if you need #INV for all invalid opcodes.

Reply 3 of 8, by Estron

User metadata
Rank Newbie
Rank
Newbie

I want to repeat that:

even more easy, close

At least: Wouldn't closing DOSBox (possible with error message) be better than hanging?

a.k.a. Christian

Reply 4 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well which game makes use of that ?

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 8, by Estron

User metadata
Rank Newbie
Rank
Newbie

DOS.

a.k.a. Christian

Reply 6 of 8, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Is that a shareware game?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 8, by Estron

User metadata
Rank Newbie
Rank
Newbie

You could consider the so-called "OpenDOS" from Caldera as Shareware, though... 😁

a.k.a. Christian

Reply 8 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

No game. Closed.