Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Staff meeting in the conference room in %d minutes.


programming / comp.lang.asm.x86 / Pong 256

SubjectAuthor
* Pong 256Kerr-Mudd,John
+* Re: Pong 256Kerr-Mudd,John
|`- Re: Pong 256Kerr-Mudd,John
`* Tetris was: Re: Pong 256Kerr-Mudd,John
 +* Re: Tetris was: Re: Pong 256wolfgang kern
 |`- Re: Tetris was: Re: Pong 256Kerr-Mudd,John
 `- Re: Tetris was: Re: Pong 256wolfgang kern

1
Subject: Pong 256
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Thu, 15 Aug 2019 14:58 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.invalid.org (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Pong 256
Date: Thu, 15 Aug 2019 14:58:16 -0000 (UTC)
Organization: dis
Lines: 19
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsAAACA28D39FF5admin127001@144.76.35.198>
Injection-Info: h2725194.stratoserver.net; posting-host="2414b50fdad5d98e05a7869cca35db30";
logging-data="2127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4YaorClitUyveczvyQlX7/9Gi5xzllW0="
User-Agent: Xnews/2006.08.24
Cancel-Lock: sha1:OiixTtRVfo3uj53HHOIbsxJXo6k=
View all headers
A pong (the 1st computer video game?) in <255 bytes; 

I'll give the hexcode 1st to see if there's any takers. Needs DOS.


B013CD10B800A0500731FF31C949F3AABB5F0053BEA000BD0100BF64FF9731FF
FDE87100FC5A74D8524B5389C389F7B20EE8B5004B50BADA03ECA80875F8ECA8
0874FB58B200E8A00000E03C0274043CC67502F6DC01EE5A5B81FEE600720D50
2C0538D8587405720243434B5352BF3D01E821005B5974885197B402CD16A804
740143A80874014BB401CD16748FB80300CD1058C3B20238D37206B2BD38D372
0288D339FE753038D8720B8D570A38D07304F7DDEB21BEA000E44026FE8500FA
268A8D00FA80F9067433505781F73D01B80F00F3AB5F58B20AB90A00E80A00E2
FBB200E8030080EB0B575052B84001B700F7E34301C75826880592585FC3



--
Bah, and indeed, Humbug.



Subject: Re: Pong 256
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Sun, 18 Aug 2019 15:28 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.invalid.org (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: Pong 256
Date: Sun, 18 Aug 2019 15:28:51 -0000 (UTC)
Organization: dis
Lines: 24
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsAAAFA7ADFBAEBadmin127001@144.76.35.198>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198>
Injection-Info: h2725194.stratoserver.net; posting-host="38d669deddaae76af9ea05a9f0fad562";
logging-data="14734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S4vA/kuL6u+DOKzSuSr4hzQptewvTOMM="
User-Agent: Xnews/2006.08.24
Cancel-Lock: sha1:I2jsfbON+am2bEb1E2kGjbeb1Nw=
View all headers
On Thu, 15 Aug 2019 14:58:16 GMT, "Kerr-Mudd,John"
<notsaying@nospicedham.invalid.org> wrote:

A pong (the 1st computer video game?) in <255 bytes; 

I'll give the hexcode 1st to see if there's any takers. Needs DOS.


B013CD10B800A0500731FF31C949F3AABB5F0053BEA000BD0100BF64FF9731FF
FDE87100FC5A74D8524B5389C389F7B20EE8B5004B50BADA03ECA80875F8ECA8
0874FB58B200E8A00000E03C0274043CC67502F6DC01EE5A5B81FEE600720D50
2C0538D8587405720243434B5352BF3D01E821005B5974885197B402CD16A804
740143A80874014BB401CD16748FB80300CD1058C3B20238D37206B2BD38D372
0288D339FE753038D8720B8D570A38D07304F7DDEB21BEA000E44026FE8500FA
correction:                                 replace^E440^ with 88D0 
268A8D00FA80F9067433505781F73D01B80F00F3AB5F58B20AB90A00E80A00E2
FBB200E8030080EB0B575052B84001B700F7E34301C75826880592585FC3

Discussion continued over in a.l.a.


--
Bah, and indeed, Humbug.



Subject: Re: Pong 256
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Mon, 2 Sep 2019 09:35 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: notsay...@nospicedham.invalid.org (Kerr-Mudd,John)
Newsgroups: comp.lang.asm.x86
Subject: Re: Pong 256
Date: Mon, 2 Sep 2019 09:35:53 -0000 (UTC)
Organization: dis
Lines: 30
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsAABE6BD12EABDadmin127001@144.76.35.198>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198> <XnsAAAFA7ADFBAEBadmin127001@144.76.35.198>
Injection-Info: h2725194.stratoserver.net; posting-host="70ea153a36630437c63647be7c4e2dd5";
logging-data="30158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//haUnxiDi4yugLiHofRdHaOU9y1com48="
User-Agent: Xnews/2006.08.24
Cancel-Lock: sha1:EpXuVka5+SGi8HC2P/idOqanusM=
View all headers
On Sun, 18 Aug 2019 15:28:51 GMT, "Kerr-Mudd,John"
<notsaying@nospicedham.invalid.org> wrote:

On Thu, 15 Aug 2019 14:58:16 GMT, "Kerr-Mudd,John"
<notsaying@nospicedham.invalid.org> wrote:

A pong (the 1st computer video game?) in <255 bytes; 

I'll give the hexcode 1st to see if there's any takers. Needs DOS.


B013CD10B800A0500731FF31C949F3AABB5F0053BEA000BD0100BF64FF9731FF
FDE87100FC5A74D8524B5389C389F7B20EE8B5004B50BADA03ECA80875F8ECA8
0874FB58B200E8A00000E03C0274043CC67502F6DC01EE5A5B81FEE600720D50
2C0538D8587405720243434B5352BF3D01E821005B5974885197B402CD16A804
740143A80874014BB401CD16748FB80300CD1058C3B20238D37206B2BD38D372
0288D339FE753038D8720B8D570A38D07304F7DDEB21BEA000E44026FE8500FA
correction:                                 replace^E440^ with 88D0 
268A8D00FA80F9067433505781F73D01B80F00F3AB5F58B20AB90A00E80A00E2
FBB200E8030080EB0B575052B84001B700F7E34301C75826880592585FC3

Discussion continued over in a.l.a.


A better version is Over There now.


--
Bah, and indeed, Humbug.



Subject: Tetris was: Re: Pong 256
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Fri, 26 Feb 2021 11:34 UTC
References: 1
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: Tetris was: Re: Pong 256
Date: Fri, 26 Feb 2021 11:34:19 -0000 (UTC)
Organization: dis
Lines: 86
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsACDD7471C14EBadmin127001@144.76.35.252>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198>
Injection-Info: reader02.eternal-september.org; posting-host="d1dfbc0c1756eae06d5939fa2f6ce3f8";
logging-data="1136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A+6tCZ4yzrsEXQpeRZfztmSsU7I+JE1Q="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:NI8JGXg1k6oEKZMlizfuqD6Q/P4=
View all headers
On Thu, 15 Aug 2019 14:58:16 GMT, "Kerr-Mudd,John" <notsaying@nospicedham.invalid.org> wrote:

A pong (the 1st computer video game?) in <255 bytes; 

I'll give the hexcode 1st to see if there's any takers. Needs DOS.

[snip]
In a similar vein: Tetris in 256 bytes

I took John David Chapman's 1999 code & reduced it by 30 bytes
Here's the text from his source:

;-----------------------------------------------------------------------------
;
;  []                       TET - 256 byte Tetris                  [][][]
;  [][]                                                            []
;  []                                by                                  []
;                []                                         []           []
;        [][][]  [][]        James David Chapman            [][]  [][]   []
;  [][][][]  []    []                                       []  [][]     []
;-----------------------------------------------------------------------------
;
;  Here is a 256 byte version of of the all time classic game Tetris...
;
;  To play, use the left and right SHIFT keys to move the current block, and
; the ALT key to rotate it.  Press CONTROL to exit.
;
;  I have not had the amount of time that I would have liked to write this
;program, so am sure that there is some optimization still left to be done. If
;you find a saving somewhere along the line, do let me know.
;
;  Another idea for a 256 compo? -  256 scramble.  Could be fun.
;
;                                                 James David Chapman 1999.
;-----------------------------------------------------------------------------
;Features:
;       Cool looking blocks             Almost as good as graphics mode ones.
;       Random shape                    Taken from the timer.
;       Random colours                  Also taken from timer.
;       Rotatable shape                 I hated writing this bit, as expected.
;       Block stop check                Stops blocks when they hit another one
;       Solidity                        Prevent sideways crashing into blocks.
;       Dual loop timing                Allows for multiple input per advance.
;       End of game effect              More of a useful side effect really!
;       Full lines removed              A quickly cobbled together routine.
;       Frame                           Sets a maximum 10 block width for game.
;       End program key                 Better than using Control-C etc.
;No space for:
;       Scoring                         +2 for a line, +4 if the bottom line..
;       Beeps                           a simple beep on line removal...
;       Speedup                         should increase in speed over time...
;       Graphics mode                   I had a lovely graphics version, and
;       Nice enlarge effect             a cool block effect which was too big.
;-----------------------------------------------------------------------------
[[code]]
;-----------------------------------------------------------------------------
        ;(c) JDC 1999.
        ;jchap@globalnet.co.uk
        ;http://www.users.globalnet.co.uk/~jchap/
;-----------------------------------------------------------------------------



I've used the saved space to tick off the beep on line removal [8] & a simple score [22]
(1 point per line cleared)


Here's my hexdump:

B80100CD106800B807531FE44089C383E30774F7B401C1E0032E8A9FF701C1E3
04BFC4FF83C750BD040091914D74F560BED20789F7B90A00B20826AD20E2ABE2
F9ADB8BA09AB741083C7502EFE06FF0160B402B207CD216183EF6883EE68ABAD
73D32EA0FF01D40A0D3030BF1800268825AFAA6189FE53A01704D0E87301AFD0
E873024F4FD0E87302CD20D0E87312B110BA1111C1C304D1D27302D1CBE2F589
D3B00899E8240074045B89F7525ABADA03E817007403E952FFB104ECA80874FB
ECA80875FBE2F491682B0160B91000F6C103750383C748D1C3731A08D2741326
0A755081FF8007720208C6ABE2E184C661C3260A35AFEBF4E2C66C4EF066E800


WK: used DOS int 21 for the beep, int 20 for exit

His Home page has gone, so I haven't been able to contact him.

--
Bah, and indeed, Humbug.



Subject: Re: Tetris was: Re: Pong 256
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sat, 27 Feb 2021 15:15 UTC
References: 1 2
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: Tetris was: Re: Pong 256
Date: Sat, 27 Feb 2021 16:15:08 +0100
Organization: Aioe.org NNTP Server
Lines: 95
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <s1dnlv$1ha2$1@gioia.aioe.org>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198>
<XnsACDD7471C14EBadmin127001@144.76.35.252>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="979ecfa39ffd6128384f94cfbd230b5d";
logging-data="7143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19po/vHWqJcc6sYuvdBR37H/b+z3RUSCcg="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:86.0) Gecko/20100101
Thunderbird/86.0
Cancel-Lock: sha1:+ctCYV8Z3ztNHx8ABDP8M2IBnQI=
View all headers
On 26.02.2021 12:34, Kerr-Mudd,John wrote:
< Here's my hexdump:

and here is what I see :)  (thick glasses wont help)

