• Kenny Code for DOS

    From Kerr-Mudd, John@admin@127.0.0.1 to alt.lang.asm,comp.os.msdos.programmer on Thu Aug 15 10:03:11 2024
    From Newsgroup: alt.lang.asm

    Looks as if xposting to clax isn't working, so dropped on this repost. Kennycode encodes alphas as 'mfp' triplets -
    info (& online conversion): https://www.geocachingtoolbox.com/index.php?lang=en&page=kennyCode
    DOS version in 125 bytes
    d 100 l7D
    16AD:0100 B4 3F B5 7F-BA 7D 01 CD-21 91 E3 41-89 D6 BF BE .?..}..!..A.... 16AD:0110 80 57 80 3E-83 00 64 74-38 BB 4E 01-AC AA 0C 20 .W.>..dt8.N.... 16AD:0120 3C 7A 77 1B-2C 61 72 17-BA DF 09 4F-0A 15 98 F6 <zw.,ar....O.... 16AD:0130 F6 D7 AA 88-E0 80 EE 06-77 F4 D7 AA-20 55 FD E2 ........w... U.. 16AD:0140 DB BB 01 00-89 F9 5A 29-D1 B4 40 CD-21 C3 6D 70 ......Z)..@.!.mp 16AD:0150 66 BA 03 60-B4 00 22 34-AC AA 0C 20-B3 03 FE CB f..`.."4... .... 16AD:0160 78 17 3A 87-4E 01 75 F6-4F 88 D8 D5-03 88 C4 FE x.:.N.u.O....... 16AD:0170 CA-75 E5 49 49-00 F0 40 AA-E2 D6 EB C4 .u.II..@.....
    q
    Same fileio as morse coder; '-d' to decode, '-e' or no parm to encode.
    Caps on 1st letter of triplet means cap letter on decode & v.v.
    c.32k filesize limit.
    Example usage:
    C:\TEMP>echo "Hi! I'm Kenny!">kenpln.txt
    C:\TEMP>kencode -e<kenpln.txt
    "Mfpmff! Mff'ppm Pmpmppppppppffm!"
    C:\TEMP>kencode -e<kenpln.txt>kencode.txt
    C:\TEMP>kencode -d<kencode.txt
    "Hi! I'm Kenny!"
    C:\TEMP>
    --
    Bah, and indeed Humbug.
    --- Synchronet 3.21d-Linux NewsLink 1.2