TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: 71541,3611 (X)
from: Jay Truesdale 72176,3565
date: 1990-08-28 21:47:12
subject: #OSK Binary File Editing

#: 6373 S12/OS9/68000 (OSK)
    28-Aug-90  21:47:12
Sb: #OSK Binary File Editing
Fm: Jay Truesdale 72176,3565
To:  71541,3611 (X)

The "moded" (as in MODule EDitor) utility program supplied with OSK V2.3 will
do exactly what you want (I think) and works very similar to Burke & Burke's
"ezgen" for OS9/6809.

Quoting from the manual: "The moded utility is used to edit individual fields
of certain types of OS-9 modules.  Currently, moded can be used to change the
Init module and any OS-9 Device Descriptor Module.  moded can edit modules
which exist in their own files and modules which exist among other modules in a
single file such as a bootstrap file.  moded will update the module's CRC and
header parity if changes are made."

A file named "moded.fields" must exist that describes the module field
information for each type of file to be edited.  This is a standard ASCII file
that you can add your own module information to.  Microware provides a
moded.fields file with definitions for the Init module, and device descriptors
for RBF, SBF, SCF, PIPE, NETWORK, UCM and GFM devices. Definitions include the
module and device type, a detailed definition of each field and an optional
description of the field to be given when the user asks for help about a given
field.  The field definition includes: size of field in bytes, offset in hex
from the start of the module, base (ascii hex octal, decimal) that the field
contents will be displayed in (!), unused default value, name of associated
driver (optional).

The V2.3 release notes document the moded utility as do the new V2.3 (Revision
C) OSK manuals.

-J




There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.