5
* Andreas Boose <viceteam@t-online.de>
6
* Andr� Fachat <fachat@physik.tu-chemnitz.de>
8
* This file is part of VICE, the Versatile Commodore Emulator.
9
* See README for copyright notice.
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
35
#include "uirs232c64c128.h"
36
#include "uirs232user.h"
39
UI_MENU_DEFINE_RADIO(Acia1Irq)
41
static ui_menu_entry_t uiacia1_irq_submenu[] = {
43
(ui_callback_t)radio_Acia1Irq, (ui_callback_data_t)0, NULL },
45
(ui_callback_t)radio_Acia1Irq, (ui_callback_data_t)1, NULL },
47
(ui_callback_t)radio_Acia1Irq, (ui_callback_data_t)2, NULL },
51
UI_MENU_DEFINE_TOGGLE(Acia1Enable)
52
UI_MENU_DEFINE_TOGGLE(RsUserEnable)
54
ui_menu_entry_t uirs232c64c128_submenu[] = {
55
{ N_("*ACIA $DExx RS232 interface emulation"),
56
(ui_callback_t)toggle_Acia1Enable, NULL, NULL },
57
{ N_("ACIA $DExx device"),
58
NULL, NULL, uiacia1_device_submenu },
59
{ N_("ACIA $DExx Interrupt"),
60
NULL, NULL, uiacia1_irq_submenu },
62
{ N_("*Userport RS232 emulation"),
63
(ui_callback_t)toggle_RsUserEnable, NULL, NULL },
64
{ N_("Userport RS232 baud rate"),
65
NULL, NULL, rs232user_baudrate_submenu },
66
{ N_("Userport RS232 device"),
67
NULL, NULL, rs232user_device_submenu },
69
{ N_("Serial 1 device..."), (ui_callback_t)set_rs232_device_file,
70
(ui_callback_data_t)"RsDevice1", NULL },
71
{ N_("Serial 1 baudrate"),
72
NULL, NULL, ser1_baud_submenu },
74
{ "Serial 2 device...", (ui_callback_t)set_rs232_device_file,
75
(ui_callback_data_t)"RsDevice2", NULL },
76
{ N_("Serial 2 baudrate"),
77
NULL, NULL, ser2_baud_submenu },
79
{ N_("Dump filename..."), (ui_callback_t)set_rs232_dump_file,
80
(ui_callback_data_t)"RsDevice3", NULL },
82
{ N_("Program name to exec..."), (ui_callback_t)set_rs232_exec_file,
83
(ui_callback_data_t)"RsDevice4", NULL },