summaryrefslogtreecommitdiff
path: root/decoders/z80/pd.py
AgeCommit message (Collapse)Author
2019-03-15decoders: Add/update tags for each PD.Uwe Hermann
2019-03-13Add PD tags handling and some tagsSoeren Apel
2017-12-22all decoders: introduce a reset() methodGerhard Sittig
Move initialization code of protocol decoders from the constructor to a new reset() helper method. The libsigrokdecode backend could run this method several times to clear the decoder's internal state, before new data from another acquisition gets fed to decode() calls.
2017-06-21decoders: Rephrase condition-less .wait() calls (self documentation)Gerhard Sittig
Telling .wait() to "skip one sample" slightly obfuscates the intent of getting the next samples while no condition applies. Explicitly pass no condition arguments instead, to better reflect the purpose. Coincidently these .wait() calls will execute in slightly less expensive code paths in the common code.
2017-01-18z80: Convert to PD API version 3 (brute force)Gerhard Sittig
This implementation technically uses v3 API calls, but has yet to come up with appropriate wait() conditions, to spend less time in the decoder and have more tedious work done in the backend.
2016-05-15Use consistent __init__() format across all PDs.Uwe Hermann
The previous **kwargs some PDs had is not actually ever used, so drop it.
2014-04-15All PDs: Bump api_version to 2.Uwe Hermann
Older libsigrokdecode versions are no longer able to use the current versions of the PDs (various changes in syntax etc).
2014-04-13Rename 'probe' to 'channel' everywhere.Uwe Hermann
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'.
2014-04-13z80: Fix incorrect license field.Uwe Hermann
2014-03-10Probes, optional probes and annotations now take a tuple.Bert Vermeulen
Annotation entries also consist of a tuple, not a list.
2014-03-10Remove unused probes and optionsBert Vermeulen
2014-03-02z80: Use methods directly as state values.Daniel Elstner
2014-02-28z80: Display not-taken conditional calls correctly.Daniel Elstner
2014-02-28z80: Fix display of read/modify/write instructions.Daniel Elstner
2014-02-28z80: Shorten annotation ID 'warning' to 'warn'.Daniel Elstner
2014-02-27z80: Output jump offsets relative to instruction start.Daniel Elstner
Most assemblers recognize the symbol $ for the address of the current instruction. Make use of this to output relative jump instructions using the $[+-]offset syntax, with offset being the displacement minus the instruction length.
2014-02-27z80: Format hex numbers with leading zero if necessary.Daniel Elstner
Assembler syntax requires that all numbers start with a decimal digit. Introduce a custom 'H' format for prefixing a leading 0 to hexadecimal numbers that would otherwise start with a letter.
2014-02-24z80: Use list comprehensions for bus probes.Daniel Elstner
2014-02-24z80: New decoder for disassembling Z80 CPU instructions.Daniel Elstner