Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"Plastic gun. Ingenious. More coffee, please." -- The Phantom comics


devel / comp.lang.asm.x86 / TF

SubjectAuthor
* TFPaul Edwards
+- TFAlexei A. Frounze
+- TFGeorge Neuner
`* TFwolfgang kern
 `- TFPaul Edwards

1
TF

<92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=831&group=comp.lang.asm.x86#831

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mutazilah@nospicedham.gmail.com (Paul Edwards)
Newsgroups: comp.lang.asm.x86
Subject: TF
Date: Sat, 19 Nov 2022 11:09:42 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 15
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Sat, 19 Nov 2022 19:09:42 +0000
Injection-Info: reader01.eternal-september.org; posting-host="df5986395ad149a27958751bc0d35b2f";
logging-data="3460056"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+H7GnVlfh3YObUYv27NYE1Yr0yYJWjY/4="
User-Agent: G2/1.0
Cancel-Lock: sha1:g6hI5fy846TsYzsAKnB7tJVzv14=
 by: Paul Edwards - Sat, 19 Nov 2022 19:09 UTC

I have implemented TF (trap flag) for the 8086.

But when I looked up RBIL, it doesn't say that TF
also works for the 80386. INT 1 is complicated
instead.

So can I single-step an 80386 program?

It looks like x'cc' still works on an 80386, invoking
INT 3 (from my reading of RBIL).

Anyone know for sure?

Thanks. Paul.

Re: TF

<3dc33351-80e5-4745-87c7-cee0581f5b8bn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=834&group=comp.lang.asm.x86#834

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: alexfrunews@nospicedham.gmail.com (Alexei A. Frounze)
Newsgroups: comp.lang.asm.x86
Subject: Re: TF
Date: Sat, 19 Nov 2022 14:09:30 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 14
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <3dc33351-80e5-4745-87c7-cee0581f5b8bn@googlegroups.com>
References: <92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Sat, 19 Nov 2022 22:09:30 +0000
Injection-Info: reader01.eternal-september.org; posting-host="df5986395ad149a27958751bc0d35b2f";
logging-data="3487559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RR4Gbb191eZ8G/CX2CJA+oysmdCmayhA="
User-Agent: G2/1.0
Cancel-Lock: sha1:N086ksXK1Xm4SWQOC2pMyl4LrSk=
 by: Alexei A. Frounze - Sat, 19 Nov 2022 22:09 UTC

On Saturday, November 19, 2022 at 11:23:04 AM UTC-8, Paul Edwards wrote:
> I have implemented TF (trap flag) for the 8086.
>
> But when I looked up RBIL,

Why not read the intel or AMD documentation?

> it doesn't say that TF
> also works for the 80386.

It does, all the way through Pentium.

Alex

Re: TF

<f7minh5f1poqe9skpstb99pn9jaf57ag2e@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=835&group=comp.lang.asm.x86#835

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: gneuner2@nospicedham.comcast.net (George Neuner)
Newsgroups: comp.lang.asm.x86
Subject: Re: TF
Date: Sat, 19 Nov 2022 17:32:09 -0500
Organization: A noiseless patient Spider
Lines: 21
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <f7minh5f1poqe9skpstb99pn9jaf57ag2e@4ax.com>
References: <92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="df5986395ad149a27958751bc0d35b2f";
logging-data="3489537"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q+0yN6K44nDZ+iRYrrxToR1nA2GiIvHY="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:E7HWSYCvFSY5t7BndbbNu9V6L+A=
 by: George Neuner - Sat, 19 Nov 2022 22:32 UTC

On Sat, 19 Nov 2022 11:09:42 -0800 (PST), Paul Edwards
<mutazilah@nospicedham.gmail.com> wrote:

>I have implemented TF (trap flag) for the 8086.
>
>But when I looked up RBIL, it doesn't say that TF
>also works for the 80386. INT 1 is complicated
>instead.
>
>So can I single-step an 80386 program?
>
>It looks like x'cc' still works on an 80386, invoking
>INT 3 (from my reading of RBIL).
>
>Anyone know for sure?
>
>Thanks. Paul.