0100  B80100  |CD10   mode01  rare supported today
0105  6800B8  |07     es = screen
0109  53      |1F     ds = bx    bx=0 ?
010b  E440    |89C3   in[40]     bx=ax
010f  83E307  |74f7   AND ax,07  JZ 114+f7=010b
0114  B401            ah=1
0116  C1E003          SHL ax,3
0119  2E8A9FF701      bl=cs:01f7+bx
011e  C1E304          SHL bx,4
0121  BFC4FF          di=ffc4

0124  83C750          ADD di,50
0127  BD0400          bp=0400
012a  91
012b  91              swap ax,cx
012c  4D              DEC bp
012d  74F5            JZ 0124
012f  60              pusha
0130  BED207  |89F7   si=07d2 di=si

0135  B90A00  |B208   cx=07d2 dl=08

013a  26AD            es:LODSW
013c  20E2            AND dl,ah
013e  AB      |E2 F9  STOSW  LOOP 141+f9=013a

0141  AD      |B8BA09 ?LODSW? ax= 09ba  ;║ blue/blink/high
0145  AB      |7410   STOSW  JZ 0158
0148  83C750          ADD di,50
014b  2EFE06FF01      INC byte[cs:01ff]
0150  60              PUSHA
0151  B402 |B207 |CD21  INT21_02/07
0157  61              POPA

