Revision: 19073
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=19073&view=rev
Author: nojoopa
Date: 2008-07-22 17:33:22 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
added msdos UI for x64dtv
Modified Paths:
--------------
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/Makefile.am
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/make-bindist.sh
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uisid.c
Added Paths:
-----------
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/c64dtvui.c
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.c
branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.h
Modified: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/Makefile.am
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/Makefile.am 2008-07-22 15:30:08 UTC (rev 19072)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/Makefile.am 2008-07-22 17:33:22 UTC (rev 19073)
@@ -12,6 +12,7 @@
-I$(top_srcdir)/src/vdrive \
-I$(top_srcdir)/src/raster \
-I$(top_srcdir)/src/c64 \
+ -I$(top_srcdir)/src/c64dtv \
-I$(top_srcdir)/src/c128 \
-I$(top_srcdir)/src/vic20 \
-I$(top_srcdir)/src/pet \
@@ -29,6 +30,7 @@
archdep.h \
c128ui.c \
c64ui.c \
+ c64dtvui.c \
cbm2ui.c \
cbmcharsets.c \
cbmcharsets.h \
@@ -74,6 +76,8 @@
uic64_256k.h \
uic64cart.c \
uic64cart.h \
+ uic64dtv.c \
+ uic64dtv.h \
uicmdline.c \
uidigimax.c \
uidigimax.h \
Added: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/c64dtvui.c
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/c64dtvui.c (rev 0)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/c64dtvui.c 2008-07-22 17:33:22 UTC (rev 19073)
@@ -0,0 +1,343 @@
+/*
+ * c64dtvui.c - Definition of the C64DTV-specific part of the UI.
+ *
+ * Written by
+ * Marco van den Heuvel <bla...@ya...>
+ *
+ * This file is part of VICE, the Versatile Commodore Emulator.
+ * See README for copyright notice.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307 USA.
+ *
+ */
+
+#include "vice.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "c64ui.h"
+#include "lib.h"
+#include "machine.h"
+#include "menudefs.h"
+#include "resources.h"
+#include "tui.h"
+#include "tuifs.h"
+#include "tuimenu.h"
+#include "types.h"
+#include "ui.h"
+#include "uic64dtv.h"
+#include "uisid.h"
+
+TUI_MENU_DEFINE_TOGGLE(VICIIVideoCache)
+TUI_MENU_DEFINE_TOGGLE(VICIICheckSsColl)
+TUI_MENU_DEFINE_TOGGLE(VICIICheckSbColl)
+TUI_MENU_DEFINE_TOGGLE(PALEmulation)
+
+static TUI_MENU_CALLBACK(toggle_MachineVideoStandard_callback)
+{
+ int value;
+
+ resources_get_int("MachineVideoStandard", &value);
+
+ if (been_activated) {
+ if (value == MACHINE_SYNC_PAL)
+ value = MACHINE_SYNC_NTSC;
+ else if (value == MACHINE_SYNC_NTSC)
+ value = MACHINE_SYNC_NTSCOLD;
+ else
+ value = MACHINE_SYNC_PAL;
+
+ resources_set_int("MachineVideoStandard", value);
+ }
+
+ switch (value) {
+ case MACHINE_SYNC_PAL:
+ return "PAL-G";
+ case MACHINE_SYNC_NTSC:
+ return "NTSC-M";
+ default:
+ return "(Custom)";
+ }
+}
+
+static TUI_MENU_CALLBACK(toggle_PALMode_callback)
+{
+ int value;
+
+ resources_get_int("PALMode", &value);
+
+ if (been_activated) {
+ value = (value + 1) % 3;
+ resources_set_int("PALMode", value);
+ }
+
+ switch (value) {
+ case 0:
+ return "Fast PAL";
+ case 1:
+ return "Y/C cable (sharp)";
+ case 2:
+ return "Composite (blurry)";
+ default:
+ return "unknown";
+ }
+}
+
+static tui_menu_item_def_t vicii_menu_items[] = {
+ { "Video _Cache:",
+ "Enable screen cache (disabled when using triple buffering)",
+ toggle_VICIIVideoCache_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "_PAL Emulation:",
+ "Enable PAL emulation",
+ toggle_PALEmulation_callback, NULL, 3,
+ TUI_MENU_BEH_RESUME, NULL, NULL },
+ { "PAL _Mode:",
+ "Change PAL Mode",
+ toggle_PALMode_callback, NULL, 20,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "--" },
+ { "Sprite-_Background Collisions:",
+ "Emulate sprite-background collision register",
+ toggle_VICIICheckSbColl_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Sprite-_Sprite Collisions:",
+ "Emulate sprite-sprite collision register",
+ toggle_VICIICheckSsColl_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "V_ideo Standard:",
+ "Select machine clock ratio",
+ toggle_MachineVideoStandard_callback, NULL, 11,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { NULL }
+};
+
+/* ------------------------------------------------------------------------- */
+
+TUI_MENU_DEFINE_TOGGLE(ps2mouse)
+TUI_MENU_DEFINE_TOGGLE(Mouse)
+TUI_MENU_DEFINE_TOGGLE(EmuID)
+
+static tui_menu_item_def_t ioextenstions_menu_items[] = {
+ { "Grab mouse events",
+ "Emulate a mouse",
+ toggle_Mouse_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "PS/2 mouse emulation",
+ "Emulate a PS/2 mouse",
+ toggle_ps2mouse_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "_Emulator Identification:",
+ "Allow programs to identify the emulator they are running on",
+ toggle_EmuID_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { NULL }
+};
+
+/* ------------------------------------------------------------------------- */
+
+static struct {
+ const char *name;
+ const char *brief_description;
+ const char *menu_item;
+ const char *long_description;
+} palette_items[] = {
+ { "default", "Default", "_Default",
+ "Default VICE C64 palette" },
+ { "c64s", "C64S", "C64_S",
+ "Palette from the C64S emulator by Miha Peternel" },
+ { "ccs64", "CCS64", "_CCS64",
+ "Palette from the CCS64 emulator by Per Hakan Sundell" },
+ { "frodo", "Frodo", "_Frodo",
+ "Palette from the Frodo emulator by Christian Bauer" },
+ { "godot", "GoDot", "_GoDot",
+ "Palette as suggested by the authors of the GoDot C64 graphics package" }, { "pc64", "PC64", "_PC64",
+ "Palette from the PC64 emulator by Wolfgang Lorenz" },
+ { NULL }
+};
+
+static TUI_MENU_CALLBACK(palette_callback)
+{
+ if (been_activated) {
+ if (resources_set_string("VICIIPaletteFile", (const char *)param) < 0)
+ tui_error("Invalid palette file");
+ ui_update_menus();
+ }
+ return NULL;
+}
+
+static TUI_MENU_CALLBACK(custom_palette_callback)
+{
+ if (been_activated) {
+ char *name;
+
+ name = tui_file_selector("Load custom palette",
+ NULL, "*.vpl", NULL, 0, NULL, 0, NULL, NULL);
+
+ if (name != NULL) {
+ if (resources_set_string("VICIIPaletteFile", name) < 0)
+ tui_error("Invalid palette file");
+ ui_update_menus();
+ lib_free(name);
+ }
+ }
+ return NULL;
+}
+
+static TUI_MENU_CALLBACK(palette_menu_callback)
+{
+ const char *s;
+ int i;
+
+ resources_get_string("VICIIPaletteFile", &s);
+ for (i = 0; palette_items[i].name != NULL; i++) {
+ if (strcmp(s, palette_items[i].name) == 0)
+ return palette_items[i].brief_description;
+ }
+ return "Custom";
+}
+
+TUI_MENU_DEFINE_TOGGLE(VICIIExternalPalette)
+
+static void add_palette_submenu(tui_menu_t parent)
+{
+ int i;
+ tui_menu_t palette_menu = tui_menu_create("Color Set", 1);
+
+ for (i = 0; palette_items[i].name != NULL; i++)
+ tui_menu_add_item(palette_menu,
+ palette_items[i].menu_item,
+ palette_items[i].long_description,
+ palette_callback,
+ (void *) palette_items[i].name, 0,
+ TUI_MENU_BEH_RESUME);
+
+ tui_menu_add_item(palette_menu,
+ "C_ustom",
+ "Load a custom palette",
+ custom_palette_callback,
+ NULL, 0,
+ TUI_MENU_BEH_RESUME);
+
+ tui_menu_add_item(parent, "Use external Palette",
+ "Use the palette file below",
+ toggle_VICIIExternalPalette_callback,
+ NULL, 3, TUI_MENU_BEH_RESUME);
+
+ tui_menu_add_submenu(parent, "Color _Palette:",
+ "Choose color palette",
+ palette_menu,
+ palette_menu_callback,
+ NULL,
+ 10);
+}
+
+/* ------------------------------------------------------------------------- */
+
+static TUI_MENU_CALLBACK(load_rom_file_callback)
+{
+ if (been_activated) {
+ char *name;
+
+ name = tui_file_selector("Load ROM file",
+ NULL, "*", NULL, 0, NULL, 0, NULL, NULL);
+
+ if (name != NULL) {
+ if (resources_set_string(param, name) < 0)
+ ui_error("Could not load ROM file '%s'", name);
+ lib_free(name);
+ }
+ }
+ return NULL;
+}
+
+static tui_menu_item_def_t rom_menu_items[] = {
+ { "--" },
+ { "Load new _Kernal ROM...",
+ "Load new Kernal ROM",
+ load_rom_file_callback, "KernalName", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new _BASIC ROM...",
+ "Load new BASIC ROM",
+ load_rom_file_callback, "BasicName", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new _Character ROM...",
+ "Load new Character ROM",
+ load_rom_file_callback, "ChargenName", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new 15_41 ROM...",
+ "Load new 1541 ROM",
+ load_rom_file_callback, "DosName1541", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new 1541-_II ROM...",
+ "Load new 1541-II ROM",
+ load_rom_file_callback, "DosName1541ii", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new 15_71 ROM...",
+ "Load new 1571 ROM",
+ load_rom_file_callback, "DosName1571", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new 15_81 ROM...",
+ "Load new 1581 ROM",
+ load_rom_file_callback, "DosName1581", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new _2031 ROM...",
+ "Load new 2031 ROM",
+ load_rom_file_callback, "DosName2031", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Load new _1001 ROM...",
+ "Load new 1001 ROM",
+ load_rom_file_callback, "DosName1001", 0,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { NULL }
+};
+
+/* ------------------------------------------------------------------------- */
+
+int c64dtvui_init(void)
+{
+ tui_menu_t ui_ioextensions_submenu;
+
+ ui_create_main_menu(1, 1, 1, 2, 1);
+
+ tui_menu_add_separator(ui_special_submenu);
+
+ uic64dtv_init(ui_special_submenu);
+ tui_menu_add_separator(ui_special_submenu);
+
+ ui_ioextensions_submenu = tui_menu_create("I/O extensions", 1);
+ tui_menu_add(ui_ioextensions_submenu, ioextenstions_menu_items);
+ tui_menu_add_submenu(ui_special_submenu, "_I/O extensions...",
+ "Configure I/O extensions",
+ ui_ioextensions_submenu, NULL, 0,
+ TUI_MENU_BEH_CONTINUE);
+
+ tui_menu_add_separator(ui_video_submenu);
+
+ add_palette_submenu(ui_video_submenu);
+
+ tui_menu_add(ui_video_submenu, vicii_menu_items);
+ tui_menu_add(ui_sound_submenu, sid_ui_menu_items);
+ tui_menu_add(ui_rom_submenu, rom_menu_items);
+
+ return 0;
+}
+
+void c64dtvui_shutdown(void)
+{
+}
Modified: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/make-bindist.sh
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/make-bindist.sh 2008-07-22 15:30:08 UTC (rev 19072)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/make-bindist.sh 2008-07-22 17:33:22 UTC (rev 19073)
@@ -12,7 +12,7 @@
ZIPKIND=$4
TOPSRCDIR=$5
-if [ ! -e src/x64.exe -o ! -e src/x128.exe -o ! -e src/xvic.exe -o ! -e src/xpet.exe -o ! -e src/xplus4.exe -o ! -e src/xcbm2.exe -o ! -e src/c1541.exe -o ! -e src/petcat.exe -o ! -e src/cartconv.exe ]
+if [ ! -e src/x64.exe -o ! -e src/x64dtv.exe -o ! -e src/x128.exe -o ! -e src/xvic.exe -o ! -e src/xpet.exe -o ! -e src/xplus4.exe -o ! -e src/xcbm2.exe -o ! -e src/c1541.exe -o ! -e src/petcat.exe -o ! -e src/cartconv.exe ]
then
echo Error: executable file\(s\) not found, do a \"make\" first
exit 1
@@ -22,6 +22,7 @@
rm -f -r dosvice
mkdir dosvice
$STRIP src/x64.exe
+$STRIP src/x64dtv.exe
$STRIP src/x128.exe
$STRIP src/xvic.exe
$STRIP src/xpet.exe
@@ -30,10 +31,10 @@
$STRIP src/c1541.exe
$STRIP src/petcat.exe
$STRIP src/cartconv.exe
-cp src/x64.exe src/x128.exe src/xvic.exe dosvice
+cp src/x64.exe src/x64dtv.exe src/x128.exe src/xvic.exe dosvice
cp src/xpet.exe src/xplus4.exe src/xcbm2.exe dosvice
cp src/c1541.exe src/petcat.exe src/cartconv.exe dosvice
-cp -a $TOPSRCDIR/data/C128 $TOPSRCDIR/data/C64 $TOPSRCDIR/data/CBM-II $TOPSRCDIR/data/DRIVES dosvice
+cp -a $TOPSRCDIR/data/C128 $TOPSRCDIR/data/C64 $TOPSRCDIR/data/C64DTV $TOPSRCDIR/data/CBM-II $TOPSRCDIR/data/DRIVES dosvice
cp -a $TOPSRCDIR/data/PET $TOPSRCDIR/data/PLUS4 $TOPSRCDIR/data/PRINTER $TOPSRCDIR/data/VIC20 dosvice
cp -a $TOPSRCDIR/data/fonts dosvice
cp -a $TOPSRCDIR/doc/html dosvice
Added: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.c
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.c (rev 0)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.c 2008-07-22 17:33:22 UTC (rev 19073)
@@ -0,0 +1,134 @@
+/*
+ * uic64dtv.c - C64DTV UI interface for MS-DOS.
+ *
+ * Written by
+ * Marco van den Heuvel <bla...@ya...>
+ *
+ * This file is part of VICE, the Versatile Commodore Emulator.
+ * See README for copyright notice.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307 USA.
+ *
+ */
+
+#include "vice.h"
+
+#include <stdio.h>
+
+#include "resources.h"
+#include "tui.h"
+#include "tuimenu.h"
+#include "uic64dtv.h"
+
+TUI_MENU_DEFINE_RADIO(DtvRevision)
+TUI_MENU_DEFINE_RADIO(HummerUserportJoyPort)
+TUI_MENU_DEFINE_TOGGLE(c64dtvromrw)
+TUI_MENU_DEFINE_TOGGLE(HummerUserportJoy)
+
+static TUI_MENU_CALLBACK(DtvRevision_submenu_callback)
+{
+ int value;
+ static char s[10];
+
+ resources_get_int("DtvRevision", &value);
+ sprintf(s, "DTV%d", value);
+ return s;
+}
+
+static TUI_MENU_CALLBACK(HummerUserportJoyPort_submenu_callback)
+{
+ int value;
+ static char s[10];
+
+ resources_get_int("HummerUserportJoyPort", &value);
+ sprintf(s, "Joy%d", value);
+ return s;
+}
+
+static tui_menu_item_def_t DtvRevision_submenu[] = {
+ { "DTV_2", NULL, radio_DtvRevision_callback,
+ (void *)2, 7, TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { "DTV_3", NULL, radio_DtvRevision_callback,
+ (void *)3, 7, TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { NULL }
+};
+
+static tui_menu_item_def_t HummerUserportJoyPort_submenu[] = {
+ { "Joy_1", NULL, radio_HummerUserportJoyPort_callback,
+ (void *)1, 7, TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { "Joy_2", NULL, radio_HummerUserportJoyPort_callback,
+ (void *)2, 7, TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { NULL }
+};
+
+static TUI_MENU_CALLBACK(c64dtvromfilename_callback)
+{
+ char s[256];
+ const char *v;
+
+ if (been_activated) {
+
+ *s = '\0';
+
+ if (tui_input_string("Change C64DTV ROM image name",
+ "New image name:", s, 255) == -1)
+ return NULL;
+
+ if (*s == '\0')
+ return NULL;
+
+ resources_set_string("c64dtvromfilename", s);
+ }
+
+ resources_get_string("c64dtvromfilename", &v);
+
+ return v;
+}
+
+static tui_menu_item_def_t c64dtv_menu_items[] = {
+ { "C64DTV ROM _image file:", "Select the C64DTV ROM image file",
+ c64dtvromfilename_callback, NULL, 20,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "C64DTV revision:", "Select the revision of the C64DTV",
+ DtvRevision_submenu_callback, NULL, 11,
+ TUI_MENU_BEH_CONTINUE, DtvRevision_submenu,
+ "C64DTV revision" },
+ { "C64DTV ROM _write enabled:", "C64DTV ROM is writable",
+ toggle_c64dtvromrw_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Hummer Userport joystick enabled:", "Hummer Userport joystick enabled",
+ toggle_HummerUserportJoy_callback, NULL, 3,
+ TUI_MENU_BEH_CONTINUE, NULL, NULL },
+ { "Joystick mapped to Hummer Userport:", "Select the joystick to be mapped",
+ HummerUserportJoyPort_submenu_callback, NULL, 11,
+ TUI_MENU_BEH_CONTINUE, HummerUserportJoyPort_submenu,
+ "HummerUserportJoyPort" },
+ { NULL }
+};
+
+void uic64dtv_init(struct tui_menu *parent_submenu)
+{
+ tui_menu_t ui_c64dtv_submenu;
+
+ ui_c64dtv_submenu = tui_menu_create("C64DTV settings", 1);
+
+ tui_menu_add(ui_c64dtv_submenu, c64dtv_menu_items);
+
+ tui_menu_add_submenu(parent_submenu, "_C64DTV settings...",
+ "C64DTV settings",
+ ui_c64dtv_submenu, NULL, 0,
+ TUI_MENU_BEH_CONTINUE);
+}
Added: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.h
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.h (rev 0)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uic64dtv.h 2008-07-22 17:33:22 UTC (rev 19073)
@@ -0,0 +1,34 @@
+/*
+ * uic64dtv.h - C64DTV UI interface for MS-DOS.
+ *
+ * Written by
+ * Marco van den Heuvel <bla...@ya...>
+ *
+ * This file is part of VICE, the Versatile Commodore Emulator.
+ * See README for copyright notice.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ * 02111-1307 USA.
+ *
+ */
+
+#ifndef UIC64DTV_H
+#define UIC64DTV_H
+
+struct tui_menu;
+
+extern void uic64dtv_init(struct tui_menu *parent_submenu);
+
+#endif
Modified: branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uisid.c
===================================================================
--- branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uisid.c 2008-07-22 15:30:08 UTC (rev 19072)
+++ branches/viceplus/v2.0-x64dtv/vice/src/arch/msdos/uisid.c 2008-07-22 17:33:22 UTC (rev 19073)
@@ -55,6 +55,12 @@
case SID_MODEL_8580D:
sprintf(s, "8580 + digi boost");
break;
+ case SID_MODEL_6581R4:
+ sprintf(s, "6581R4 (not yet implemented)");
+ break;
+ case SID_MODEL_DTVSID:
+ sprintf(s, "DTVSID");
+ break;
}
return s;
@@ -73,6 +79,14 @@
"SID 8580 + digi boost emulation",
radio_SidModel_callback, (void *)SID_MODEL_8580D, 0,
TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { "6581_R4 (not yet implemented)",
+ "SID 6581R4 emulation",
+ radio_SidModel_callback, (void *)SID_MODEL_6581R4, 0,
+ TUI_MENU_BEH_CLOSE, NULL, NULL },
+ { "_DTVSID",
+ "DTVSID emulation",
+ radio_SidModel_callback, (void *)SID_MODEL_DTVSID, 0,
+ TUI_MENU_BEH_CLOSE, NULL, NULL },
{ NULL }
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|