Discussion:
Morse Code for DOS
(too old to reply)
Kerr-Mudd, John
2024-08-02 08:40:59 UTC
Permalink
203 bytes

-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0160 BB 01 00 B4-40 CD 21 C3-BB 9C 01 51-AC B9 04 00 ***@.!....Q....
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
--
Bah, and indeed Humbug.
JJ
2024-08-02 19:34:32 UTC
Permalink
Post by Kerr-Mudd, John
203 bytes
-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[.....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
Did you notice the last line of the hex dump has misplaced dash characters?
Which DOS was that from?
Kerr-Mudd, John
2024-08-02 20:19:34 UTC
Permalink
On Sat, 3 Aug 2024 02:34:32 +0700
Post by JJ
Post by Kerr-Mudd, John
203 bytes
-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[.....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
Did you notice the last line of the hex dump has misplaced dash characters?
Which DOS was that from?
No, I hadn't; the hexdump was created by grdb 9.6; I'll try again:

Hmm, seem to be the 'l' parm

->d 100 l1
1634:0100 B4 .
->d 100 l2
1634:0100 B4 3F .?
->d 100 l3
1634:0100 B4 3F B5 .?.
->d 100 l4
1634:0100-B4 3F B5 7F .?.⌂
->d 100 l5
1634:0100 B4-3F B5 7F BA .?.⌂.
->d 100 l6
1634:0100 B4 3F-B5 7F BA CB .?.⌂..
->d 100 l7
1634:0100 B4 3F B5-7F BA CB 01 .?.⌂...
->d 100 l8
1634:0100-B4 3F B5 7F-BA CB 01 CD .?.⌂....
->d 100 l9
1634:0100 B4-3F B5 7F BA-CB 01 CD 21 .?.⌂....!
->d 100 lA
1634:0100 B4 3F-B5 7F BA CB-01 CD 21 91 .?.⌂....!.
->d 100 lB
1634:0100 B4 3F B5-7F BA CB 01-CD 21 91 E3 .?.⌂....!..
->d 100 lC
1634:0100-B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B .?.⌂....!..[
->d 100 lD
1634:0100 B4-3F B5 7F BA-CB 01 CD 21-91 E3 5B 89 .?.⌂....!..[.
->d 100 lE
1634:0100 B4 3F-B5 7F BA CB-01 CD 21 91-E3 5B 89 D6 .?.⌂....!..[..
->d 100 lF
1634:0100 B4 3F B5-7F BA CB 01-CD 21 91 E3-5B 89 D6 BF .?.⌂....!..[...
->d 100 l10
1634:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.⌂....!..[....


Looks as if the prog is putting the '-' in backwards after dumping, 4
back from the end??!!
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-08-06 08:59:41 UTC
Permalink
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
Aw, no-one interested?

Usage:
morse<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt

Example Screenshot:

C:\TEMP>morse<plain.txt
- . . . . . - - . - . . - . . - . - . - . - - - . . - -
- . . . . - . - - - . - - - . . . - . - - - - . .
- .
- - - . . - - - . - - . . - . . . . - - . . - -
- . . . - . . - . - . . . . . . - . . . - -
- . . - . - - - . . - - - - - . . - . - . -
C:\TEMP>morse<plain.txt>dotdash.txt

C:\TEMP>morse -d<dotdash.txt
THE QUICK, BROWN FOX JUMPED? OVER THE LAZY DOG.
C:\TEMP>type plain.txt
The quick, brown Fox jumped? over the lazy dog.
C:\TEMP>


Hmm seems to be a problem on re-running;
morse<plain.txt
just get '.'
--
Bah, and indeed Humbug.
wolfgang kern
2024-08-06 16:35:27 UTC
Permalink
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
Aw, no-one interested?
sorry I got heavy blurring on my last working eye ATM.
I take a look on it after I killed this mad physician.
__
wolfgang
Post by Kerr-Mudd, John
morse<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt
C:\TEMP>morse<plain.txt
- . . . . . - - . - . . - . . - . - . - . - - - . . - -
- . . . . - . - - - . - - - . . . - . - - - - . .
- .
- - - . . - - - . - - . . - . . . . - - . . - -
- . . . - . . - . - . . . . . . - . . . - -
- . . - . - - - . . - - - - - . . - . - . -
C:\TEMP>morse<plain.txt>dotdash.txt
C:\TEMP>morse -d<dotdash.txt
THE QUICK, BROWN FOX JUMPED? OVER THE LAZY DOG.
C:\TEMP>type plain.txt
The quick, brown Fox jumped? over the lazy dog.
C:\TEMP>
Hmm seems to be a problem on re-running;
morse<plain.txt
just get '.'
Auric__
2024-08-06 19:36:21 UTC
Permalink
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
[snip]
Post by Kerr-Mudd, John
Aw, no-one interested?
I looked at it in debug, and while I think it's neat, I don't really
understand asm good enough to really get it. (Also, I don't really use Morse
code in my day-to-day life.) And since I had nothing constructive to say, I
kept quiet.

Having said that, I'm impressed by the file size. If I were to write my own
version, it would probably end up several kb at the very least.
--
I typed ONE WORD and still managed to screw it up.
Kerr-Mudd, John
2024-08-06 20:23:34 UTC
Permalink
On Tue, 6 Aug 2024 19:36:21 -0000 (UTC)
Post by Auric__
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
[snip]
Post by Kerr-Mudd, John
Aw, no-one interested?
I looked at it in debug, and while I think it's neat, I don't really
understand asm good enough to really get it. (Also, I don't really use Morse
code in my day-to-day life.) And since I had nothing constructive to say, I
kept quiet.
Well, it's not that convoluted:

high level synopsis:

read file from StdIn
if no input exit
if not parm of [-]d goto encode section
decode section:
loop over input
[some jiggling to end word with string of blanks]
accumulate bits (from dot or dash) to byte
find bitpattern in list
put ascii offset
[put space if seen]
end loop

AtEnd:
write result to StdOut
exit

encode section:
loop over input
[to ucase]
xlat to byte encoded morse from list
do each bit
write dot or dash
enddo
end loop
goto AtEnd
Post by Auric__
Having said that, I'm impressed by the file size. If I were to write my own
version, it would probably end up several kb at the very least.
I too was impressed (buff's nails!) - but even so, though I'd started
with a naive large table, that was still less than a k!
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-08-07 09:21:00 UTC
Permalink
On Tue, 6 Aug 2024 09:59:41 +0100
"Kerr-Mudd, John" <***@127.0.0.1> wrote:
[]
Post by Kerr-Mudd, John
Hmm seems to be a problem on re-running;
morse<plain.txt
just get '.'
This was due to the rerun seeing a leftover -d parameter, as the PSP
isn't reset.

It works if any other (e.g. -e for encode) parm is explictly specified.


C:\TEMP>morse -e<plain.txt
- . . . . . - - . - . . - . . - . - . - . - - - . . - -
- . . . . - . - - - . - - - . . . - . - - - - . .
- .
- - - . . - - - . - - . . - . . . . - - . . - -
- . . . - . . - . - . . . . . . - . . . - -
- . . - . - - - . . - - - - - . . - . - . -
C:\TEMP>morse -e<plain.txt>morse.txt

C:\TEMP>morse -d<morse.txt
THE QUICK, BROWN FOX JUMPED? OVER THE LAZY DOG.
C:\TEMP>morse -e<plain.txt
- . . . . . - - . - . . - . . - . - . - . - - - . . - -
- . . . . - . - - - . - - - . . . - . - - - - . .
- .
- - - . . - - - . - - . . - . . . . - - . . - -
- . . . - . . - . - . . . . . . - . . . - -
- . . - . - - - . . - - - - - . . - . - . -
C:\TEMP>
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-08-07 20:29:49 UTC
Permalink
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
-> d 100 lCB
16AD:0100 B4 3F B5 7F-BA CB 01 CD-21 91 E3 5B-89 D6 BF E5 .?.....!..[....
16AD:0110 80 57 80 3E-83 00 64 75-4F BB 01 80-AC 3C 2D 74 .W.>..duO....<-t
16AD:0120 0D 77 0A 3C-20 72 0C 38-04 75 05 EB-06 F9 D1 D3 .w.< r.8.u......
16AD:0130 E2 EA 41 08-FF 75 18 50-51 57 B9 2F-00 BF 9C 01 ..A..u.PQW./....
16AD:0140 88 D8 F2 AE-97 2D 71 01-5F 59 AA 58-BA 06 00 3C .....-q._Y.X...<
16AD:0150 20 75 05 4A-75 03 B2 06-AA E2 BE 5A-89 F9 29 D1 u.Ju......Z..).
16AD:0170 3C 61 72 02-24 DF 2C 2C-72 19 D7 99-92 B1 07 D0 <ar.$.,,r.......
16AD:0180 E2 72 02 E2-FA B0 2D D0-E2 14 00 AA-B0 20 AA E2 .r....-...... ..
16AD:0190 F4 B1 02 B0-20 F2 AA 59-E2 D1 EB BF-4C 00 6A 2D .... ..Y....L.j-
16AD:01A0 20 30 38 3C-3E 3F 2F 27-23 21 00 00-00 00 00 73 08<>?/'#!.....s
16AD:01B0 00 06 17 15-0B 03 1D 09-1F 07 18 0A-1B 04 05 08 ................
16AD:01C0 19 12 0D-0F 02 0E 1E-0C 16 14 13 ...........
-> q
204 bytes; copies over cr/lf from infile to output (above version
converts them to spaces)

-> d 100 lCC
1634:0100 B4 3F B5 7F-BA CC 01 CD-21 91 E3 5A-89 D6 BF E5 .?.....!..Z....
1634:0110 80 57 80 3E-83 00 64 75-4E BB 01 80-AC 3C 2D 73 .W.>..duN....<-s
1634:0120 0A 3C 20 72-0D 38 04 75-06 EB 07 D0-E8 D1 D3 E2 .< r.8.u........
1634:0130 EB 41 08 FF-75 18 50 51-57 B9 2F 00-BF 9D 01 88 .A..u.PQW./.....
1634:0140 D8 F2 AE 97-2D 72 01 5F-59 AA 58 BA-06 00 3C 20 ....-r._Y.X...<
1634:0150 75 05 4A 75-03 B2 06 AA-E2 BF 5A 89-F9 29 D1 BB u.Ju......Z..)..
1634:0160 01 00 B4 40-CD 21 C3 BB-71 01 51 AC-B9 01 00 3C ***@.!..q.Q....<
1634:0170 20 72 23 B1-04 74 1F 3C-61 72 02 24-DF D7 88 C2 r#..t.<ar.$....
1634:0180 B1 07 D0 E2-72 02 E2 FA-B0 2E D0 E2-1C 00 AA B0 ....r...........
1634:0190 20 AA E2 F4-41 41 F2 AA-59 E2 CF EB-BD 73 00 55 ...AA..Y....s.U
1634:01A0 32 3F 2F 27-23 21 20 30-38 3C 3E 00-00 00 00 00 2?/'#! 08<>.....
1634:01B0 4C 00 05 18-1A 0C 02 12-0E 10 04 17-0D 14 07 06 L...............
1634:01C0-0F 16 1D 0A-08 03 09 11-0B 19 1B 1C ............
-> q

Usage as before:

morse [-e]<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt

-e only required on rerun after -d
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-08-08 20:25:31 UTC
Permalink
On Wed, 7 Aug 2024 21:29:49 +0100
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
[]
Post by Kerr-Mudd, John
204 bytes; copies over cr/lf from infile to output (above version
converts them to spaces)
[]
Post by Kerr-Mudd, John
morse [-e]<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt
-e only required on rerun after -d
Now 200 bytes: I think that's as low as I can get it.

Decode: No validation of morse input; anything above 0x20 gets its LSB
'decoded' as dash if 1, dot if 0.

-> d 100 lC8
1634:0100 B4 3F B5 7F-BA C8 01 CD-21 91 E3 4D-89 D6 BF E3 .?.....!..M....
1634:0110 80 57 80 2E-83 00 64 74-41 BB 6D 01-51 AC B9 04 .W....dtA.m.Q...
1634:0120 00 3C 20 74-23 B1 01 72-1F 3C 61 72-02 24 DF D7 .< t#..r.<ar.$..
1634:0130 88 C2 B1 07-D0 E2 72 02-E2 FA B0 2E-D0 E2 1C 00 ......r.........
1634:0140 AA B0 20 AA-E2 F4 41 41-F2 AA 59 E2-CF 5A 89 F9 .. ...AA..Y..Z..
1634:0150 29 D1 BB 01-00 B4 40 CD-21 C3 B2 81-81 3C 20 20 )***@.!....<
1634:0160 AC 74 0D 3C-20 72 09 74-04 D0 E8 D0-D2 E2 ED 41 .t.< r.t.......A
1634:0170 08 D2 78 17-50 51 57 B9-2F 00 BF 99-01 88 D0 F2 ..x.PQW./.......
1634:0180 AE 97 2D 6E-01 5F 59 AA-58 B3 06 3C-20 75 05 4B ..-n._Y.X..< u.K
1634:0190 75 03 B3 06-AA E2 C3 EB-B4 73 00 55-32 3F 2F 27 u........s.U2?/'
1634:01A0 23 21 20 30-38 3C 3E 00-00 00 00 00-4C 00 05 18 #! 08<>.....L...
1634:01B0 1A 0C 02 12-0E 10 04 17-0D 14 07 06-0F 16 1D 0A ................
1634:01C0-08 03 09 11-0B 19 1B 1C ........
-> q
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-08-10 13:34:11 UTC
Permalink
On Thu, 8 Aug 2024 21:25:31 +0100
Post by Kerr-Mudd, John
On Wed, 7 Aug 2024 21:29:49 +0100
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
[]
Post by Kerr-Mudd, John
204 bytes; copies over cr/lf from infile to output (above version
converts them to spaces)
[]
Post by Kerr-Mudd, John
morse [-e]<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt
-e only required on rerun after -d
Now 200 bytes: I think that's as low as I can get it.
Decode: No validation of morse input; anything above 0x20 gets its LSB
'decoded' as dash if 1, dot if 0.
I lied; now 197 bytes.

-> d 100 lC5
1634:0100 B4 3F B5 7F-BA C5 01 CD-21 91 E3 4C-89 D6 BF E2 .?.....!..L....
1634:0110 80 57 80 2E-83 00 64 74-6F BB 2D 01-51 AC 31 C9 .W....dto.-.Q.1.
1634:0120 3C 20 72 22-B1 04 74 1F-3C 61 72 02-24 DF D7 88 < r"..t.<ar.$...
1634:0130 C2 B1 07 D0-E2 72 02 E2-FA B0 2E D0-E2 1C 00 AA .....r..........
1634:0140 B0 20 AA E2-F4 41 41 F2-AA 59 E2 D0-5A 89 F9 29 . ...AA..Y..Z..)
1634:0150 D1 BB 01 00-B4 40 CD 21-C3 73 00 55-32 3F 2F 27 ***@.!.s.U2?/'
1634:0160 23 21 20 30-38 3C 3E 00-00 00 00 00-4C 00 05 18 #! 08<>.....L...
1634:0170 1A 0C 02 12-0E 10 04 17-0D 14 07 06-0F 16 1D 0A ................
1634:0180 08 03 09 11-0B 19 1B 1C-B2 81 81 3C-20 20 AC 74 ...........< .t
1634:0190 0F B3 06 3C-20 72 09 74-04 D0 E8 D0-D2 E2 EB 41 ...< r.t.......A
1634:01A0 08 D2 78 15-50 51 57 B9-2F 00 BF 59-01 88 D0 F2 ..x.PQW./..Y....
1634:01B0 AE 97 2D 2E-01 5F 59 AA-58 3C 20 75-03 4B 75 01 ..-.._Y.X< u.Ku.
1634:01C0 AA-E2 C5 EB 87 .....
-> q
--
Bah, and indeed Humbug.
Kerr-Mudd, John
2024-09-24 10:08:13 UTC
Permalink
On Sat, 10 Aug 2024 14:34:11 +0100
Post by Kerr-Mudd, John
On Thu, 8 Aug 2024 21:25:31 +0100
Post by Kerr-Mudd, John
On Wed, 7 Aug 2024 21:29:49 +0100
Post by Kerr-Mudd, John
On Fri, 2 Aug 2024 09:40:59 +0100
Post by Kerr-Mudd, John
203 bytes
[]
Post by Kerr-Mudd, John
204 bytes; copies over cr/lf from infile to output (above version
converts them to spaces)
[]
Post by Kerr-Mudd, John
morse [-e]<plain.txt>dotdash.txt
or
morse -d<dotdash.txt>plain.txt
-e only required on rerun after -d
[]
Post by Kerr-Mudd, John
Post by Kerr-Mudd, John
Decode: No validation of morse input; anything above 0x20 gets its LSB
'decoded' as dash if 1, dot if 0.
lth 207: now with extra codes: quote, Left and Right Bracket, Addition, and
fix to correctly reduce repeats of 7 blanks to one on decode.

B43FB57FBACF01CD2191E35289D6BFE78057802E830064747ABB380151B90400
3844FF7502B107AC3C207222741F3C61720224DFD788C2B107D0E27202E2FAB0
2ED0E21C00AAB020AAE2F44141F2AA59E2CA5A89F929D1BB0100B440CD21C352
366D002A736155323F2F2723212030383C3E786A0031004C5A05181A0C02120E
1004170D1407060F161D0A080309110B191B1CB281AC3804740FB3063C207209
7404D0E8D0D2E2ED4108D27814505157B93400BF5F0188D0F2AE972C395F59AA
583C2075034B7503AAB306E2C6EB83
Post by Kerr-Mudd, John
--
Bah, and indeed Humbug.
--
Bah, and indeed Humbug.
wolfgang kern
2024-10-04 06:29:40 UTC
Permalink
Post by Kerr-Mudd, John
Post by Kerr-Mudd, John
Decode: No validation of morse input; anything above 0x20 gets its LSB
'decoded' as dash if 1, dot if 0.
lth 207: now with extra codes: quote, Left and Right Bracket, Addition, and
fix to correctly reduce repeats of 7 blanks to one on decode.
B43FB57FBACF01CD2191E35289D6BFE78057802E830064747ABB380151B90400
3844FF7502B107AC3C207222741F3C61720224DFD788C2B107D0E27202E2FAB0
2ED0E21C00AAB020AAE2F44141F2AA59E2CA5A89F929D1BB0100B440CD21C352
366D002A736155323F2F2723212030383C3E786A0031004C5A05181A0C02120E
1004170D1407060F161D0A080309110B191B1CB281AC3804740FB3063C207209
7404D0E8D0D2E2ED4108D27814505157B93400BF5F0188D0F2AE972C395F59AA
583C2075034B7503AAB306E2C6EB83
sorry for I lost track on this (my last working eye blur again).
I may read and comment later.
__
wolfgang

Loading...