0158  83EF68  |83EE68 SUB si,68 SUB di 68
015e  AB      |AD     STOSW  LODSW
0160  73D3            JNC 162+d3= 0135
0162  2EA0FF01|D40A   al=[cs:-1ff]  AAM
0168  0D3030  |BF1800 OR ax,3030  di=1800
016e  268825          [es:di]=ah
0171  AF       |AA    SCASW  STOSB
0173  61 |89FE |53    POPA  si=di inc bx
0177  A01704   |D0E8  al=[0417]  SHR al,1
017c  7301     |AF    JNC 017f
017f  D0E8     |7302  SHR al,1 JNC 0175
0183  4F4F            di-2
0185  D0E8     |7302  SHR al,1 JNC 017b
0189  CD20            ;end
018b  D0E8    |7312   SHR al,1 JNC 18f+12=01a1
018f  B110    |BA1111 cl=10 dx=1111

0194  C1C304          ROL bx,4
0197  D1D2     |7302  RLC dx,1 JNC 019f
019b  D1CB     |E2F5  ROR bx,1 LOOP f5+19f=0194

019f  89D3            bx=dx
01a1  B008     |99    al=8  cwd
01a4  E82400   |7404  CALL 01cB
01a9  5B       |89F7  POP bx  di=si
01ac  52              POP dx
01ad  5A      |BADA03 PUSH dx  dx=03da
01b1  E81700  |7403   CALL 01cd  JZ 01b9
01b6  E942ff          JMP 1b9+ff42= 00fb ???

