Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You cannot have a science without measurement. -- R. W. Hamming


devel / comp.os.msdos.programmer / Kenny Code for DOS

SubjectAuthor
o Kenny Code for DOSKerr-Mudd, John

1
Kenny Code for DOS

<20230424100439.1118c7c953760b8c9cce7153@127.0.0.1>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9991&group=comp.os.msdos.programmer#9991

  copy link   Newsgroups: comp.os.msdos.programmer comp.lang.asm alt.lang.asm
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: adm...@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: comp.os.msdos.programmer,comp.lang.asm,alt.lang.asm
Subject: Kenny Code for DOS
Date: Mon, 24 Apr 2023 10:04:39 +0100
Organization: Dis
Lines: 43
Message-ID: <20230424100439.1118c7c953760b8c9cce7153@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="81743ca48a2989742d69b4e4feca7370";
logging-data="307087"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZfYUNcCvMiIH5c2f0WKeM/mM5tp5OBZg="
Cancel-Lock: sha1:SswVXNajNKbSuPHCqvdAPxQTb8I=
;X-no-Archive: Maybe
GNU: Terry Pratchett
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
 by: Kerr-Mudd, John - Mon, 24 Apr 2023 09:04 UTC

Smallest possible? Kenny code converters
(m=0, p=1, f=2; so 'A' encodes as 'Mmm')
e.g.
"What's up, Doc?"
encodes as
"Fppmfpmmmfmp'fmm fmfpfm, Mpmppfmmf?"

Encoder 73 bytes:

-> d 100 l49
16AB:0100 B4 3F B5 3D-BA 49 01 89-D6 89 C7 CD-21 91 E3 35 .?.=.I......!..5
16AB:0110 57 BB 46 01-AC AA 0C 20-3C 7A 77 1B-2C 61 72 17 W.F.... <zw.,ar.
16AB:0120 BA DF 09 4F-0A 15 98 F6-F6 D7 AA 88-E0 80 EE 06 ...O............
16AB:0130 77 F4 D7 AA-20 55 FD E2-DB BB 01 00-89 F9 5A 29 w... U........Z)
16AB:0140 D1-B4 40 CD 21-C3 6D 70 66 ..@.!.mpf

Decoder 78 bytes:

-> d 100 l4E
16AB:0100 B4 3F B5 BF-BA 4E 01 89-D6 BF 52 C0-CD 21 91 E3 .?...N....R..!..
16AB:0110 39 57 BA 20-0F 31 C0 22-14 80 C2 41-F6 E6 00 C2 9W. .1."...A....
16AB:0120 AC AA 0C 20-93 BD 04 00-4D 74 13 3A-86 4A 01 75 ... ....Mt.:.J.u
16AB:0130 F7 4D 95 4F-80 EE 06 77-E3 00 D0 AA-49 49 E2 D2 .M.O...w....II..
16AB:0140 43 89-F9 5A 29 D1-B4 40 CD 21-C3 6D 70 66 C..Z)..@.!.mpf

Both use DOS Int 21 for redirection; e.g.
Enken<plaintxt.txt>kencode.txt
Deken<kencode.txt

Asm programs assume bx=0,al=0 at start
Size limit of 15k of plain txt.
Capitalisation catered for.
Nonalpha chars 'encoded' asis, and similarly any
non-kennycode chars in the decode stream left asis.
But GIGO rules still apply!

--
Bah, and indeed Humbug.


devel / comp.os.msdos.programmer / Kenny Code for DOS

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor