Sujet : Re: undump tool (was: Re: Base85 for DOS
De : admin (at) *nospam* 127.0.0.1 (Kerr-Mudd, John)
Groupes : alt.lang.asm comp.os.msdos.programmerDate : 26. Aug 2024, 13:24:20
Autres entêtes
Organisation : Dis
Message-ID : <20240826132420.b8d4a0ec8ac8cfd1cd69b581@127.0.0.1>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
On Mon, 26 Aug 2024 01:44:31 +0700
JJ <
jj4public@outlook.com> wrote:
On Sun, 25 Aug 2024 11:20:00 +0100, Kerr-Mudd, John wrote:
Please test this slightly shorter one:
D2B.dbg
-> d 100 l76
1639:0100 B4 3F B5 FD-BA C3 01 CD-21 91 E3 F9-89 D7 89 D6 .?......!.......
1639:0110 57 81 3D 2D-64 74 06 B0-3E F2 AE E3-50 B0 0A F2 W.=-dt..>...P...
1639:0120 AE E3 22 B0-20 F2 AE 8A-05 47 3C 30-72 24 24 4F ..". ....G<0r$$O
1639:0130 D4 37 88 C2-8A 05 47 24-4F D4 37 88-D4 D5 10 88 .7....G$O.7.....
1639:0140 04 46 49 E2-E2 5A 89 F1-29 D1 43 B4-40 CD 21 4B .FI..Z..).C.@.!K
1639:0150 EB AE 3C 20-75 ED 38 05-74 C3 EB E7-4E 6F 74 20 ..< u.8.t...Not
1639:0160 61 20 64 62-67 20 66 69-6C 65 0D 0A-24 5A BA 5C a dbg file..$Z.\
1639:0170 01 B4-09 CD 21 C3 ....!.
-> q
D2B.hex
B43FB5FD BAC301CD 2191E3F9 89D789D6 57813D2D 647406B0 3EF2AEE3 50B00AF2
AEE322B0 20F2AE8A 05473C30 7224244F D43788C2 8A054724 4FD43788 D4D51088
044649E2 E25A89F1 29D143B4 40CD214B EBAE3C20 75ED3805 74C3EBE7 4E6F7420
61206462 67206669 6C650D0A 245ABA5C 01B409CD 21C3
I used that D2B.hex to generate the 118 bytes D2B.com.
I used D2B.com with that D2B.dbg which includes the starting end the ending
`->` lines to generate out.com. The result is 1150 bytes.
That's the correct procedure, but sadly not the correct outcome.
Then I used D2B.com with that D2B.dbg without the starting end the ending
`->` lines (i.e. just the dump) to generate out.com. The result is 689
bytes.
That wouldn't work properly; my program (when it's working properly) skips
to the first line after one with with a '>' in it; as one would get from a
redirected debug dump.
None of them is the correct conversion, and now I'm confused on what data
format the tool actually expecting.
In my initial message, I was asking for a tool which can simply convert the
(MS) DEBUG dump output as-is without any further editing. I'm not looking
for a tool which require custom marking in the source data. I was hoping
that such tool(s) was already made back in the mid 80s to mid 90s.
I'm sorry; it seems to work for me under XP.
Maybe someone else has done an xxd port from linux.
Yup:
https://sourceforge.net/projects/xxd-for-windows/-- Bah, and indeed Humbug.