01b9  b104            cl=4

01bb  EC |A808 |75FB  in ax,dx TEST al,08 JNZ 01bb

01c0  EC |A808 |75FB
01c5  E2F4            LOOP 01bb
01c7  91 |682B01      SWAP ax cx   PUSH 0128
01cb  60 B91000       PUSHA  cx=0010

01cf  F6C103 7503     TEST cl,3  JNZ 01d7
01d4  83C748          ADD di,48
01d7  D1C3 |731A      ROL bx,1  JNC 1db+1a=01f5
01db  08D2 |7413      OR dl,dl JZ  1df+13=01f2
01df  260A7550        OR dh,[es:di+50]
01e3  81FF8007 |7202  CMP di,0780 JC 01eb
01e9  08C6            OR dh,al
01eb  AB              STOSW
91ec  E2E1            LOOP 1ee+e1=01cf
01ee  84C6 61 C3      TEST dh,al  POPA  RET

01f2  260A35          OR dh,[es:fdi]
01f5  AF EBF4         SCASW  JMP 1f8+f4= 01ec
01f8  E2C6            LOOP 1fa+c6= 01c0
01fa  6C 4E           INSB  DEC si
01fc  F066E800        LOCK BIG CALL ???  crash!



Subject: Re: Tetris was: Re: Pong 256
From: Kerr-Mudd,John
Newsgroups: comp.lang.asm.x86
Organization: dis
Date: Sat, 27 Feb 2021 20:52 UTC
References: 1 2 3
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: Tetris was: Re: Pong 256
Date: Sat, 27 Feb 2021 20:52:04 -0000 (UTC)
Organization: dis
Lines: 156
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <XnsACDED4479CF04admin127001@144.76.35.252>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198> <XnsACDD7471C14EBadmin127001@144.76.35.252> <s1dnlv$1ha2$1@gioia.aioe.org>
Injection-Info: reader02.eternal-september.org; posting-host="979ecfa39ffd6128384f94cfbd230b5d";
logging-data="11687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19i8IFln8nqg/xQAg8b4UkUPNJ3TccTKOc="
User-Agent: Xnews/2009.05.01
Cancel-Lock: sha1:huck6c/WrITKGUYEs6d/fIwEeyQ=
View all headers
On Sat, 27 Feb 2021 15:15:08 GMT, wolfgang kern
<nowhere@nospicedham.never.at> wrote:

