Code Monkey home page Code Monkey logo

hexdump's Introduction

hexdump.exe - Display a file in hex+ASCII format; or display Standard ASCII chart or Extended ASCII chart.

hexdump.zip is a FreeDOS package containing hexdump.exe (and sources).

To install: fdinst install hexdump.zip. To install with sources: fdnpkg install-wsrc hexdump.zip

The Standard ASCII chart (characters 0-127) and the Extended ASCII chart (characters 128-255) will each fit on an 80x24 screen. A binary table of values 0-0xF is also printed with each ASCII chart.

hexdump.exe was created to run on (16-bit) FreeDOS, but can also be built to run on (64-bit) Linux. When built on Linux, it is named hexd in order to avoid conflicting with the existing hexdump command.

On Linux, the characters displayed on the Standard and Extended ASCII chart are UTF-8 representations of DOS Code Page 437; on DOS, the characters displayed depend on the Code Page that is loaded.

hexdump.exe (and hexd) gives exactly the same output as the Linux command hexdump -v -C

Building

On Linux:

./build.sh clean     Remove generated files
./build.sh hexd      Build the hexd executable
./build.sh zip       (Optional) Store files for FreeDOS in h.zip

To transfer source files to FreeDOS, you can copy h.zip and unzip it, or copy the FreeDOS package hexdump.zip and run fdnpkg install-wsrc hexdump.zip. Either method will work.

On FreeDOS:

>build.bat clean     Remove generated files
>build.bat hexdump   Build hexdump.exe
>build.bat pkg       Build FreeDOS package hexdump.zip

On FreeDOS, 'hexdump' is built using the Open Watcom C compiler, but build.bat can easily be modified to use a different C compiler.

hexdump's People

Stargazers

Bocke avatar Joerg Schiermeier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.