first_device = last_device = NULL;
dummy = new DEVICE(this, emu); // must be 1st device
event = new EVENT(this, emu); // must be 2nd device
-
+
drec = new DATAREC(this, emu);
crtc = new HD46505(this, emu);
pio = new I8255(this, emu);
// sio->set_rx_clock(0, 9600 * 16); // clock is from Z-80CTC ch1 (2MHz/13)
// sio->set_tx_clock(1, 4800 * 16); // 4800 baud for mouse
// sio->set_rx_clock(1, 4800 * 16); // clock is from Z-80CTC ch2 (2MHz/26)
- //event->register_frame_event(crtc);
- //event->register_vline_event(crtc);
- //event->register_frame_event(display);
- //event->register_vline_event(display);
if(sound_device_type >= 1) {
ctc1->set_context_zc0(ctc1, SIG_Z80CTC_TRIG_3, 1);
#endif
// device informations for virtual machine (x1)
-#ifdef _X1TURBO_FEATURE
+//#ifdef _X1TURBO_FEATURE
//24KHz
-#define FRAMES_PER_SEC 55.49
-#define LINES_PER_FRAME 448
-#define CHARS_PER_LINE 56
-#define HD46505_HORIZ_FREQ 24860
-#else
+//#define FRAMES_PER_SEC 55.49
+//#define LINES_PER_FRAME 448
+//#define CHARS_PER_LINE 56
+//#define HD46505_HORIZ_FREQ 24860
+//#else
// 15KHz
#define FRAMES_PER_SEC 61.94
#define LINES_PER_FRAME 258
#define CHARS_PER_LINE 56
#define HD46505_HORIZ_FREQ 15980
-#endif
+//#endif
#define CPU_CLOCKS 4000000
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 400
// devices for x1
EVENT* event;
-
+
DATAREC* drec;
HD46505* crtc;
I8255* pio;