Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Save gas, don't use the shell.


devel / comp.os.msdos.programmer / Re: Small Tetris

SubjectAuthor
o Small TetrisKerr-Mudd, John

1
Re: Small Tetris

<20230519181818.ac1d4b1ad93fcf20a569606d@127.0.0.1>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=307&group=comp.os.msdos.programmer#307

  copy link   Newsgroups: alt.lang.asm comp.lang.asm.x86 comp.os.msdos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: admin@nospicedham.127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.lang.asm,comp.lang.asm.x86,comp.os.msdos.programmer
Subject: Re: Small Tetris
Date: Fri, 19 May 2023 18:18:18 +0100
Organization: Dis
Lines: 63
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <20230519181818.ac1d4b1ad93fcf20a569606d@127.0.0.1>
References: <20211121135031.93ec8b03d30970ef0c90c976@127.0.0.1>
<20211204140842.304b5e3512e1e8ef81960a3c@127.0.0.1>
<20211204160125.4dc4a656f7ee07f504714c04@127.0.0.1>
<20211204204401.dce2c6b0cf26294f3d89dbf7@127.0.0.1>
<20211214102517.e17f51e21b0fadadcf95a829@127.0.0.1>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="f5e2745d9daf79de8a025d1bcd843580";
logging-data="824249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193g9RXWGmIsaupxnXQXP7SMO34f4LTflI="
Cancel-Lock: sha1:rreG7YIR0wt/siTRv2pqAIGQ+wQ=
 by: Kerr-Mudd, John - Fri, 19 May 2023 17:18 UTC

On Tue, 14 Dec 2021 10:25:17 +0000
"Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:

> On Sat, 4 Dec 2021 20:44:01 +0000
> "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:
>
> > On Sat, 4 Dec 2021 16:01:25 +0000
> > "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:
> >
> > > On Sat, 4 Dec 2021 14:08:42 +0000
> > > "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:
> > >
> > > > On Sun, 21 Nov 2021 13:50:31 +0000
> > > > "Kerr-Mudd, John" <admin@nospicedham.127.0.0.1> wrote:
> > > >
> > > > >
> > > > > I've been looking at small tetris games; doable in <256 bytes; I'm
> > > > > at 241 (219 with a different look), I'll look at adding "drop" and
> > > > > maybe scoring.
> > > > >
> > > > Dropping & scoring (up to 9!) added. still 17 bytes spare!
> > > > There's also a(n unavoidable?) bigjumpback in there that wastes 3.
> > > > If I could only make the keyin rtn shorter.
> > > >
> > > []
> > >
> > > >
> > > Sorry if it wraps: here's one where you can max out the score at 99!
> > > (but only 1 byte left)
> > >
> > > [I've copied in dos programmer]
> > /msdos/
> > >
>

Revisited: now a pure 8086 version (previous ones require 186 for push
value; rol reg,num; and pusha/popa)

255 bytes: still 1 long jmp and 4 lots of push pop cx, so maybe a few bytes
still to squeeze out. Oh, scoring is now unrestricted. No sounds or
speedup, just std play with csr keys (and Esc)

-> d 100 l100
1632:0100 40 CD 10 B7-B8 53 07 06-1F E4 40 83-E0 07 BB 08 @....S....@.....
1632:0110 08 08 C7 95-8B AE F6 01-81 E5 F0 0F-41 BF DC FF ............A...
1632:0120 E3 04 E2 05-B1 0A 83 C7-50 57 55 51-57 BF 9C 07 ........PWUQW...
1632:0130 B1 0C B8 DB-08 F3 AB BE-4E 07 83 EF-68 B1 0A B6 ........N...h...
1632:0140 08 AB A4 22-34 A4 E2 FA-AB 74 19 83-C7 50 53 50 ..."4....t...PSP
1632:0150 BB 42 00 4B-4B B0 30 86-07 0C 10 3C-39 74 F4 40 .B.KK.0....<9t.@
1632:0160 88 07 58 5B-83 EE 64 73-D1 5F 59 B4-01 CD 16 74 ..X[..ds._Y....t
1632:0170 33 98 CD 16-88 E0 3C 01-74 6D 3C 50-75 02 31 C9 3.....<.tm<Pu.1.
1632:0180 3C 4D 75 01-AF 3C 4B 75-02 4F 4F 3C-48 75 15 51 <Mu..<Ku.OO<Hu.Q
1632:0190 B9 04 10 B8-11 11 D3 C5-D1 D0 73 02-D1 CD FE CD ..........s.....
1632:01A0 75 F4 95 59-99 89 D8 E8-1F 00 75 43-5A 5A BA DA u..Y......uCZZ..
1632:01B0 03 E8 15 00-74 03 E9 50-FF 51 B1 06-EC A8 08 74 ....t..P.Q.....t
1632:01C0 FB E2 F9 91-59 BE 20 01-56 51 52 57-B1 10 F6 C1 ....Y. .VQRW....
1632:01D0 03 75 03 83-C7 48 D1 C5-73 12 08 D2-74 0C AB 0A .u...H..s...t...
1632:01E0 75 4E E2 EA-84 C6 5F 5A-59 C3 0A 35-AF EB F3 5D uN...._ZY..5...]
1632:01F0 5F 83 FF DC-75 B8 C3 2C-37 16 F7 40-F7 60 03 00 _...u..,7..@.`..

--
Bah, and indeed Humbug.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor