Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

They can always run stderr through uniq. :-) -- Larry Wall in <199704012331.PAA16535@wall.org>


programming / comp.lang.asm.x86 / Truly amazing

SubjectAuthor
* Truly amazingRobert Prins
`* Re: Truly amazingwolfgang kern
 `* Re: Truly amazingKerr-Mudd,John
  `- Re: Truly amazingwolfgang kern

1
Subject: Truly amazing
From: Robert Prins
Newsgroups: comp.lang.asm.x86
Organization: A noiseless patient Spider
Date: Tue, 20 Apr 2021 15:55 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: rob...@nospicedham.prino.org (Robert Prins)
Newsgroups: comp.lang.asm.x86
Subject: Truly amazing
Date: Tue, 20 Apr 2021 15:55:14 +0000
Organization: A noiseless patient Spider
Lines: 16
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <s5mmgj$75f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="d8b6e7c264ca64efdd27340b52b810d3";
logging-data="11348"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZhD+xtY2AnOEjAnIEzmLRjkZn7lgwWeg="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.9.1
Cancel-Lock: sha1:uG9atBH0zivyVOuYfQ8krzfi55g=
View all headers
Just came across this one:

C4 1C 9F AB 47 47 EB F9

Save as a .COM file and run it, even in DOSBox-X. (Do a CLS before you start it)

Comparable to a gem like "+[>,]+[<.-]" in that language that usually has an '*' in it's name. ;)

Robert
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/indez.html
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html



Subject: Re: Truly amazing
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Tue, 20 Apr 2021 14:52 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nowh...@nospicedham.never.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: Truly amazing
Date: Tue, 20 Apr 2021 16:52:58 +0200
Organization: Aioe.org NNTP Server
Lines: 27
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <s5mpuk$5ap$1@gioia.aioe.org>
References: <s5mmgj$75f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="d8b6e7c264ca64efdd27340b52b810d3";
logging-data="6385"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/48Q5Ja2MZTwGHV41U7BvdY6TrR1Mm07s="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:88.0) Gecko/20100101
Thunderbird/88.0
Cancel-Lock: sha1:CiJ/AxaZFmXjQBj+Gm87N2HghZc=
View all headers
On 20.04.2021 17:55, Robert Prins wrote:
Just came across this one:

C4 1C 9F AB 47 47 EB F9

Save as a .COM file and run it, even in DOSBox-X. (Do a CLS before you start it)

Comparable to a gem like "+[>,]+[<.-]" in that language that usually has an '*' in it's name. ;)

Robert

I can't recommend to do this!

endless:
LES BX,[SI]  ;SI=?? may depend on environment
LAHF         ;who knows what's in the flags ?
STOSW        ;WRITE to ES:DI (try to use cc-flags for color)
INC DI dup2  ;stosw does this also
JMP $-7      ;endless or until crash

BX isn't used.
And if SI doesn't point to the screen-seg it writes to another 64KB block.
__
wolfgang



Subject: Re: Truly amazing
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Wed, 21 Apr 2021 11:12 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.127.0.0.1 (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: Truly amazing
Date: Wed, 21 Apr 2021 11:12:28 -0000 (UTC)
Organization: dis
Lines: 50
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsAD137C30471E7admin127001@144.76.35.252>
References: <s5mmgj$75f$1@dont-email.me> <s5mpuk$5ap$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="42cebc9b47be09c98a4e33861c51273b";
logging-data="12165"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+STFqgZJlSZKe28J6RW0oyULPpaR2PCGQ="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:JCATqde4+tFIZBBo8quEzmrW/Ko=
View all headers
On Tue, 20 Apr 2021 14:52:58 GMT, wolfgang kern
<nowhere@nospicedham.never.at> wrote:

On 20.04.2021 17:55, Robert Prins wrote:
Just came across this one:

C4 1C 9F AB 47 47 EB F9

Save as a .COM file and run it, even in DOSBox-X. (Do a CLS before
you start it)

Comparable to a gem like "+[>,]+[<.-]" in that language that usually
has an '*' in it's name. ;)

Robert

I can't recommend to do this!

endless:
LES BX,[SI]  ;SI=?? may depend on environment
LAHF         ;who knows what's in the flags ?
STOSW        ;WRITE to ES:DI (try to use cc-flags for color)
INC DI dup2  ;stosw does this also
skips next scrn char

JMP $-7      ;endless or until crash

BX isn't used.
except to set es.

And if SI doesn't point to the screen-seg it writes to another 64KB
block. __
wolfgang



I presume it's meant to put stripes down the screen; but al is 0 at start;
aha! I see the jmp goes to 101, which becomes SBB al,9F

I thought a .COM file at startup has bx=0x0000,si=0x0100,di=0xFFFE,
es=ds=cs;
LES must somehow pick up the Screen seg.



OK it's a mini 'Matrix' tribute. Nice.

--
Bah, and indeed, Humbug.



Subject: Re: Truly amazing
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Mon, 26 Apr 2021 12:43 UTC
References: 1 2 3
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nowh...@nospicedham.never.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: Truly amazing
Date: Mon, 26 Apr 2021 14:43:24 +0200
Organization: Aioe.org NNTP Server
Lines: 52
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <s66cjq$mt8$1@gioia.aioe.org>
References: <s5mmgj$75f$1@dont-email.me> <s5mpuk$5ap$1@gioia.aioe.org>
<XnsAD137C30471E7admin127001@144.76.35.252>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="f9bead2a4af8006d034a57b0f40ce62a";
logging-data="7709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Lnm8Znbf9tVHzXLgOqp+Ob76/5vnMchc="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:88.0) Gecko/20100101
Thunderbird/88.0
Cancel-Lock: sha1:39bJ+2JOih4sLEnyZeb50bmd4lI=
View all headers
On 21.04.2021 13:12, Kerr-Mudd,John wrote:
On Tue, 20 Apr 2021 14:52:58 GMT, wolfgang kern
<nowhere@nospicedham.never.at> wrote:

On 20.04.2021 17:55, Robert Prins wrote:
Just came across this one:

C4 1C 9F AB 47 47 EB F9

Save as a .COM file and run it, even in DOSBox-X. (Do a CLS before
you start it)

Comparable to a gem like "+[>,]+[<.-]" in that language that usually
has an '*' in it's name. ;)

Robert

I can't recommend to do this!

endless:
LES BX,[SI]  ;SI=?? may depend on environment
LAHF         ;who knows what's in the flags ?
STOSW        ;WRITE to ES:DI (try to use cc-flags for color)
INC DI dup2  ;stosw does this also
skips next scrn char

JMP $-7      ;endless or until crash

BX isn't used.
except to set es.

And if SI doesn't point to the screen-seg it writes to another 64KB
block.

I presume it's meant to put stripes down the screen; but al is 0 at start;
aha! I see the jmp goes to 101, which becomes SBB al,9F

yeah, I saw it but forgot to mention where AL get its value.

I thought a .COM file at startup has bx=0x0000,si=0x0100,di=0xFFFE,
es=ds=cs;
LES must somehow pick up the Screen seg.

if DS:SI points to CS:0100 then ES:BX read as AB9f:1cc4 which is at the end of in the graphics-RAM range (nothing to see in text mode) but it overwrites part of the VideoBIOS (it may be RAM-mapped and writable).

OK it's a mini 'Matrix' tribute. Nice.
I cannot try such here.
__
wolfgang



1
rocksolid light 0.7.2
clearneti2ptor