1 |
2 |
trurl |
-------------------------------------------------------------------
|
2 |
|
|
--!
|
3 |
|
|
--! PDP-8 Processor
|
4 |
|
|
--!
|
5 |
|
|
--! \brief
|
6 |
|
|
--! LS8E Printer Interface Type Definitions
|
7 |
|
|
--!
|
8 |
|
|
--! \details
|
9 |
|
|
--! This package contains all the type information that is
|
10 |
|
|
--! required to use the LS8E Printer Interface device.
|
11 |
|
|
--!
|
12 |
|
|
--! \file
|
13 |
|
|
--! ls8e_types.vhd
|
14 |
|
|
--!
|
15 |
|
|
--! \author
|
16 |
|
|
--! Rob Doyle - doyle (at) cox (dot) net
|
17 |
|
|
--!
|
18 |
|
|
--------------------------------------------------------------------
|
19 |
|
|
--
|
20 |
|
|
-- Copyright (C) 2009, 2010, 2011, 2012 Rob Doyle
|
21 |
|
|
--
|
22 |
|
|
-- This source file may be used and distributed without
|
23 |
|
|
-- restriction provided that this copyright statement is not
|
24 |
|
|
-- removed from the file and that any derivative work contains
|
25 |
|
|
-- the original copyright notice and the associated disclaimer.
|
26 |
|
|
--
|
27 |
|
|
-- This source file is free software; you can redistribute it
|
28 |
|
|
-- and/or modify it under the terms of the GNU Lesser General
|
29 |
|
|
-- Public License as published by the Free Software Foundation;
|
30 |
|
|
-- version 2.1 of the License.
|
31 |
|
|
--
|
32 |
|
|
-- This source is distributed in the hope that it will be
|
33 |
|
|
-- useful, but WITHOUT ANY WARRANTY; without even the implied
|
34 |
|
|
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
35 |
|
|
-- PURPOSE. See the GNU Lesser General Public License for more
|
36 |
|
|
-- details.
|
37 |
|
|
--
|
38 |
|
|
-- You should have received a copy of the GNU Lesser General
|
39 |
|
|
-- Public License along with this source; if not, download it
|
40 |
|
|
-- from http://www.gnu.org/licenses/lgpl.txt
|
41 |
|
|
--
|
42 |
|
|
--------------------------------------------------------------------
|
43 |
|
|
--
|
44 |
|
|
-- Comments are formatted for doxygen
|
45 |
|
|
--
|
46 |
|
|
|
47 |
|
|
library ieee;
|
48 |
|
|
use ieee.std_logic_1164.all;
|
49 |
|
|
use work.dev_types.all;
|
50 |
|
|
|
51 |
|
|
--
|
52 |
|
|
--! Type definitions required for LS8E.
|
53 |
|
|
--
|
54 |
|
|
|
55 |
|
|
package ls8e_types is
|
56 |
|
|
|
57 |
|
|
--!
|
58 |
|
|
--! LPR Device Numbers
|
59 |
|
|
--!
|
60 |
|
|
|
61 |
|
|
constant prndevNUM : devNUM_t := o"66"; --! 666x
|
62 |
|
|
|
63 |
|
|
--!
|
64 |
|
|
--! Printer IOTs
|
65 |
|
|
--! There don't seem to be mnemonics for LS8E IOTs.
|
66 |
|
|
--! Numbers will be used to avoid any confustion.
|
67 |
|
|
|
68 |
|
|
constant opLS0 : devOP_t := o"0"; --! 6xx0 : Set Printer Flag
|
69 |
|
|
constant opLS1 : devOP_t := o"1"; --! 6xx1 : Skip On Printer Flag
|
70 |
|
|
constant opLS2 : devOP_t := o"2"; --! 6xx2 : Clear Printer Flag
|
71 |
|
|
constant opLS3 : devOP_t := o"3"; --! 6xx3 : (LE8 Only)
|
72 |
|
|
constant opLS4 : devOP_t := o"4"; --! 6xx4 : Load Printer Buffer
|
73 |
|
|
constant opLS5 : devOP_t := o"5"; --! 6xx5 : Set/Clear Interrupt Enable
|
74 |
|
|
constant opLS6 : devOP_t := o"6"; --! 6xx6 : Load Printer Buffer Sequence
|
75 |
|
|
constant opLS7 : devOP_t := o"7"; --! 6xx7 : (LE8 Only)
|
76 |
|
|
|
77 |
|
|
end ls8e_types;
|