summaryrefslogtreecommitdiff
path: root/decoders/nes_gamepad
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-08-29 13:00:04 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-08-30 07:23:58 +0200
commit7f2fb1b35d016a5b789891c1fa3c7408ac3ed18e (patch)
tree5df14bde8a41f13b0a3cb0b889dcc4580b62e7b8 /decoders/nes_gamepad
parent1dfaf1e8a7df8e4cc251aeea4afb35cfa3fa219c (diff)
downloadlibsigrokdecode-7f2fb1b35d016a5b789891c1fa3c7408ac3ed18e.tar.gz
libsigrokdecode-7f2fb1b35d016a5b789891c1fa3c7408ac3ed18e.zip
sle44xx: extend decoder's feature set, outgoing data, processing
Rephrase how the decoder's progress during data interpretation gets tracked. Extend the set of .wait() conditions in the main loop, and determine START/STOP conditions and BIT validity there already, which reduces redundancy with called handlers. Increase the decoder's coverage of the memory card's feature set and constraints. Handle the optional CLK during RST, to tell interrupted memory access from card reset. Interpret known command codes, to present their meaning and arguments to users, and to tell "outgoing data" (the card's memory content) from "internal processing" (providing clock until the card signals completion of a write access). Get initial statistics on internal processing (clock count, and terminal I/O level, no duration in units of wall clock time yet). Unfortunately there is no reliable condition to detect the end of a memory read when it executes to the end of the memory card's capacity. That's why START detection is more greedy than specified, to reliably re-sync to subsequent commands and their byte sequences. Arrange for an improved set of annotation rows with symbols (bit level), fields (data bytes), and operations details (summary of memory access including protection). Rename the binary output. It carries "any bytes" which were seen, the command bytes as well as response data bytes.
Diffstat (limited to 'decoders/nes_gamepad')
0 files changed, 0 insertions, 0 deletions