Skip to content

decb: add binbust utility to strip DECB binary record headers#62

Merged
tlindner merged 2 commits into
nitros9project:mainfrom
tlindner:bin-bust
Jul 3, 2026
Merged

decb: add binbust utility to strip DECB binary record headers#62
tlindner merged 2 commits into
nitros9project:mainfrom
tlindner:bin-bust

Conversation

@tlindner

@tlindner tlindner commented Jul 3, 2026

Copy link
Copy Markdown
Member

DECB binary files are composed of one or more data records, each preceded by a 5-byte header (type, length, load address), followed by a final 5-byte execution record. binbust removes these record headers and trailers, concatenating the data blocks into a single unadorned binary file.

Features:

  • Supports DECB binaries with any number of data records.
  • Validates record types and end records.
  • Uses the CoCo path API, allowing input and output on native, DECB, OS-9, and CECB filesystems.
  • Reports malformed binaries and unexpected EOF conditions.

This utility is useful when extracting firmware or ROM images from DECB machine-language binaries for analysis, disassembly, or use with other tools.

DECB binary files are composed of one or more data records, each preceded by a
5-byte header (type, length, load address), followed by a final 5-byte
execution record. `binbust` removes these record headers and trailers,
concatenating the data blocks into a single unadorned binary file.

Features:
- Supports DECB binaries with any number of data records.
- Validates record types and end records.
- Uses the CoCo path API, allowing input and output on native, DECB, OS-9, and
  CECB filesystems.
- Reports malformed binaries and unexpected EOF conditions.

This utility is useful when extracting firmware or ROM images from DECB
machine-language binaries for analysis, disassembly, or use with other tools.
@tlindner tlindner merged commit aa2b4d0 into nitros9project:main Jul 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants