148187Skato/*-
248516Skato * Copyright (c) 1999 FreeBSD(98) Porting Team.
348516Skato * All rights reserved.
448516Skato *
548516Skato * Redistribution and use in source and binary forms, with or without
648516Skato * modification, are permitted provided that the following conditions
748516Skato * are met:
848516Skato * 1. Redistributions of source code must retain the above copyright
948516Skato *    notice, this list of conditions and the following disclaimer as
1048516Skato *    the first lines of this file unmodified.
1148516Skato * 2. Redistributions in binary form must reproduce the above copyright
1248516Skato *    notice, this list of conditions and the following disclaimer in the
1348516Skato *    documentation and/or other materials provided with the distribution.
1448516Skato *
1548516Skato * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
1648516Skato * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1748516Skato * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1848516Skato * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1948516Skato * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2048516Skato * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2148516Skato * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2248516Skato * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2348516Skato * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2448516Skato * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2548516Skato *
2650477Speter * $FreeBSD$
2748187Skato */
2848187Skato
2948187Skato#ifndef _PC98_PC98_SC_MACHDEP_H_
3048187Skato#define	_PC98_PC98_SC_MACHDEP_H_
3148187Skato
3248187Skato#undef SC_DFLT_FONT
3348187Skato#undef SC_MOUSE_CHAR
3448187Skato#undef SC_PIXEL_MODE
3548187Skato#undef SC_NO_FONT_LOADING
3648187Skato#define SC_NO_FONT_LOADING	1
3748187Skato#undef SC_NO_PALETTE_LOADING
3848187Skato#define SC_NO_PALETTE_LOADING	1
3948187Skato
4048187Skato#ifndef SC_KERNEL_CONS_ATTR
4148187Skato#define SC_KERNEL_CONS_ATTR	(FG_LIGHTGREY | BG_BLACK)
4248187Skato#endif
4348187Skato
4448187Skato#define KANJI			1
4548187Skato
4648187Skato#define	UJIS			0
4748187Skato#define SJIS			1
4848187Skato
4948187Skato#define PRINTABLE(c)		((c) > 0x1b || ((c) > 0x0f && (c) < 0x1b) \
5048187Skato				 || (c) < 0x07)
5148187Skato
5248187Skato#endif /* !_PC98_PC98_SC_MACHDEP_H_ */
53