X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fmcs48%2F__init__.py;fp=decoders%2Fmcs48%2F__init__.py;h=424c6b45bff62db0980e3ad4f82fe7723831bc4b;hp=0000000000000000000000000000000000000000;hb=426325ea2b66658b8062525db78a9b50d79ce507;hpb=b939fdff17225ec1eb24aad816f8a2018a9d4079 diff --git a/decoders/mcs48/__init__.py b/decoders/mcs48/__init__.py new file mode 100644 index 0000000..424c6b4 --- /dev/null +++ b/decoders/mcs48/__init__.py @@ -0,0 +1,31 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2018 fenugrec +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, see . +## + +''' +This protocol decoder de-multiplexes Intel MCS-48 (8039, 8048, etc.) external +program memory accesses. This requires 14 channels: 8 for D0-D7 (data and +lower 8 bits of address), 4 for A8-A11 (output on port P2), ALE and PSEN. +An optional A12 is supported, which may be an arbitrary I/O pin driven by +software (use case is dumping ROM of an HP 3478A). + +The two groups D0-D7 and A8-A12 must be on consecutive channels, for +example CH8..CH15 and CH0..CH4. +''' + +from .pd import Decoder