本文整理汇总了C++中device_slot_interface类的典型用法代码示例。如果您正苦于以下问题:C++ device_slot_interface类的具体用法?C++ device_slot_interface怎么用?C++ device_slot_interface使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了device_slot_interface类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: bbc_analogue_devices
void bbc_analogue_devices(device_slot_interface &device)
{
device.option_add("acornjoy", BBC_ACORNJOY); /* Acorn ANH01 Joysticks */
device.option_add("voltmace3b", BBC_VOLTMACE3B); /* Voltmace Delta 3b "Twin" Joysticks */
// device.option_add("quinkey", BBC_QUINKEY); /* Microwriter Quinkey */
device.option_add("cfa3000a", CFA3000_ANLG); /* Hanson CFA 3000 Analogue */
}
示例2: apricot_expansion_cards
void apricot_expansion_cards(device_slot_interface &device)
{
device.option_add("128k", APRICOT_128K_RAM);
device.option_add("256k", APRICOT_256K_RAM);
device.option_add("512k", APRICOT_512K_RAM);
device.option_add("winchester", APRICOT_WINCHESTER);
}
示例3: vc4000_cart
static void vc4000_cart(device_slot_interface &device)
{
device.option_add_internal("std", VC4000_ROM_STD);
device.option_add_internal("rom4k", VC4000_ROM_ROM4K);
device.option_add_internal("ram1k", VC4000_ROM_RAM1K);
device.option_add_internal("chess2", VC4000_ROM_CHESS2);
}
示例4: gg_cart
void gg_cart(device_slot_interface &device)
{
device.option_add_internal("rom", SEGA8_ROM_STD);
device.option_add_internal("eeprom", SEGA8_ROM_EEPROM);
device.option_add_internal("codemasters", SEGA8_ROM_CODEMASTERS);
device.option_add_internal("mgear", SEGA8_ROM_MGEAR);
}
示例5: nes_control_port1_devices
void nes_control_port1_devices(device_slot_interface &device)
{
device.option_add("joypad", NES_JOYPAD);
device.option_add("zapper", NES_ZAPPER);
device.option_add("4score_p1p3", NES_4SCORE_P1P3);
device.option_add("miracle_piano", NES_MIRACLE);
}
示例6: scsi_devices
static void scsi_devices(device_slot_interface &device)
{
device.option_add("cdrom", NSCSI_CDROM);
device.option_add("harddisk", NSCSI_HARDDISK);
device.option_add_internal("ncr5380", NCR5380N);
device.set_option_machine_config("cdrom", sun_cdrom);
}
示例7: cumana_floppies
FLOPPY_FORMATS_END0
void cumana_floppies(device_slot_interface &device)
{
device.option_add("35dd", FLOPPY_35_DD);
device.option_add("525qd", FLOPPY_525_QD);
}
示例8: a500_expansion_cards
void a500_expansion_cards(device_slot_interface &device)
{
device.option_add("ar1", ACTION_REPLAY_MK1);
device.option_add("ar2", ACTION_REPLAY_MK2);
device.option_add("ar3", ACTION_REPLAY_MK3);
device.option_add("a590", A590);
}
示例9: pc_at_keyboards
void pc_at_keyboards(device_slot_interface &device)
{
device.option_add(STR_KBD_KEYTRONIC_PC3270, PC_KBD_KEYTRONIC_PC3270_AT);
device.option_add(STR_KBD_MICROSOFT_NATURAL, PC_KBD_MICROSOFT_NATURAL);
device.option_add(STR_KBD_IBM_PC_AT_84, PC_KBD_IBM_PC_AT_84);
device.option_add(STR_KBD_IBM_3270PC_122, PC_KBD_IBM_3270PC_122);
}
示例10: pc_dd_floppies
FLOPPY_FORMATS_END
static void pc_dd_floppies(device_slot_interface &device)
{
device.option_add("525dd", FLOPPY_525_DD);
device.option_add("35dd", FLOPPY_35_DD);
}
示例11: pc_hd_floppies
static void pc_hd_floppies(device_slot_interface &device)
{
device.option_add("525hd", FLOPPY_525_HD);
device.option_add("35hd", FLOPPY_35_HD);
device.option_add("525dd", FLOPPY_525_DD);
device.option_add("35dd", FLOPPY_35_DD);
}
示例12: ggenie_sub_cart
static void ggenie_sub_cart(device_slot_interface &device)
{
device.option_add_internal("rom", MD_STD_ROM);
device.option_add_internal("rom_svp", MD_STD_ROM);
device.option_add_internal("rom_sram", MD_ROM_SRAM);
device.option_add_internal("rom_sramsafe", MD_ROM_SRAM);
device.option_add_internal("rom_fram", MD_ROM_FRAM);
}
示例13: isbc_218a_floppies
FLOPPY_PC_FORMAT
FLOPPY_FORMATS_END
static void isbc_218a_floppies(device_slot_interface &device)
{
device.option_add("8dd", FLOPPY_8_DSDD);
device.option_add("525dd", FLOPPY_525_DD);
}
示例14: sv602_slot_cards
// The single slot expander doesn't support the disk controller, since
// it requires its own power supply to power the disk drives
void sv602_slot_cards(device_slot_interface &device)
{
device.option_add("sv802", SV802);
device.option_add("sv803", SV803);
device.option_add("sv805", SV805);
device.option_add("sv806", SV806);
device.option_add("sv807", SV807);
}
示例15: pc_xt_keyboards
void pc_xt_keyboards(device_slot_interface &device)
{
device.option_add(STR_KBD_KEYTRONIC_PC3270, PC_KBD_KEYTRONIC_PC3270);
device.option_add(STR_KBD_IBM_PC_83, PC_KBD_IBM_PC_83);
device.option_add(STR_KBD_IBM_PC_XT_83, PC_KBD_IBM_PC_XT_83);
device.option_add(STR_KBD_EC_1841, PC_KBD_EC_1841);
device.option_add(STR_KBD_ISKR_1030, PC_KBD_ISKR_1030);
}