On 26.02.2021 12:34, Kerr-Mudd,John wrote:
< Here's my hexdump:

and here is what I see :)  (thick glasses wont help)

in the following I've added labels above; and comment below sections


0100  B80100  |CD10   mode01  rare supported today
wide screen  40*25 for text tetris

0105  6800B8  |07     es = screen
0109  53      |1F     ds = bx    bx=0 ?
yup ; allows access to keystate at 0000:0x417

010b  E440    |89C3   in[40]     bx=ax
010f  83E307  |74f7   AND ax,07  JZ 114+f7=010b
0114  B401            ah=1
0116  C1E003          SHL ax,3
0119  2E8A9FF701      bl=cs:01f7+bx
load shape from table

011e  C1E304          SHL bx,4
random shape, colour (with hilight bit on)

0121  BFC4FF          di=ffc4
start posn
 

0124  83C750          ADD di,50
0127  BD0400          bp=0400
nope; bp=0004
012a  91  swap ax,cx


mainloop:
012b  91              swap ax,cx
restore ax
012c  4D              DEC bp
012d  74F5            JZ 0124
 do 4 times

012f  60              pusha
0130  BED207  |89F7   si=07d2 di=si

0135  B90A00  |B208   cx=07d2 dl=08
no! cx=0A; line lth ; dl=8=hilite attribute bit set

013a  26AD            es:LODSW
013c  20E2            AND dl,ah
test if full line (all 10 attributes high)
013e  AB      |E2 F9  STOSW  LOOP 141+f9=013a

0141  AD      |B8BA09 ?LODSW? ax= 09ba  ;║ blue/blink/high
bright blue double vertical lines at edge
0145  AB      |7410   STOSW  JZ 0158
flag still valid from last AND

0148  83C750          ADD di,50
drop line
014b  2EFE06FF01      INC byte[cs:01ff] 
up score

0150  60              PUSHA
0151  B402 |B207 |CD21  INT21_02/07
0157  61              POPA
beep

0158  83EF68  |83EE68 SUB si,68 SUB di 68
015e  AB      |AD     STOSW  LODSW
0160  73D3            JNC 162+d3= 0135
; have printed screen

0162  2EA0FF01|D40A   al=[cs:-1ff]  AAM
0168  0D3030  |BF1800 OR ax,3030  di=1800
016e  268825          [es:di]=ah
0171  AF       |AA    SCASW  STOSB
print score

0173  61 |89FE |53    POPA  si=di inc bx
0177  A01704   |D0E8  al=[0417]  SHR al,1
querykeys

