VOGONS


Int 15h error

Topic actions

First post, by Og

User metadata
Rank Member
Rank
Member

Hello,
I'm trying to run an old Israeli game which gives me this error:
"error in execution - Int 15h is used by other program"
I've tried searching for int 15h, and I got some threads about joystick or ems and xms, I tried disabling all 3 but to no avail.

Is there any way around this error?
(by the way, I can PM a link to download this game upon request)

TIA
Og

Reply 1 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Odd message, you can try to see if they call int15 and require some
specific return code for some function (using the debugger-enabled
version of dosbox, use "bpint 15 *" to catch it).
Or maybe they look at the seg/offset of the int15 handler, if you are
lucky you can check this by a "bpint 21 35" (that should be the get
int vector).

Reply 2 of 8, by Og

User metadata
Rank Member
Rank
Member

Thanks for the help wd, but I'm afraid I do not have the skills to find what you are looking for. I am an electronics technician, not a programmer so the only experience I have with debugging is with very small programs(30 lines and less) I wrote for the 8086 CPU(and x51 MCU, but that's not relevant). I don't know if it's because the 80286(and up) are different but there are a lot of instructions I don't understand, and everything looks so different from what I'm used to (in the 8086 the 4 registers AX,BX,CX and DX are all 16bit, and here I see they are 32bit... and more).
anyway, I attached two pictures, one is the last int 15 call before the error appears, and the other is the last function 35 from the 21h software interrupt before the error appears.
I don't know if the few instruction visible in the pictures will help you see what's wrong, but here it is anyway(or maybe you could tell me what exactly to look for?).

Attachments

  • Filename
    int15h0.JPG
    File size
    122.31 KiB
    Downloads
    88 downloads
    File license
    Fair use/fair dealing exception
  • Filename
    int21h0.JPG
    File size
    122.3 KiB
    Downloads
    96 downloads
    File license
    Fair use/fair dealing exception

Reply 3 of 8, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

http://www.delorie.com/djgpp/doc/rbinter/ix/15/83.html
bios wait event interval.

I recently added some more calls to that function although it appears to be using the call 0 which didn't change.
Try this build of dosbox
http://pcnwstage.phys.rug.nl/dosbox-shift.exe.bz2
and please report back if it changed anything.

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

Reply 4 of 8, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I assume you traced into the int15, at least it looks like that in the
screenshot. If so, they seem to have revectored int15 already to
0x12cd:0x0f27 (the retf2 replaces an iret more or less).

Maybe you can pm the link to me or Qbix.