#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.47 1995/08/18 11:26:16 jkh Exp $
#

# GENERIC98 -- Generic PC98 machine with WD/SBIC55 disks
#
# takeno-3: modified by shige 03/12 1997
# takeno-3.1: modified by shige 05/08 1997
# 

machine		"pc98"
# cpu		"I386_CPU"
cpu		"I486_CPU"
# cpu		"I586_CPU"
# ident		"GENERIC98"
ident		"takeno05081997"
maxusers	10

options		"PC98"			#PC98
#options		MATH_EMULATE		#Support for x87 emulation
#options	GPL_MATH_EMULATE	#GPL-licensed emulator
#options	FPU_ERROR_BROKEN	#FPU Error report bug
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		PROCFS			#Process filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		SYSVSHM			
options		SYSVSEM
options		SYSVMSG
options		UCONSOLE		#X Console support
options		"MAXCONS=4"		#4 virtual consoles
options		"BOUNCE_BUFFERS"	#include support for DMA bounce buffers
#options	"EPSON_BOUNCEDMA"	#use bounce buufer for 15-16M
#options	"EPSON_MEMWIN"		#EPSON memory window support
#options	"MOUSESD"
#options	"LINE30"
options		AUTO_CLOCK
options		COM_MULTIPORT

options		COMPAT_LINUX
options		QUOTA
options		MROUTING

#options	"MAXMEM=0x020000"	# Maximum memory size (KB) (= 128MB)
options		"MAXMEM=0x014000"	# Maximum memory size (KB) (= 80MB)

# config		kernel	root on wd0
config		kernel	root on sd0

controller	nec0

controller	fdc0	at nec? port "IO_FD1" bio irq 11 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
disk		fd2	at fdc0 drive 2
disk		fd3	at fdc0 drive 3
tape		ft0	at fdc0 drive 4

controller	wdc0	at nec? port "IO_WD1" bio irq 9 vector wdintr
disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1
#disk		wd2	at wdc0 drive 2
#disk		wd3	at wdc0 drive 3

#disk		wd1	at wdc0 drive 2

options         ATAPI   #Enable ATAPI support for IDE bus
options		ATAPI_STATIC
device          wcd0    #IDE CD-ROM

# controller	matcd0	at nec? port? bio

#controller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 3 vector sbicintr
options		SCSI_SYNC
options		FORCE_BUSMASTER
controller	sbic0	at nec? port "IO_SCSI" bio irq 5 drq 0 flags 0 vector sbicintr

# controller	aic0	at nec? port 0x1840 bio irq 5 vector aicintr

controller	scbus0
device		sd0
device		od0
device		st0
device		cd0	#Only need one of these, the code dynamically grows

device		sc0	at nec? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at nec? port "IO_NPX" irq 8 vector npxintr
device		mse0	at nec? port "IO_MSE" tty irq 13 vector mseintr

device		sio0	at nec? port "IO_COM1" tty irq 4 vector siointr
#device		sio1	at nec? port 0xd2  tty irq 5 flags 0x101 vector siointr
#device		sio2	at nec? port 0x8d2 tty flags 0x101 vector siointr

device		lpt0	at nec? port "IO_LPT"  tty

#device ed0 at nec? port 0x00d0 net irq 6 vector edintr
#device ed1 at nec? port 0x56d0 net irq 5 vector edintr
#device we0 at nec? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 vector weintr
device fe0 at nec? port 0x00d0 net irq 6 vector feintr
#device zp0 at nec? port 0x0300 net irq 10 iomem 0xe0000 vector zpintr

controller	snd0
#device	sb0	at nec? port 0x20d2 irq 10 drq 3 vector sbintr
#device	sbxvi0 	at nec? conflicts drq 3
#device	sbmidi0	at nec? port 0x80d2
#device	opl0	at nec? port 0x28d2

#device pcm0    at nec? port 0xa460 irq 12 vector pcmintr

device	mss0	at nec? port 0xf40 irq 12 drq 1 vector adintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
# iijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device 	vn
pseudo-device	speaker
