Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4417

Re: Small(est?) Hexdump/reconstruction DOS programs

From wolfgang kern <nowhere@never.at>
Newsgroups alt.lang.asm, comp.os.msdos.programmer
Subject Re: Small(est?) Hexdump/reconstruction DOS programs
Date 2024-06-14 08:06 +0200
Organization A noiseless patient Spider
Message-ID <v4gmkc$2os9s$1@dont-email.me> (permalink)
References <20240612202236.a3afa45bee2524da38b044cf@127.0.0.1> <20240613114500.c3ba6c98406175fc55901e1f@127.0.0.1>

Cross-posted to 2 groups.

Show all headers | View raw


On 13/06/2024 12:45, Kerr-Mudd, John wrote:
> On Wed, 12 Jun 2024 20:22:36 +0100
> "Kerr-Mudd, John" <admin@127.0.0.1> wrote:
> 
> 
>> [not getting through to clax, so dropping xpost there]
>>
> 
> Slightly smaller versions:
> 
>> HexDump file format as seen i.e. '0xHH,0xHH';  crlf every 16 bytes
>>
>> both use DOS int 3F/40 for stdio.
>>
>   Usage example: bin2hex <bin2hex.com >bin2hex.hex
>> (assumes bx=0 at start)
>>
>> bin2hex.hex
> 
> 0xB4,0x3F,0xB5,0x29,0xBA,0x4F,0x01,0xCD,0x21,0x91,0xE3,0x03,0x89,0xD6,0xBF,0xC3
> 0x2B,0x57,0xB8,0x30,0x78,0xAB,0xAC,0x43,0xD4,0x10,0x86,0xE0,0x27,0x04,0xF0,0x14
> 0x40,0xAA,0x30,0xF7,0x75,0xF4,0xB0,0x2C,0xAA,0x20,0xD3,0x75,0x05,0x4F,0xB8,0x0D
> 0x0A,0xAB,0xE2,0xDE,0x4F,0x5A,0xB3,0x01,0x89,0xF9,0x29,0xD1,0xB4,0x40,0xCD,0x21
> 0x4B,0xEB,0xBD
> 
> 
>>
>>
>> Reconstruction:
> Usage example: hex2bin <bin2hex.hex >bin2hex.com
>> (assumes ax=bx=0 at start)
> ignores any input <'0' so skips '-' ,cr, lf
>>
>> hex2bin.hex
>>
> 0x95,0xBA,0x47,0x01,0xB4,0x3F,0xB5,0xD2,0xCD,0x21,0x91,0xE3,0x03,0x89,0xD6,0xBF
> 0xC3,0xD4,0x57,0x89,0xE8,0x88,0xC4,0xAC,0x3C,0x30,0x72,0x1C,0x3D,0x78,0x30,0x74
> 0x14,0x09,0xED,0x74,0x12,0x88,0xC2,0x95,0x24,0x4F,0xD4,0x37,0x30,0xF7,0x75,0xF5
> 0x88,0xD4,0xD5,0x10,0xAA,0x31,0xC0,0x95,0xE2,0xD9,0x43,0x5A,0x89,0xF9,0x29,0xD1
> 0xB4,0x40,0xCD,0x21,0x4B,0xEB,0xBA
>>
>> Not tested on files larger than 64k but I think they should handle it.

I'll check on this later today. but I haven't any DOS so only the theory.
__
wolfgang

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-12 20:22 +0100
  Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-13 11:45 +0100
    Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-14 08:06 +0200
      Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-14 11:09 +0200
        Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-15 09:14 +0200
          Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-16 21:20 +0100
            Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-18 22:38 +0100
              Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-19 07:23 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-19 09:21 +0100
        Re: Small(est?) Hexdump/reconstruction DOS programs JJ <jj4public@outlook.com> - 2024-06-15 15:20 +0700
          Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-15 10:30 +0200
    Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-14 11:16 +0200
      Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-15 10:09 +0200
  Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-15 10:23 +0200
    Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-16 21:07 +0100
    Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-16 21:32 +0100
      Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-17 11:13 +0200
        Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-06-17 20:57 +0100
          Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-06-18 04:58 +0200
            Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-07-01 11:37 +0100
              Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-07-01 17:40 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs Herbert Kleebauer <klee@unibwm.de> - 2024-07-01 18:42 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-07-02 11:16 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs Phil Carmody <pc+usenet@asdf.org> - 2024-07-31 22:56 +0300
                Re: Small(est?) Hexdump/reconstruction DOS programs Johanne Fairchild <jfairchild@tudado.org> - 2024-07-31 19:04 -0300
                Re: Small(est?) Hexdump/reconstruction DOS programs Herbert Kleebauer <klee@unibwm.de> - 2024-08-01 00:06 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-03-05 18:16 +0000
              Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-08 21:41 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-09 09:32 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-10 20:19 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-11 16:37 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-12 20:08 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs wolfgang kern <nowhere@never.at> - 2024-09-13 16:58 +0200
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-13 21:31 +0100
                Re: Small(est?) Hexdump/reconstruction DOS programs "Kerr-Mudd, John" <admin@127.0.0.1> - 2024-09-13 22:06 +0100

csiph-web