Outline ·
[ Standard ] ·
Linear+
Open-Source Hex Viewer Project
|
FlierMate4
|
Jan 27 2023, 09:13 PM
|
Getting Started

|
I ported my Hexdump again,  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. I upload to here as my backup, since I don't use GitHub for these kind of projects. Attached File(s)
HEXDUMPD.zip ( 1.91k )
Number of downloads: 8
|
|
|
|
|
|
FlierMate4
|
Jan 27 2023, 09:52 PM
|
Getting Started

|
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
|
Feb 14 2023, 06:05 PM
|
Getting Started

|
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)
hexdump_v0.03.zip ( 2.05k )
Number of downloads: 7
|
|
|
|
|