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