Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Open-Source Hex Viewer Project

views
     
FlierMate4
post Jan 27 2023, 09:13 PM

Getting Started
**
Validating
90 posts

Joined: Jan 2023
I ported my Hexdump again, rclxms.gif this time to DOS 16-bit version! Assembly source file is included (using DOS int 21h interrupt).

But it supports small file below 64KB, as I still don't know how to convert 32-bit number to hexadecimal in DOS. tongue.gif

I upload to here as my backup, since I don't use GitHub for these kind of projects.


Attached File(s)
Attached File  HEXDUMPD.zip ( 1.91k ) Number of downloads: 8
FlierMate4
post Jan 27 2023, 09:52 PM

Getting Started
**
Validating
90 posts

Joined: Jan 2023
Below is API calls between Linux, Windows and DOS:

QUOTE
* Call stack  (Linux) --> GetCommandLineA (Win32 API) --> Program Segment Prefix (DOS)
* syscall 2  --> CreateFileA --> DOS Interrupt AH=3dh
* syscall 0  --> ReadFile --> DOS Interrupt AH=3fh
* syscall 1 --> WriteFile --> DOS Interrupt AH=2 & AH=9
* syscall 3 --> CloseHandle --> DOS Interrupt AH=3eh
* syscall 60 --> ExitProcess --> DOS Interrupt AH=4ch
This post has been edited by FlierMate4: Feb 4 2023, 12:08 PM
FlierMate4
post Feb 14 2023, 06:05 PM

Getting Started
**
Validating
90 posts

Joined: Jan 2023
I am attaching hexdump v0.03 (for Linux) with following fixes:

* catch file open error (with error code -4095 and above, not -1 which never work)
* reset ANSI color style to work with terminal window of any color


This post has been edited by FlierMate4: Feb 18 2023, 11:36 PM


Attached File(s)
Attached File  hexdump_v0.03.zip ( 2.05k ) Number of downloads: 7

 

Change to:
| Lo-Fi Version
0.0159sec    0.59    7 queries    GZIP Disabled
Time is now: 9th December 2025 - 10:18 PM