1 /* pro_ptr.c: printer controller
2
3 Copyright (c) 1997-2003, Tarik Isani (xhomer@isani.org)
4
5 This file is part of Xhomer.
6
7 Xhomer is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2
9 as published by the Free Software Foundation.
10
11 Xhomer 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 Xhomer; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21
22 /* TBD:
23 */
24
25 #ifdef PRO
26 #include "pdp11_defs.h"
27
28
29 /* Printer controller registers */
30
pro_ptr_rd(int pa)31 int pro_ptr_rd (int pa)
32 {
33 return pro_2661ptr_rd(pa);
34 }
35
36
pro_ptr_wr(int data,int pa,int access)37 void pro_ptr_wr (int data, int pa, int access)
38 {
39 pro_2661ptr_wr(data, pa, access);
40 }
41
42
pro_ptr_reset()43 void pro_ptr_reset ()
44 {
45 pro_2661ptr_reset();
46 pro_ptr_open();
47 }
48
49
pro_ptr_open()50 void pro_ptr_open ()
51 {
52 pro_2661ptr_open();
53 }
54
55
pro_ptr_exit()56 void pro_ptr_exit ()
57 {
58 pro_ptr->exit(PRO_SER_PTR);
59 }
60 #endif
61