Word Unperfect
public
Read
Owner: themaster
Branch: main
Commits: 0
Git CLI clone URL
git clone https://www.xt-emporium.com/git/word-unperfect.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
word-unperfect
/
rev
/
wp_fixed_codes.h
File editor
#ifndef WP_FIXED_CODES_H #define WP_FIXED_CODES_H #include <stdbool.h> #include <stddef.h> #include <stdint.h> /* Fixed-length 0xC0-0xCF record descriptors recovered from the decompiled * scanner/command-token paths and validated against bundled WP 5.1 document * bodies. firmware_io_scanner_word_route_step routes 0xC0 as a 4-byte word * envelope, routes 0xC1-0xCF through a fixed-length table, and only treats * 0xD0+ as mirrored variable records. */ typedef struct WpFixedCodeInfo { uint8_t code; uint16_t total_length; /* Includes leading code byte and trailing mirror when present. */ uint16_t payload_length; /* Bytes between lead and trailing mirror. */ bool mirrored_trailer; const char *name; } WpFixedCodeInfo; const WpFixedCodeInfo *wp_fixed_code_info(uint8_t code); uint16_t wp_fixed_code_total_length(uint8_t code); const char *wp_fixed_code_name(uint8_t code); bool wp_fixed_code_is_known(uint8_t code); /* Small human-readable decoder for recovered fixed packets. The returned text * is intentionally descriptive rather than authoritative WP UI nomenclature * until each packet's exact menu-level meaning is proven. */ bool wp_fixed_code_describe_payload(uint8_t code, const uint8_t *payload, uint16_t payload_length, char *out, size_t out_size); #endif
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
main
Visibility
public
Your access
Read
Remote
None
File activity
View file history