1221828Sgrehan/*- 2221828Sgrehan * Copyright (c) 1990 The Regents of the University of California. 3221828Sgrehan * All rights reserved. 4221828Sgrehan * 5221828Sgrehan * This code is derived from software contributed to Berkeley by 6221828Sgrehan * William Jolitz. 7221828Sgrehan * 8221828Sgrehan * Redistribution and use in source and binary forms, with or without 9221828Sgrehan * modification, are permitted provided that the following conditions 10221828Sgrehan * are met: 11221828Sgrehan * 1. Redistributions of source code must retain the above copyright 12221828Sgrehan * notice, this list of conditions and the following disclaimer. 13221828Sgrehan * 2. Redistributions in binary form must reproduce the above copyright 14221828Sgrehan * notice, this list of conditions and the following disclaimer in the 15221828Sgrehan * documentation and/or other materials provided with the distribution. 16221828Sgrehan * 4. Neither the name of the University nor the names of its contributors 17221828Sgrehan * may be used to endorse or promote products derived from this software 18221828Sgrehan * without specific prior written permission. 19221828Sgrehan * 20221828Sgrehan * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21221828Sgrehan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22221828Sgrehan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23221828Sgrehan * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24221828Sgrehan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25221828Sgrehan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26221828Sgrehan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27221828Sgrehan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28221828Sgrehan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29221828Sgrehan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30221828Sgrehan * SUCH DAMAGE. 31221828Sgrehan * 32221828Sgrehan * from: @(#)isa.h 5.7 (Berkeley) 5/9/91 33221828Sgrehan * $FreeBSD: releng/11.0/sys/pc98/cbus/cbus.h 263379 2014-03-19 21:03:04Z imp $ 34221828Sgrehan */ 35221828Sgrehan 36221828Sgrehan#ifndef _PC98_PC98_PC98_H_ 37221828Sgrehan#define _PC98_PC98_PC98_H_ 38221828Sgrehan 39221828Sgrehan/* 40221828Sgrehan * PC98 Bus conventions 41221828Sgrehan * modified for PC9801 by A.Kojima F.Ukai M.Ishii 42249321Sneel * Kyoto University Microcomputer Club (KMC) 43221828Sgrehan */ 44221828Sgrehan 45221828Sgrehan/* 46221828Sgrehan * Input / Output Port Assignments -- PC98 IO address ... very dirty (^_^; 47221828Sgrehan */ 48221828Sgrehan 49257396Sneel#define IO_ICU1 0x000 /* 8259A Interrupt Controller #1 */ 50221828Sgrehan#define IO_ICU2 0x008 /* 8259A Interrupt Controller #2 */ 51257396Sneel#define IO_RTC 0x020 /* 4990A RTC */ 52257396Sneel#define IO_SYSPORT 0x031 /* 8255A System Port */ 53257396Sneel#define IO_KBD 0x041 /* 8251A Keyboard */ 54257396Sneel#define IO_COM2 0x0B1 /* 8251A RS232C serial I/O (ext) */ 55257396Sneel#define IO_COM3 0x0B9 /* 8251A RS232C serial I/O (ext) */ 56257396Sneel#define IO_FDPORT 0x0BE /* FD I/F port (1M<->640K,EMTON) */ 57221828Sgrehan 58221828Sgrehan/* 59221828Sgrehan * Input / Output Port Sizes 60221828Sgrehan */ 61249321Sneel#define IO_KBDSIZE 16 /* 8042 Keyboard controllers */ 62221828Sgrehan 63221942Sjhb#endif /* !_PC98_PC98_PC98_H_ */ 64221942Sjhb