INT 3 works on all x86 processors, but the response differs depending
on whether you are in real mode or protected mode.

Re: TF

<tlg5n3$n62$1@gioia.aioe.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=839&group=comp.lang.asm.x86#839

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nowhere@nospicedham.nevernet.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: TF
Date: Mon, 21 Nov 2022 16:32:49 +0100
Organization: Aioe.org NNTP Server
Lines: 24
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <tlg5n3$n62$1@gioia.aioe.org>
References: <92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader01.eternal-september.org; posting-host="7aa095122768aaa0a660bd29ebfebe53";
logging-data="4029933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Op23ok/C8L91BvseVjCuOvFykt9bZCcY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Cancel-Lock: sha1:LRTy32kixESgnT/60CnZ9QLpxj8=
 by: wolfgang kern - Mon, 21 Nov 2022 15:32 UTC

On 19/11/2022 20:09, Paul Edwards wrote:
> I have implemented TF (trap flag) for the 8086.
>
> But when I looked up RBIL, it doesn't say that TF
> also works for the 80386. INT 1 is complicated
> instead.
>
> So can I single-step an 80386 program?
>
> It looks like x'cc' still works on an 80386, invoking
> INT 3 (from my reading of RBIL).
>
> Anyone know for sure?

yes, CC work on all x86.
but any decent debugger use Traps instead:
a) by setting TF to single step one instruction w/o
the need for replace/insert a byte there.
b) by setting breakpoints [DATA or CODE or I/O] to
trap at occurrence (reason for debug-registers).
note: CC work different to the avoidable CD03.
__
wolfgang

Re: TF

<390d9df4-633b-484d-98e5-cdd273d73413n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=840&group=comp.lang.asm.x86#840

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mutazilah@nospicedham.gmail.com (Paul Edwards)
Newsgroups: comp.lang.asm.x86
Subject: Re: TF
Date: Mon, 21 Nov 2022 14:27:41 -0800 (PST)
Organization: A noiseless patient Spider
Lines: 34
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <390d9df4-633b-484d-98e5-cdd273d73413n@googlegroups.com>
References: <92d8f77f-f8c6-4c4b-8f45-d2870bca3348n@googlegroups.com> <tlg5n3$n62$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Date: Mon, 21 Nov 2022 22:27:41 +0000
Injection-Info: reader01.eternal-september.org; posting-host="7aa095122768aaa0a660bd29ebfebe53";
logging-data="4097012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YysvOZ9ny0yExRz3JAbiqm0mQM+Kxlp8="
User-Agent: G2/1.0
Cancel-Lock: sha1:NoVQ8F/gTNAQwJ8eMjaPOyfLOdA=
 by: Paul Edwards - Mon, 21 Nov 2022 22:27 UTC

On Monday, November 21, 2022 at 11:37:26 PM UTC+8, wolfgang kern wrote:
> On 19/11/2022 20:09, Paul Edwards wrote:
> > I have implemented TF (trap flag) for the 8086.
> >
> > But when I looked up RBIL, it doesn't say that TF
> > also works for the 80386. INT 1 is complicated
> > instead.
> >
> > So can I single-step an 80386 program?
> >
> > It looks like x'cc' still works on an 80386, invoking
> > INT 3 (from my reading of RBIL).
> >
> > Anyone know for sure?

> yes, CC work on all x86.
> but any decent debugger use Traps instead:
> a) by setting TF to single step one instruction w/o
> the need for replace/insert a byte there.
> b) by setting breakpoints [DATA or CODE or I/O] to
> trap at occurrence (reason for debug-registers).
> note: CC work different to the avoidable CD03.

Ok, thanks for that information.

I am interested in restricting myself to the same tools
that Tim Paterson had when creating the precursor
to MSDOS, with the difference that I am
doing 32-bit C programming instead of 16-bit
assembler programming, so when I debug at the
assembler level, it is almost all generated code.

BFN. Paul.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor