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
On 20.04.2021 17:55, Robert Prins wrote:skips next scrn char
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 crashexcept to set es.
BX isn't used.
And if SI doesn't point to the screen-seg it writes to another 64KB
block. __
wolfgang
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:skips next scrn char
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 crashexcept to set es.
BX isn't used.
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
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.I cannot try such here.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 89:47:02 |
Calls: | 6,496 |
Calls today: | 7 |
Files: | 12,100 |
Messages: | 5,277,556 |