5
* Marco van den Heuvel <blackystardust68@yahoo.com>
7
* This file is part of VICE, the Versatile Commodore Emulator.
8
* See README for copyright notice.
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
33
#include "uiramcart.h"
36
UI_MENU_DEFINE_TOGGLE(RAMCART)
37
UI_MENU_DEFINE_RADIO(RAMCARTsize)
38
UI_MENU_DEFINE_TOGGLE(RAMCART_RO)
40
UI_CALLBACK(set_ramcart_image_name)
42
uilib_select_string((char *)UI_MENU_CB_PARAM, _("RAMCART image name"),
46
static ui_menu_entry_t ramcart_size_submenu[] = {
47
{ "*64KB", (ui_callback_t)radio_RAMCARTsize,
48
(ui_callback_data_t)64, NULL },
49
{ "*128KB", (ui_callback_t)radio_RAMCARTsize,
50
(ui_callback_data_t)128, NULL },
54
ui_menu_entry_t ramcart_submenu[] = {
55
{ N_("*Enable RAMCART"),
56
(ui_callback_t)toggle_RAMCART, NULL, NULL },
58
(ui_callback_t)toggle_RAMCART_RO, NULL, NULL },
60
NULL, NULL, ramcart_size_submenu },
61
{ N_("RAMCART image name..."),
62
(ui_callback_t)set_ramcart_image_name,
63
(ui_callback_data_t)"RAMCARTfilename", NULL },