]> sigrok.org Git - libsigrokdecode.git/blame - decoders/mcs48/__init__.py
Add a CFP decoder.
[libsigrokdecode.git] / decoders / mcs48 / __init__.py
CommitLineData
426325ea 1##
2## This file is part of the libsigrokdecode project.
3##
4## Copyright (C) 2018 fenugrec <fenugrec@users.sourceforge.net>
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License
17## along with this program; if not, see <http://www.gnu.org/licenses/>.
18##
19
20'''
21This protocol decoder de-multiplexes Intel MCS-48 (8039, 8048, etc.) external
22program memory accesses. This requires 14 channels: 8 for D0-D7 (data and
23lower 8 bits of address), 4 for A8-A11 (output on port P2), ALE and PSEN.
24An optional A12 is supported, which may be an arbitrary I/O pin driven by
25software (use case is dumping ROM of an HP 3478A).
426325ea 26'''
27
28from .pd import Decoder