From: John Coppens <john@jcoppens.com>
To: linux-msdos@vger.kernel.org
Subject: Re: DOSEmu has crashed while calling INT 3!
Date: Fri, 6 Nov 2009 20:38:45 -0300 [thread overview]
Message-ID: <20091106203845.603c3339.john@jcoppens.com> (raw)
In-Reply-To: <4AF4795C.4080601@rambler.ru>
On Fri, 06 Nov 2009 21:30:36 +0200
?????? ???????? <vargulin@rambler.ru> wrote:
> DOSEmu has crashed while calling the Int 3! I running the Borland Turbo
> Pascal 7.0 and so, while I press F7 for debugging program, DOSEmu (I
> have DOSEmu 1.4 in Ubuntu Linux 9.10), DOSEmu has crashed momentally! I
> write in assembler tiny program with commands INT 3 and INT 20, they,
> when calling this program, DOSEmu is crashed! Please fix these bug!
I'm not sure if you are aware that you first have to install an interrupt
handler in vector 3 before executing INT 3. The debugging mechanism (such
as DEBUG does) is to replace the next instruction to be executed by an
INT 3, just before executing the program, and then swap it back to the
previous opcode. g123,234,345 installs INT3s in 234 and 345 (temporarily)
But before that, DEBUG installs a pointer at the vector location pointing
to a routine which knows how to handle it. You should too, in you tiny
assembler program.
If, using TP 7, and using F7, you have a crash, then look at the code you
are executing. It's unlikely to be DOSEMU's fault. I've used F7 many
times.
John
next prev parent reply other threads:[~2009-11-06 23:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 19:30 DOSEmu has crashed while calling INT 3! ?????? ????????
2009-11-06 23:38 ` John Coppens [this message]
[not found] ` <4AF4BB60.60806@sbcglobal.net>
2009-11-07 0:21 ` DOSEmu has crashed while calling INT3! John Coppens
2009-11-07 21:01 ` DOSEmu has crashed while running debugging ?????? ????????
2009-11-07 21:29 ` DOSEmu has crashed while calling INT 3! ?????? ????????
[not found] ` <4AF5F28A.5060503@sbcglobal.net>
2009-11-08 17:20 ` ?????? ????????
[not found] ` <4AF5E993.8090601@comcast.net>
2009-11-08 16:55 ` ?????? ????????
2009-11-08 17:10 ` Bart Oldeman
2009-11-08 17:53 ` ?????? ????????
2009-11-08 17:58 ` Bart Oldeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091106203845.603c3339.john@jcoppens.com \
--to=john@jcoppens.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox