本文整理汇总了C++中device_slot_interface类的典型用法代码示例。如果您正苦于以下问题:C++ device_slot_interface类的具体用法?C++ device_slot_interface怎么用?C++ device_slot_interface使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了device_slot_interface类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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 */
}
开发者ID:RafTacker,项目名称:mame,代码行数:7,代码来源:analogue.cpp
示例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);
}
开发者ID:MoochMcGee,项目名称:mame,代码行数:7,代码来源:cards.cpp
示例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);
}
开发者ID:SailorSat,项目名称:cabmame,代码行数:7,代码来源:vc4000.cpp
示例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);
}
开发者ID:PugsyMAME,项目名称:mame,代码行数:7,代码来源:sega8_slot.cpp
示例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);
}
开发者ID:MoochMcGee,项目名称:mame,代码行数:7,代码来源:ctrl.cpp
示例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);
}
开发者ID:fesh0r,项目名称:mame-full,代码行数:7,代码来源:sun3.cpp
示例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);
}
开发者ID:palazzol,项目名称:mame,代码行数:7,代码来源:cumana.cpp
示例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);
}
开发者ID:Dagarman,项目名称:mame,代码行数:7,代码来源:cards.cpp
示例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);
}
开发者ID:RafTacker,项目名称:mame,代码行数:7,代码来源:keyboards.cpp
示例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);
}
开发者ID:RafTacker,项目名称:mame,代码行数:7,代码来源:fdc.cpp
示例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);
}
开发者ID:RafTacker,项目名称:mame,代码行数:7,代码来源:fdc.cpp
示例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);
}
开发者ID:MoochMcGee,项目名称:mame,代码行数:8,代码来源:ggenie.cpp
示例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);
}
开发者ID:MASHinfo,项目名称:mame,代码行数:8,代码来源:isbc_218a.cpp
示例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);
}
开发者ID:Dagarman,项目名称:mame,代码行数:10,代码来源:cards.cpp
示例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);
}
开发者ID:RafTacker,项目名称:mame,代码行数:8,代码来源:keyboards.cpp
示例16: nes_control_port2_devices
void nes_control_port2_devices(device_slot_interface &device)
{
device.option_add("joypad", NES_JOYPAD);
device.option_add("zapper", NES_ZAPPER);
device.option_add("vaus", NES_ARKPADDLE);
device.option_add("powerpad", NES_POWERPAD);
device.option_add("4score_p2p4", NES_4SCORE_P2P4);
}
开发者ID:MoochMcGee,项目名称:mame,代码行数:8,代码来源:ctrl.cpp
示例17: default_sun_keyboard_devices
void default_sun_keyboard_devices(device_slot_interface &device)
{
device.option_add("type3hle", SUN_TYPE3_HLE_KEYBOARD);
device.option_add("type4hle", SUN_TYPE4_HLE_KEYBOARD);
device.option_add("type5hle", SUN_TYPE5_HLE_KEYBOARD);
device.option_add("type5gbhle", SUN_TYPE5_GB_HLE_KEYBOARD);
device.option_add("type5sehle", SUN_TYPE5_SE_HLE_KEYBOARD);
device.option_add("type5jphle", SUN_TYPE5_JP_HLE_KEYBOARD);
}
开发者ID:Dagarman,项目名称:mame,代码行数:9,代码来源:sunkbd.cpp
示例18: bbc_intube_devices
void bbc_intube_devices(device_slot_interface &device)
{
device.option_add("65c102", BBC_TUBE_65C102); /* Acorn ADC06 65C102 co-processor */
device.option_add("80186", BBC_TUBE_80186); /* Acorn ADC08 80186 co-processor */
//device.option_add("zep100m", BBC_TUBE_ZEP100M); /* Torch Z80 Communicator (ZEP100) (Master) */
//device.option_add("arm7", BBC_TUBE_ARM7); /* Sprow ARM7 co-processor */
device.option_add("rc6502", BBC_TUBE_RC6502); /* ReCo6502 (6502) */
device.option_add("rc65816", BBC_TUBE_RC65816); /* ReCo6502 (65816) */
}
开发者ID:Dagarman,项目名称:mame,代码行数:9,代码来源:tube.cpp
示例19: spec128_expansion_devices
void spec128_expansion_devices(device_slot_interface &device)
{
device.option_add("intf1", SPECTRUM_INTF1);
device.option_add("intf2", SPECTRUM_INTF2);
device.option_add("kempjoy", SPECTRUM_KEMPJOY);
device.option_add("mikroplus", SPECTRUM_MIKROPLUS);
device.option_add("plus2test", SPECTRUM_PLUS2TEST);
device.option_add("protek", SPECTRUM_PROTEK);
}
开发者ID:f205v,项目名称:mame,代码行数:9,代码来源:exp.cpp
示例20: zorro3_cards
void zorro3_cards(device_slot_interface &device)
{
device.option_add("a2052", A2052);
device.option_add("a2058", A2058);
device.option_add("a2065", A2065);
device.option_add("a2091", A2091);
device.option_add("a2232", A2232);
device.option_add("buddha", BUDDHA);
}
开发者ID:Dagarman,项目名称:mame,代码行数:9,代码来源:cards.cpp
注:本文中的device_slot_interface类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论