1 #ifndef INITVAL_H_INCLUDED
2 #define INITVAL_H_INCLUDED
3 
4 
5 /*----------------------------------------------------------------------*/
6 /* ���									*/
7 /*----------------------------------------------------------------------*/
8 #define	CONST_4MHZ_CLOCK	(3.9936)
9 #define	CONST_8MHZ_CLOCK	(CONST_4MHZ_CLOCK*2.0)
10 #define	CONST_VSYNC_FREQ	(55.4)
11 
12 
13 /*----------------------------------------------------------------------*/
14 /* ��ư���ν��������							*/
15 /*----------------------------------------------------------------------*/
16 
17 enum BasicMode { BASIC_AUTO=-1, BASIC_N,    BASIC_V1S,  BASIC_V1H,  BASIC_V2 };
18 enum CpuClock  {                CLOCK_8MHZ, CLOCK_4MHZ  };
19 enum BootDevice{ BOOT_AUTO =-1, BOOT_DISK,  BOOT_ROM    };
20 enum SoundBoard{                SOUND_I,    SOUND_II    };
21 enum JishoRom  {                NOT_JISHO,  EXIST_JISHO };
22 enum MenuLang  {                MENU_ENGLISH, MENU_JAPAN };
23 enum BaudRate  { BAUDRATE_75,   BAUDRATE_150,   BAUDRATE_300,  BAUDRATE_600,
24 		 BAUDRATE_1200, BAUDRATE_2400,  BAUDRATE_4800, BAUDRATE_9600,
25 		 BAUDRATE_19200 };
26 
27 
28 /* DEFAULT_BASIC    BASIC �⡼��       -1:��ư / 0:N / 1:V1S / 2:V1H / 3:V2  */
29 /* DEFAULT_CLOCK    CPU����å�        -1:��ư / 0:8MHz / 1:4MHz             */
30 /* DEFAULT_BOOT     ��ư�ǥХ���       -1:��ư / 0:DISK / 1:ROM              */
31 /* DEFAULT_EXTRAM   ��ĥRAM             0:�ʤ� / 1��4:����(�����ɿ�)         */
32 /* DEFAULT_JISHO    ����ROM             0:�ʤ� / 1:����                      */
33 /* DEFAULT_SOUND    ������ɥܡ���      0:��� / 1:������ɥܡ���II���      */
34 /* DEFAULT_DIPSW    �ǥ��åץ����å�   16bit�ͤ����                         */
35 /* DEFAULT_BAUDRATE �ܡ��졼��         BADU_RATE_75 �� BADU_RATE_19200����� */
36 
37 /* DEFAULT_VERBOSE         -verbose   �ν���� */
38 /* DEFAULT_FRAMESKIP       -frameskip �ν���� */
39 /* DEFAULT_CPU             -cpu       �ν���� */
40 
41 
42 #define	DEFAULT_BASIC		( BASIC_AUTO )
43 #define	DEFAULT_CLOCK		( CLOCK_4MHZ )
44 #define	DEFAULT_BOOT		( BOOT_AUTO  )
45 #define	DEFAULT_SOUND		( SOUND_I    )
46 #define	DEFAULT_JISHO		( NOT_JISHO  )
47 #define	DEFAULT_EXTRAM		( 0 )
48 #define	DEFAULT_DIPSW		( 0x391a )
49 #define	DEFAULT_BAUDRATE	( BAUDRATE_1200 )
50 
51 #define	DEFAULT_VERBOSE		(0x00)
52 #define	DEFAULT_FRAMESKIP	(1)
53 #define	DEFAULT_CPU		(0)
54 
55 
56 /*----------------------------------------------------------------------*/
57 /* DEFAULT_CPU_CLOCK_MHZ	�ᥤ�� CPU�Υ���å�     double�� [MHz] */
58 /* DEFAULT_SOUND_CLOCK_MHZ	������ɥ��åפΥ���å� double�� [MHz] */
59 /* DEFAULT_VSYNC_FREQ_HZ	VSYNC �����ߤμ���     int��    [Hz]  */
60 /* DEFAULT_WAIT_FREQ		��������Ĵ���Ѽ��ȿ�     int��    [Hz]  */
61 
62 #define	DEFAULT_CPU_CLOCK_MHZ		CONST_4MHZ_CLOCK
63 #define	DEFAULT_SOUND_CLOCK_MHZ		CONST_4MHZ_CLOCK
64 #define	DEFAULT_VSYNC_FREQ_HZ		CONST_VSYNC_FREQ
65 #define	DEFAULT_WAIT_FREQ_HZ		CONST_VSYNC_FREQ
66 
67 
68 /*----------------------------------------------------------------------*/
69 /* �ɥ饤�֤ο� ����� �ե�������Υ��᡼���κ����			*/
70 /*	�ɥ饤�֤ο� �� 2�ʳ����ͤ�̤�б���������Ѥ��ʤ��褦�ˡ���	*/
71 /*----------------------------------------------------------------------*/
72 enum {
73   DRIVE_1,
74   DRIVE_2,
75   NR_DRIVE
76 };
77 #define	MAX_NR_IMAGE	(32)
78 
79 enum {
80   CLOAD,
81   CSAVE,
82   NR_TAPE
83 };
84 
85 #endif		/* INITVAL_H_INCLUDED */
86