017c  7301     |AF    JNC 017f      scasw
017f  D0E8     |7302  SHR al,1 JNC 0175
0183  4F4F            di-2
left-2, right+2

0185  D0E8     |7302  SHR al,1 JNC 017b
0189  CD20            ;end
018b  D0E8    |7312   SHR al,1 JNC 18f+12=01a1
018f  B110    |BA1111 cl=10 dx=1111

0194  C1C304          ROL bx,4
0197  D1D2     |7302  RLC dx,1 JNC 019f
019b  D1CB     |E2F5  ROR bx,1 LOOP f5+19f=0194

019f  89D3            bx=dx
rotate shape

01a1  B008     |99    al=8  cwd
01a4  E82400   |7404  CALL 01cB
01a9  5B       |89F7  POP bx  di=si
01ac  52              POP dx
01ad  5A      |BADA03 PUSH dx  dx=03da
01b1  E81700  |7403   CALL 01cd  JZ 01b9
01b6  E942ff          JMP 1b9+ff42= 00fb ???
; 10b; jnz newblock

sadly the jmp back is too far for a short jnz


01b9  b104            cl=4
delay count

01bb  EC |A808 |75FB  in ax,dx TEST al,08 JNZ 01bb

01c0  EC |A808 |75FB
01c5  E2F4            LOOP 01bb
01c7  91 |682B01      SWAP ax cx   PUSH 0128
save ax, ret to mainloop later

test/putrtn:
01cb  60 B91000       PUSHA  cx=0010

01cf  F6C103 7503     TEST cl,3  JNZ 01d7
01d4  83C748          ADD di,48
01d7  D1C3 |731A      ROL bx,1  JNC 1db+1a=01f5
01db  08D2 |7413      OR dl,dl JZ  1df+13=01f2
01df  260A7550        OR dh,[es:di+50]
test next line clear

01e3  81FF8007 |7202  CMP di,0780 JC 01eb
01e9  08C6            OR dh,al
01eb  AB              STOSW
91ec  E2E1            LOOP 1ee+e1=01cf
01ee  84C6 61 C3      TEST dh,al  POPA  RET

01f2  260A35          OR dh,[es:di]
test overwrite posn is clear

01f5  AF EBF4         SCASW  JMP 1f8+f4= 01ec

data:
01f8  E2C6            LOOP 1fa+c6= 01c0
01fa  6C 4E           INSB  DEC si
01fc  F066E800        LOCK BIG CALL ???  crash!
these last bytes are the tetris shape data!
(final byte is for the score)

--
Bah, and indeed, Humbug.



Subject: Re: Tetris was: Re: Pong 256
From: wolfgang kern
Newsgroups: comp.lang.asm.x86
Organization: Aioe.org NNTP Server
Date: Sun, 28 Feb 2021 14:07 UTC
References: 1 2
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: Tetris was: Re: Pong 256
Date: Sun, 28 Feb 2021 15:07:28 +0100
Organization: Aioe.org NNTP Server
Lines: 8
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <s1g834$13nj$1@gioia.aioe.org>
References: <XnsAAACA28D39FF5admin127001@144.76.35.198>
<XnsACDD7471C14EBadmin127001@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="48528627c2dae762d944f35b5ca0c97c";
logging-data="20881"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oLv3jsI1lQoHvrwgWDG/BOYRDbF27Wo4="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:86.0) Gecko/20100101
Thunderbird/86.0
Cancel-Lock: sha1:8IWAsp/+J2bxK6MSKr7lzFJj8C4=
View all headers
On 26.02.2021 12:34, Kerr-Mudd,John wrote:

as you can see, I cannot trust my eyes anymore, every point starts shifting and blurring, so I better give up on anal-ice hex-dumps.
But it was really funny for many years. Thanks!
__
wolfgang



1
rocksolid light 0.7.2
clearneti2ptor