lifmod

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
REFERENCES
BUGS
AUTHOR

NAME

lifmod - reads contents and info of HP-41 module files

SYNOPSIS

lifmod [-v] [-f] [-e] [-l] <Module file>

lifmod -?

DESCRIPTION

lifmod displays and/or extracts information of a module file. A module file has a special binary format defined for the HP-41 which is inspired how actual plug in modules look like. A mod file describes the contents of a physical plug in module. Like real plug in modules, module files can contain multiple 4K rom pages.

Without any options specified, lifmod displays the title and the author of the module.

OPTIONS

-v

Verbose mode. Display detailed information of the content and organisation of the module.

-f

Decode the function address table (if any) of the rom(s) contained in the module files. Implies the -f option.

-e

Extract the rom images (if any) of the modules as .rom files. Note: the page name of the image is used as the file name. Characters which are not allowed in file names are converted to underscores.

-l

If specified in addition to the -e option dump(s) of the rom image(s) are created as .lst files for usage with the NSIM program.

-?

Print a message giving the program usage to standard error.

EXAMPLES

If ADVANTAGE.MOD is a module file of the HP-41 Advantage Pac then

lifmod -e ADVANTAGE.MOD

will print detailed information of the content of the module and extract the three rom images of the module to corresponding .rom files.

REFERENCES

Some information can be found in the comments of the modfile.c source file (see below).

BUGS

Unknown

AUTHOR

lifmod was nearly entirely created with the help of the modfile.c subroutines written by Warren Furlow, warren@furlow.org as public domain software.