Pin additons
This commit is contained in:
@@ -33,6 +33,8 @@ To turn the structured decompile output into conservative C-like pseudocode:
|
||||
- Emits memory-region metadata for vector, DTC, RAM, register-field, and mode-dependent program/external space.
|
||||
- Parses the DTC vector table described by the manual and decodes DTC register-information blocks.
|
||||
- Tracks SCI setup writes and can infer baud rates from SMR/BRR when `--clock-hz` is supplied.
|
||||
- Annotates SCI protocol actions such as TDRE waits, TDR writes, RDR reads, RX/TX interrupt enables, and receive-error clears.
|
||||
- Adds a Sony RCP-TX7 board profile that ties H8/536 pin 66 `P95/TXD` and pin 67 `P96/RXD` to the MAX202 RS232 transceiver.
|
||||
- Flags/manual-annotates TEMP-register access ordering for FRT and A/D 16-bit peripheral registers.
|
||||
- Scans unreached ROM ranges for ASCII strings and pointer-table candidates.
|
||||
- Scans likely LCD/menu text records, groups display-text regions, and reports literal/near matches for terms such as `CONNECT`.
|
||||
@@ -70,6 +72,7 @@ python h8536_decompiler.py --help
|
||||
- `--start H'1000 --end H'D100`: constrain the decode range.
|
||||
- `--br H'FE`: resolve short absolute `@aa:8` operands through a known base-register value.
|
||||
- `--clock-hz 16000000`: infer SCI baud rates from manual BRR formulas.
|
||||
- `--board-profile sony_rcp_tx7|none`: include or suppress known board-trace annotations.
|
||||
- `--cycles`: append Appendix A cycle estimates to assembly comments.
|
||||
- `--timing`: include straight-line block and backward-branch loop timing summaries.
|
||||
- `--callgraph-dot build\callgraph.dot`: write a Graphviz DOT call graph.
|
||||
@@ -105,6 +108,8 @@ python h8536_pseudocode.py --help
|
||||
- `h8536/lcd_driver.py`: LCD E-clock access and busy-poll recognizer.
|
||||
- `h8536/timing.py`: block and loop cycle summaries.
|
||||
- `h8536/sci.py`: SCI setup tracking and baud inference.
|
||||
- `h8536/sci_protocol.py`: SCI transmit/receive/status semantic annotations.
|
||||
- `h8536/board_profile.py`: Sony RCP-TX7 board-trace annotations, including the MAX202 RS232 path.
|
||||
- `h8536/peripheral_access.py`: FRT/A-D TEMP-register access analysis.
|
||||
- `h8536/pseudocode.py`: JSON-to-C-like pseudocode generation.
|
||||
- `h8536/render.py`: assembly and JSON output.
|
||||
|
||||
Reference in New Issue
Block a user