Re: Base85 for DOS

Liste des GroupesRevenir à com programmer 
Sujet : Re: Base85 for DOS
De : admin (at) *nospam* 127.0.0.1 (Kerr-Mudd, John)
Groupes : alt.lang.asm comp.os.msdos.programmer
Date : 24. Aug 2024, 14:14:12
Autres entêtes
Organisation : Dis
Message-ID : <20240824141412.c019381b9be3d73a70235303@127.0.0.1>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
On Sat, 24 Aug 2024 10:13:38 +0200
wolfgang kern <nowhere@never.at> wrote:

On 24/08/2024 09:15, Kerr-Mudd, John wrote:
On Fri, 23 Aug 2024 20:17:59 +0100
"Kerr-Mudd, John" <admin@127.0.0.1> wrote:
 
On Fri, 23 Aug 2024 14:44:20 +0200
wolfgang kern <nowhere@never.at> wrote:
>
On 23/08/2024 09:32, JJ asked:
>
BTW, was there a tool specifically for converting DEBUG's dump to binary? Or
converting it to a series of DEBUG's Edit command?
>
back then (~1984..) there were several tools available.
I wrote one 1985  as a DOS-extender,
but we had no internet so it was never published.
you may find a lot of later attempts from many sources now:
"HEX2BIN" or similar names with .ASM,.OBJ,.COM or even .EXE.
>
this task is/was that easy and short...
so whenever needed this few bytes can be written any time.
>
>
The 'problem' with debug output is that it has address prefixes and
display values at the end that need stripping out to get pure hex.
>
I could post code in hex, if that's more acceptable - it's just easier
for me to just CnP a debug dump.
>
I did hex2bin and v versa a while back; OK I'll revisit it to have a
prog that does both.
 
Just Hex2Bin for debug typists!
 
BAC301B93CFEB43FCD2191E3F489D689D757AC3C30720E244FD43730F375054F
8A25D510AAE2EB5A89F929D143B440CD214BEBCF
 
(Is OK up to 62k, I think, might have problem with larger files if size
odd, I haven't tested it- prog desn't allow for hex pair to be split over
read boundary)
 
  e.g.
hex2bin <hex2bin.hex >newh2bin.com
 
I *think* one can do
 
debug hex2bin.com
e100 <Paste hex string>
rcx 34 (check!)
w
q
 
(might be an input limit in debug, if so do CnP in smaller bits)
 
could work, but I'm afraid there is a much smaller size limit.
 
Both : hex1a  (-d for dump, else assume input is display hex)
 
B43FB552BAC301CD2191E3F989D6BF855457803E8300647529ACD41086E02704
[...]

even space(s) saved ...it's much harder to read than B4 3F B9 C8 6E
and for odd file size just fill up with NOP or SPACE until 512 bounds.

Would you prefer a version that puts a space every 4 pairs? (106 bytes)

B43FB552 BAC301CD 2191E3F9 89D6BF8A 5457803E 83006475 31ACD410 86E02704
F01440AA 4384F375 F3F6C307 7503B020 AA80E3BF 7504B80D 0AABE2DD 5AB30189
F929D1B4 40CD214B EBB6AC3C 30721709 ED741288 C295244F D43730F7 75F588D4
D510AA31 C095E2E2 EBD2


(More spaces=more lines!)

--
Bah, and indeed Humbug.

Date Sujet#  Auteur
20 Aug 24 * Base85 for DOS35Kerr-Mudd, John
20 Aug 24 `* Re: Base85 for DOS34Kerr-Mudd, John
20 Aug 24  `* Re: Base85 for DOS33Kerr-Mudd, John
22 Aug 24   `* Re: Base85 for DOS32Kerr-Mudd, John
22 Aug 24    `* Re: Base85 for DOS31Kerr-Mudd, John
22 Aug 24     `* Re: Base85 for DOS30Kerr-Mudd, John
23 Aug 24      `* Re: Base85 for DOS29JJ
23 Aug 24       +- Re: Base85 for DOS1Kerr-Mudd, John
23 Aug 24       +* Re: Base85 for DOS16Kerr-Mudd, John
23 Aug 24       i`* Re: Base85 for DOS15JJ
24 Aug 24       i `* undump tool (was: Re: Base85 for DOS14Kerr-Mudd, John
24 Aug 24       i  `* Re: undump tool (was: Re: Base85 for DOS13JJ
24 Aug 24       i   `* Re: undump tool (was: Re: Base85 for DOS12Kerr-Mudd, John
25 Aug 24       i    `* Re: undump tool (was: Re: Base85 for DOS11Kerr-Mudd, John
25 Aug 24       i     `* Re: undump tool (was: Re: Base85 for DOS10JJ
25 Aug 24       i      `* Re: undump tool (was: Re: Base85 for DOS9Kerr-Mudd, John
25 Aug 24       i       `* Re: undump tool (was: Re: Base85 for DOS8Kerr-Mudd, John
25 Aug 24       i        `* Re: undump tool (was: Re: Base85 for DOS7JJ
26 Aug 24       i         `* Re: undump tool (was: Re: Base85 for DOS6Kerr-Mudd, John
27 Aug 24       i          `* Re: undump tool (was: Re: Base85 for DOS5Kerr-Mudd, John
28 Aug 24       i           `* Re: undump tool (was: Re: Base85 for DOS4JJ
28 Aug 24       i            `* Re: undump tool (was: Re: Base85 for DOS3Kerr-Mudd, John
28 Aug 24       i             `* Re: undump tool (was: Re: Base85 for DOS2Kerr-Mudd, John
2 Sep 24       i              `- Re: undump tool (was: Re: Base85 for DOS1Kerr-Mudd, John
23 Aug 24       `* Re: Base85 for DOS11wolfgang kern
23 Aug 24        `* Re: Base85 for DOS10Kerr-Mudd, John
23 Aug 24         +* Re: Base85 for DOS3wolfgang kern
24 Aug 24         i`* Re: Base85 for DOS2Kerr-Mudd, John
7 Sep 24         i `- Re: Base85 for DOS1Kerr-Mudd, John
24 Aug 24         `* Re: Base85 for DOS6Kerr-Mudd, John
24 Aug 24          `* Re: Base85 for DOS5wolfgang kern
24 Aug 24           +* Re: Base85 for DOS2Kerr-Mudd, John
24 Aug 24           i`- Re: Base85 for DOS1wolfgang kern
24 Aug 24           `* Re: Base85 for DOS2Kerr-Mudd, John
24 Aug 24            `- Re: Base85 for DOS1wolfgang kern

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal