On Sat, May 01, 2004 at 01:15:47PM +0800, BAHCL wrote:
> Hi,
>
> DEBUG displays a message 'Unexpected single-step interrupt'
> as soon as it finish the statement below:
>
> MOV AH,4C
> INT 21
>
> Registers DS,ES,CS,SS,AX,SP... contains strange values.
>
> The program I debug simply opens a file, moves the file pointer and
> closes the file.
>
> I cross check with
> DEBUG c:\tools\LIST.COM c:\tmp\*.*
>
> the 'Unexpected...' message appears as LIST finishes.
>
> This result is found in Linux + DOSEMU 1.2.0
I don't have the program "list.com" on my freeDOS setup. Can you please
send me a simple program that exhibits the problem? The problem doesn't
show up for the simple program:
; nasm test.asm -O 2 -o test.com
org 100h
mov ah,9
mov dx,hithere
int 21h
ret
hithere db 'Hi there',13,10,'$'
--
Paul Vojta, [EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel