| Previous | 199869 Revisions | Next |
| r41610 Thursday 5th November, 2015 at 23:37:43 UTC by David Haywood |
|---|
| Merge pull request #457 from sparrowred/master konamim2: softwarelist 3do_m2 is only for 3do_m2, removed it from arcade machines in this driver. |
| [src/devices/bus/a2bus] | a2cffa.c |
| [src/devices/bus/cgenie/expansion] | floppy.c |
| [src/devices/bus/cpc] | ddi1.c |
| [src/devices/bus/isa] | sc499.c |
| [src/devices/bus/msx_cart] | disk.c |
| [src/devices/bus/nasbus] | floppy.c |
| [src/devices/bus/ti99x] | gromport.c |
| [src/devices/imagedev] | cassette.c flopdrv.c floppy.c floppy.h |
| [src/devices/machine] | laserdsc.c |
| [src/emu] | audit.c cheat.c clifront.c diimage.c diimage.h drivenum.c driver.c emu.h image.h info.c luaengine.c machine.c mame.c mame.h render.h romload.c screen.h softlist.h video.c |
| [src/emu/ui] | barcode.c cheatopt.c devopt.c filemngr.c filesel.c imgcntrl.c info.c inputmap.c mainmenu.c menu.c miscmenu.c selgame.c selgame.h sliders.c slotopt.c swlist.c tapectrl.c ui.c videoopt.c viewgfx.c |
| [src/lib/formats] | flopimg.c |
| [src/lib/netlist/solver] | nld_solver.c |
| [src/lib/util] | avhuff.c coretmpl.h |
| [src/mame/drivers] | a2600.c a310.c a7800.c abc1600.c abc80.c abc80x.c adam.c advision.c aim65.c alg.c alphatro.c altos5.c amiga.c ampro.c amstrad.c apc.c apf.c apogee.c apple1.c apple2.c apple2e.c apple2gs.c apple3.c aquarius.c arcadia.c astrohome.c at.c atari400.c atarist.c atom.c attache.c b2m.c bbc.c bbcbc.c bk.c bullet.c bw12.c bw2.c c128.c c64.c c65.c casloopy.c cbm2.c cc40.c cdi.c cgenie.c channelf.c cliffhgr.c coco12.c coco3.c coleco.c compis.c compucolor.c comx35.c crvision.c ct486.c dai.c decwritr.c dlair.c dmv.c dps1.c ec184x.c einstein.c electron.c ep64.c exelv.c fm7.c fmtowns.c force68k.c galaxy.c gamate.c gamecom.c gameking.c gamepock.c gb.c gba.c geniusiq.c genpc.c gimix.c gmaster.c gp32.c guab.c horizon.c hp9845.c ht68k.c hx20.c i7000.c ibmpc.c ibmpcjr.c interact.c intv.c iq151.c iskr103x.c istellar.c jaguar.c juicebox.c jupace.c kaypro.c kc.c konamim2.c kyocera.c leapster.c lgp.c lisa.c lviv.c lynx.c m20.c m24.c m5.c mac.c macpci.c mbc200.c mbc55x.c mc10.c mc1000.c mc1502.c megadriv.c megatech.c microvsn.c mikro80.c mikromik.c mikrosha.c mpz80.c msx.c mtx.c myvision.c mz2000.c mz2500.c mz700.c mzr8105.c n64.c nascom1.c neogeo.c nes.c next.c ng_aes.c ngp.c ninjakd2.c odyssey2.c ondra.c orao.c orion.c osbexec.c osborne1.c partner.c pasogo.c pb1000.c pc.c pc1512.c pc2000.c pc8801.c pc88va.c pc9801.c pce.c pcw.c pcw16.c pecom.c pegasus.c pencil2.c pentagon.c pet.c pk8020.c plus4.c pmd85.c pokemini.c portfoli.c prestige.c prof180x.c prof80.c psion.c psx.c pt68k4.c ptcsol.c pv1000.c pv2000.c px4.c px8.c pyl601.c ql.c qx10.c radio86.c rainbow.c rmnimbus.c rx78.c sage2.c samcoupe.c saturn.c scv.c sega_sawatte.c segald.c segapico.c sg1000.c smc777.c sms.c snes.c socrates.c softbox.c sorcerer.c spc1000.c special.c specpls3.c spectrum.c studio2.c stv.c super6.c superdq.c supracan.c sv8000.c svi318.c svision.c svmu.c tandy1t.c tandy2k.c tdv2324.c tek405x.c thayers.c thomson.c ti74.c ti99_4x.c tiki100.c timex.c tispeak.c trs80m2.c tutor.c tvc.c unichamp.c ut88.c uzebox.c v1050.c vboy.c vc4000.c vector06.c vectrex.c vg5k.c vic10.c vic20.c victor9k.c vidbrain.c vii.c vip.c vixen.c vtech1.c wangpc.c wswan.c x07.c x1.c x1twin.c x68k.c xerox820.c |
| [src/mame/machine] | apollo.c |
| [src/mame/video] | powervr2.c |
| [src/osd/modules/debugger] | debugint.c |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "includes/apple2.h" |
| 16 | 16 | #include "machine/ataintf.h" |
| 17 | 17 | #include "imagedev/harddriv.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | /*************************************************************************** |
| 21 | 21 | PARAMETERS |
| 22 | 22 | ***************************************************************************/ |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "floppy.h" |
| 15 | 15 | #include "formats/cgenie_dsk.h" |
| 16 | 16 | #include "bus/generic/carts.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | ||
| 19 | 19 | //************************************************************************** |
| 20 | 20 | // CONSTANTS/MACROS |
| 21 | 21 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 7 | 7 | #include "emu.h" |
| 8 | 8 | #include "ddi1.h" |
| 9 | 9 | #include "includes/amstrad.h" |
| 10 | #include "softlist.h" | |
| 10 | 11 | |
| 11 | 12 | //************************************************************************** |
| 12 | 13 | // DEVICE DEFINITIONS |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | |
| 17 | 17 | #include "sc499.h" |
| 18 | 18 | #include "formats/ioprocs.h" |
| 19 | #include "image.h" | |
| 19 | 20 | |
| 20 | 21 | #define VERBOSE 0 |
| 21 | 22 |
| r250121 | r250122 | |
|---|---|---|
| 103 | 103 | #include "emu.h" |
| 104 | 104 | #include "disk.h" |
| 105 | 105 | #include "formats/msx_dsk.h" |
| 106 | #include "softlist.h" | |
| 106 | 107 | |
| 107 | ||
| 108 | 108 | const device_type MSX_CART_VY0010 = &device_creator<msx_cart_vy0010>; |
| 109 | 109 | const device_type MSX_CART_FSFD1 = &device_creator<msx_cart_fsfd1>; |
| 110 | 110 | const device_type MSX_CART_FSFD1A = &device_creator<msx_cart_fsfd1a>; |
| r250121 | r250122 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "floppy.h" |
| 10 | 10 | #include "formats/nascom_dsk.h" |
| 11 | #include "softlist.h" | |
| 11 | 12 | |
| 12 | ||
| 13 | 13 | //************************************************************************** |
| 14 | 14 | // CONSTANTS/MACROS |
| 15 | 15 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 111 | 111 | |
| 112 | 112 | ***************************************************************************/ |
| 113 | 113 | #include "gromport.h" |
| 114 | #include "image.h" | |
| 115 | #include "softlist.h" | |
| 114 | 116 | |
| 115 | 117 | #define TRACE_RPK 0 |
| 116 | 118 | #define TRACE_CHANGE 0 |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | #include "formats/imageutl.h" |
| 13 | 13 | #include "cassette.h" |
| 14 | 14 | #include "ui/ui.h" |
| 15 | #include "image.h" | |
| 15 | 16 | |
| 16 | 17 | |
| 17 | 18 | #define ANIMATION_FPS 1 |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "emu.h" |
| 17 | 17 | #include "formats/imageutl.h" |
| 18 | 18 | #include "flopdrv.h" |
| 19 | #include "image.h" | |
| 19 | 20 | |
| 20 | 21 | #define VERBOSE 0 |
| 21 | 22 | #define LOG(x) do { if (VERBOSE) logerror x; } while (0) |
| r250121 | r250122 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "emu.h" |
| 10 | 10 | #include "emuopts.h" |
| 11 | #include "ui/menu.h" | |
| 12 | #include "ui/filesel.h" | |
| 11 | 13 | #include "zippath.h" |
| 12 | 14 | #include "floppy.h" |
| 13 | 15 | #include "formats/imageutl.h" |
| 14 | #include " | |
| 16 | #include "image.h" | |
| 15 | 17 | |
| 16 | 18 | /* |
| 17 | 19 | Debugging flags. Set to 0 or 1. |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "formats/td0_dsk.h" |
| 20 | 20 | #include "formats/cqm_dsk.h" |
| 21 | 21 | #include "formats/dsk_dsk.h" |
| 22 | #include "ui/menu.h" | |
| 22 | 23 | #include "ui/imgcntrl.h" |
| 23 | 24 | #include "sound/samples.h" |
| 24 | 25 |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "avhuff.h" |
| 14 | 14 | #include "vbiparse.h" |
| 15 | 15 | #include "config.h" |
| 16 | #include "render.h" | |
| 17 | 16 | #include "chd.h" |
| 18 | 17 | |
| 19 | 18 |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "audit.h" |
| 14 | 14 | #include "chd.h" |
| 15 | 15 | #include "sound/samples.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | |
| 17 | 18 | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 18 | 19 | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| r250121 | r250122 | |
|---|---|---|
| 76 | 76 | #include "emuopts.h" |
| 77 | 77 | #include "xmlfile.h" |
| 78 | 78 | #include "ui/ui.h" |
| 79 | #include "ui/menu.h" | |
| 79 | 80 | #include "cheat.h" |
| 80 | 81 | #include "debug/debugcpu.h" |
| 81 | 82 |
| r250121 | r250122 | |
|---|---|---|
| 25 | 25 | #include "drivenum.h" |
| 26 | 26 | |
| 27 | 27 | #include "osdepend.h" |
| 28 | #include "softlist.h" | |
| 28 | 29 | |
| 29 | 30 | #include <new> |
| 30 | 31 | #include <ctype.h> |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | #include "emuopts.h" |
| 13 | 13 | #include "drivenum.h" |
| 14 | 14 | #include "ui/ui.h" |
| 15 | #include "ui/menu.h" | |
| 15 | 16 | #include "zippath.h" |
| 16 | 17 | #include "ui/filesel.h" |
| 17 | 18 | #include "ui/swlist.h" |
| 18 | 19 | #include "ui/imgcntrl.h" |
| 20 | #include "softlist.h" | |
| 21 | #include "image.h" | |
| 19 | 22 | |
| 20 | 23 | //************************************************************************** |
| 21 | 24 | // DEVICE CONFIG IMAGE INTERFACE |
| r250121 | r250122 | |
|---|---|---|
| 98 | 98 | struct feature_list; |
| 99 | 99 | class software_part; |
| 100 | 100 | class software_info; |
| 101 | class ui_menu; | |
| 101 | 102 | |
| 102 | 103 | // device image interface function types |
| 103 | 104 | typedef delegate<int (device_image_interface &)> device_image_load_delegate; |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "drivenum.h" |
| 13 | #include "softlist.h" | |
| 13 | 14 | #include <ctype.h> |
| 14 | 15 | |
| 15 | 16 |
| r250121 | r250122 | |
|---|---|---|
| 9 | 9 | ***************************************************************************/ |
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | #include "image.h" | |
| 12 | 13 | #include "drivenum.h" |
| 13 | 14 | |
| 14 | 15 |
| r250121 | r250122 | |
|---|---|---|
| 32 | 32 | // emulator-specific utilities |
| 33 | 33 | #include "attotime.h" |
| 34 | 34 | #include "hash.h" |
| 35 | #include "fileio.h" | |
| 35 | #include "fileio.h" | |
| 36 | 36 | #include "delegate.h" |
| 37 | 37 | #include "devdelegate.h" |
| 38 | 38 | |
| r250121 | r250122 | |
| 55 | 55 | #include "ioport.h" |
| 56 | 56 | #include "output.h" |
| 57 | 57 | |
| 58 | // diimage requires uimenu | |
| 59 | #include "ui/menu.h" | |
| 60 | ||
| 61 | 58 | // devices and callbacks |
| 62 | 59 | #include "device.h" |
| 63 | 60 | #include "devfind.h" |
| r250121 | r250122 | |
| 88 | 85 | // timers, CPU and scheduling |
| 89 | 86 | #include "devcpu.h" |
| 90 | 87 | |
| 91 | // image-related | |
| 92 | #include "softlist.h" | |
| 93 | #include "image.h" | |
| 94 | ||
| 95 | 88 | // networking |
| 96 | 89 | #include "network.h" |
| 97 | 90 | |
| 98 | // lua engine | |
| 99 | #include "luaengine.h" | |
| 100 | ||
| 101 | 91 | // the running machine |
| 102 | 92 | #include "mame.h" |
| 103 | 93 | #include "machine.h" |
| r250121 | r250122 | |
| 108 | 98 | #include "tilemap.h" |
| 109 | 99 | #include "emupal.h" |
| 110 | 100 | #include "screen.h" |
| 101 | #include "render.h" | |
| 111 | 102 | #include "video.h" |
| 112 | 103 | |
| 113 | 104 | // sound-related |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #pragma once |
| 12 | 12 | |
| 13 | #ifndef __EMU_H__ | |
| 14 | #error Dont include this file directly; include emu.h instead. | |
| 15 | #endif | |
| 16 | ||
| 17 | 13 | #ifndef __IMAGE_H__ |
| 18 | 14 | #define __IMAGE_H__ |
| 19 | 15 |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "info.h" |
| 16 | 16 | #include "xmlfile.h" |
| 17 | 17 | #include "config.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | #include <ctype.h> |
| 20 | 21 |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "osdepend.h" |
| 18 | 18 | #include "drivenum.h" |
| 19 | 19 | #include "ui/ui.h" |
| 20 | #include "luaengine.h" | |
| 20 | 21 | |
| 21 | 22 | //************************************************************************** |
| 22 | 23 | // LUA ENGINE |
| r250121 | r250122 | |
|---|---|---|
| 82 | 82 | #include "unzip.h" |
| 83 | 83 | #include "debug/debugcon.h" |
| 84 | 84 | #include "debug/debugvw.h" |
| 85 | ||
| 85 | #include "image.h" | |
| 86 | #include "luaengine.h" | |
| 86 | 87 | #include <time.h> |
| 87 | 88 | |
| 88 | 89 | #if defined(EMSCRIPTEN) |
| r250121 | r250122 | |
|---|---|---|
| 82 | 82 | #include "crsshair.h" |
| 83 | 83 | #include "validity.h" |
| 84 | 84 | #include "debug/debugcon.h" |
| 85 | #include "luaengine.h" | |
| 85 | 86 | #include <time.h> |
| 86 | 87 | |
| 87 | 88 | //************************************************************************** |
| r250121 | r250122 | |
| 117 | 118 | machine_manager::machine_manager(emu_options &options,osd_interface &osd) |
| 118 | 119 | : m_osd(osd), |
| 119 | 120 | m_options(options), |
| 121 | m_lua(global_alloc(lua_engine)), | |
| 120 | 122 | m_new_driver_pending(NULL), |
| 121 | 123 | m_machine(NULL) |
| 122 | 124 | { |
| r250121 | r250122 | |
| 153 | 155 | ***************************************************************************/ |
| 154 | 156 | void machine_manager::update_machine() |
| 155 | 157 | { |
| 156 | m_lua | |
| 158 | m_lua->set_machine(m_machine); | |
| 157 | 159 | } |
| 158 | 160 | |
| 159 | 161 | /*------------------------------------------------- |
| r250121 | r250122 | |
| 171 | 173 | bool exit_pending = false; |
| 172 | 174 | int error = MAMERR_NONE; |
| 173 | 175 | |
| 174 | m_lua | |
| 176 | m_lua->initialize(); | |
| 175 | 177 | while (error == MAMERR_NONE && !exit_pending) |
| 176 | 178 | { |
| 177 | 179 | m_new_driver_pending = NULL; |
| r250121 | r250122 | |
|---|---|---|
| 71 | 71 | static void printf_usage(const char *par1, const char *par2); |
| 72 | 72 | }; |
| 73 | 73 | |
| 74 | class lua_engine; | |
| 74 | 75 | |
| 75 | 76 | // ======================> machine_manager |
| 76 | 77 | |
| r250121 | r250122 | |
| 87 | 88 | |
| 88 | 89 | osd_interface &osd() const; |
| 89 | 90 | emu_options &options() const { return m_options; } |
| 90 | lua_engine *lua() { return | |
| 91 | lua_engine *lua() { return m_lua; } | |
| 91 | 92 | |
| 92 | 93 | running_machine *machine() { return m_machine; } |
| 93 | 94 | |
| r250121 | r250122 | |
| 102 | 103 | osd_interface & m_osd; // reference to OSD system |
| 103 | 104 | emu_options & m_options; // reference to options |
| 104 | 105 | |
| 105 | lua_engine | |
| 106 | lua_engine * m_lua; | |
| 106 | 107 | |
| 107 | 108 | const game_driver * m_new_driver_pending; // pointer to the next pending driver |
| 108 | 109 |
| r250121 | r250122 | |
|---|---|---|
| 51 | 51 | #include <math.h> |
| 52 | 52 | |
| 53 | 53 | |
| 54 | ||
| 55 | 54 | //************************************************************************** |
| 56 | 55 | // CONSTANTS |
| 57 | 56 | //************************************************************************** |
| 58 | 57 | |
| 59 | // texture formats | |
| 60 | enum texture_format | |
| 61 | { | |
| 62 | TEXFORMAT_UNDEFINED = 0, // require a format to be specified | |
| 63 | TEXFORMAT_PALETTE16, // 16bpp palettized, alpha ignored | |
| 64 | TEXFORMAT_PALETTEA16, // 16bpp palettized, alpha respected | |
| 65 | TEXFORMAT_RGB32, // 32bpp 8-8-8 RGB | |
| 66 | TEXFORMAT_ARGB32, // 32bpp 8-8-8-8 ARGB | |
| 67 | TEXFORMAT_YUY16 // 16bpp 8-8 Y/Cb, Y/Cr in sequence | |
| 68 | }; | |
| 69 | ||
| 70 | 58 | // blending modes |
| 71 | 59 | enum |
| 72 | 60 | { |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "png.h" |
| 14 | 14 | #include "chd.h" |
| 15 | 15 | #include "config.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | #include "ui/ui.h" |
| 17 | 18 | |
| 18 | 19 |
| r250121 | r250122 | |
|---|---|---|
| 31 | 31 | SCREEN_TYPE_LCD |
| 32 | 32 | }; |
| 33 | 33 | |
| 34 | // texture formats | |
| 35 | enum texture_format | |
| 36 | { | |
| 37 | TEXFORMAT_UNDEFINED = 0, // require a format to be specified | |
| 38 | TEXFORMAT_PALETTE16, // 16bpp palettized, alpha ignored | |
| 39 | TEXFORMAT_PALETTEA16, // 16bpp palettized, alpha respected | |
| 40 | TEXFORMAT_RGB32, // 32bpp 8-8-8 RGB | |
| 41 | TEXFORMAT_ARGB32, // 32bpp 8-8-8-8 ARGB | |
| 42 | TEXFORMAT_YUY16 // 16bpp 8-8 Y/Cb, Y/Cr in sequence | |
| 43 | }; | |
| 34 | 44 | |
| 35 | 45 | // screen_update callback flags |
| 36 | 46 | const UINT32 UPDATE_HAS_NOT_CHANGED = 0x0001; // the video has not changed |
| r250121 | r250122 | |
|---|---|---|
| 11 | 11 | #ifndef __SOFTLIST_H_ |
| 12 | 12 | #define __SOFTLIST_H_ |
| 13 | 13 | |
| 14 | #include "ui/menu.h" | |
| 15 | 14 | #include "cstrpool.h" |
| 16 | 15 | |
| 17 | 16 |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "ui/ui.h" |
| 13 | #include "ui/menu.h" | |
| 13 | 14 | #include "ui/barcode.h" |
| 14 | 15 | |
| 15 | 16 | // itemrefs for key menu items |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "uiinput.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "ui/menu.h" | |
| 16 | 17 | #include "ui/cheatopt.h" |
| 17 | 18 | |
| 18 | 19 | /*------------------------------------------------- |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "ui/ui.h" |
| 13 | #include "ui/menu.h" | |
| 13 | 14 | #include "ui/devopt.h" |
| 14 | 15 | |
| 15 | 16 | /*------------------------------------------------- |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "emu.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "ui/menu.h" | |
| 16 | 17 | #include "ui/swlist.h" |
| 17 | 18 | #include "ui/filemngr.h" |
| 18 | 19 | #include "ui/filesel.h" |
| 19 | 20 | #include "ui/miscmenu.h" |
| 21 | #include "softlist.h" | |
| 20 | 22 | |
| 21 | 23 | |
| 22 | 24 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | |
| 15 | 15 | #include "emu.h" |
| 16 | 16 | #include "ui/ui.h" |
| 17 | #include "ui/menu.h" | |
| 17 | 18 | #include "zippath.h" |
| 18 | 19 | #include "ui/menu.h" |
| 19 | 20 | #include "ui/filesel.h" |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "ui/swlist.h" |
| 17 | 17 | #include "zippath.h" |
| 18 | 18 | #include "audit.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | 21 | |
| 21 | 22 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | #include "ui/menu.h" |
| 13 | 13 | #include "ui/info.h" |
| 14 | 14 | #include "ui/ui.h" |
| 15 | #include "softlist.h" | |
| 15 | 16 | |
| 16 | 17 | /*------------------------------------------------- |
| 17 | 18 | menu_game_info - handle the game information |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | |
| 13 | 13 | #include "uiinput.h" |
| 14 | 14 | #include "ui/ui.h" |
| 15 | #include "ui/menu.h" | |
| 15 | 16 | #include "ui/inputmap.h" |
| 16 | 17 | |
| 17 | 18 |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "cheat.h" |
| 18 | 18 | #include "uiinput.h" |
| 19 | 19 | #include "ui/ui.h" |
| 20 | #include "ui/menu.h" | |
| 20 | 21 | #include "ui/filemngr.h" |
| 21 | 22 | #include "ui/filesel.h" |
| 22 | 23 | #include "ui/barcode.h" |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "cheat.h" |
| 15 | 15 | #include "uiinput.h" |
| 16 | 16 | #include "ui/ui.h" |
| 17 | #include "ui/menu.h" | |
| 17 | 18 | #include "ui/mainmenu.h" |
| 18 | 19 | #include "ui/cheatopt.h" |
| 19 | 20 |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "uiinput.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "ui/menu.h" | |
| 16 | 17 | #include "ui/miscmenu.h" |
| 17 | 18 | #include "ui/filemngr.h" |
| 18 | 19 |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | #include "osdnet.h" |
| 13 | 13 | #include "emuopts.h" |
| 14 | 14 | #include "ui/ui.h" |
| 15 | #include "ui/menu.h" | |
| 15 | 16 | #include "rendutil.h" |
| 16 | 17 | #include "cheat.h" |
| 17 | 18 | #include "uiinput.h" |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #define __UI_SELGAME_H__ |
| 15 | 15 | |
| 16 | 16 | #include "drivenum.h" |
| 17 | #include "menu.h" | |
| 17 | 18 | |
| 18 | ||
| 19 | 19 | class ui_menu_select_game : public ui_menu { |
| 20 | 20 | public: |
| 21 | 21 | ui_menu_select_game(running_machine &machine, render_container *container, const char *gamename); |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "osdepend.h" |
| 14 | 14 | #include "uiinput.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "ui/menu.h" | |
| 16 | 17 | #include "ui/sliders.h" |
| 17 | 18 | |
| 18 | 19 |
| r250121 | r250122 | |
|---|---|---|
| 11 | 11 | #include "emu.h" |
| 12 | 12 | |
| 13 | 13 | #include "ui/ui.h" |
| 14 | #include "ui/menu.h" | |
| 14 | 15 | #include "ui/slotopt.h" |
| 15 | 16 | #include "ui/devopt.h" |
| 16 | 17 |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "ui/ui.h" |
| 13 | #include "ui/menu.h" | |
| 13 | 14 | #include "ui/swlist.h" |
| 15 | #include "softlist.h" | |
| 14 | 16 | |
| 15 | 17 | |
| 16 | 18 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 9 | 9 | ***************************************************************************/ |
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | #include "ui/menu.h" | |
| 12 | 13 | #include "ui/tapectrl.h" |
| 13 | 14 | |
| 14 | 15 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "rendfont.h" |
| 18 | 18 | #include "uiinput.h" |
| 19 | 19 | #include "ui/ui.h" |
| 20 | #include "ui/menu.h" | |
| 20 | 21 | #include "ui/cheatopt.h" |
| 21 | 22 | #include "ui/mainmenu.h" |
| 22 | 23 | #include "ui/miscmenu.h" |
| r250121 | r250122 | |
| 24 | 25 | #include "ui/sliders.h" |
| 25 | 26 | #include "ui/viewgfx.h" |
| 26 | 27 | #include "imagedev/cassette.h" |
| 28 | #include "image.h" | |
| 27 | 29 | |
| 28 | 30 | |
| 29 | 31 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "uiinput.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "ui/menu.h" | |
| 16 | 17 | #include "ui/videoopt.h" |
| 17 | 18 | |
| 18 | 19 | /*------------------------------------------------- |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "ui/ui.h" |
| 13 | #include "ui/menu.h" | |
| 13 | 14 | #include "uiinput.h" |
| 14 | 15 | #include "render.h" |
| 15 | 16 | #include "rendfont.h" |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "crsshair.h" |
| 18 | 18 | #include "rendersw.inc" |
| 19 | 19 | #include "output.h" |
| 20 | #include "luaengine.h" | |
| 20 | 21 | |
| 21 | 22 | #include "snap.lh" |
| 22 | 23 |
| r250121 | r250122 | |
|---|---|---|
| 1046 | 1046 | int elen = strlen(ext); |
| 1047 | 1047 | const char *rext = extensions(); |
| 1048 | 1048 | for(;;) { |
| 1049 | const char *next = strchr(rext, ','); | |
| 1050 | int rlen = next ? next - rext : strlen(rext); | |
| 1049 | const char *next_ext = strchr(rext, ','); | |
| 1050 | int rlen = next_ext ? next_ext - rext : strlen(rext); | |
| 1051 | 1051 | if(rlen == elen && !memcmp(ext, rext, rlen)) |
| 1052 | 1052 | return true; |
| 1053 | if(next) | |
| 1054 | rext = next+1; | |
| 1053 | if(next_ext) | |
| 1054 | next_ext = next_ext +1; | |
| 1055 | 1055 | else |
| 1056 | 1056 | break; |
| 1057 | 1057 | } |
| r250121 | r250122 | |
|---|---|---|
| 163 | 163 | case terminal_t::INPUT: |
| 164 | 164 | { |
| 165 | 165 | analog_output_t *net_proxy_output = NULL; |
| 166 | for (std::size_t i = 0; i < m_inps.size(); i++) | |
| 167 | if (m_inps[i]->m_proxied_net == &p->net().as_analog()) | |
| 166 | for (std::size_t j = 0; j < m_inps.size(); j++) | |
| 167 | if (m_inps[j]->m_proxied_net == &p->net().as_analog()) | |
| 168 | 168 | { |
| 169 | net_proxy_output = m_inps[ | |
| 169 | net_proxy_output = m_inps[j]; | |
| 170 | 170 | break; |
| 171 | 171 | } |
| 172 | 172 | |
| r250121 | r250122 | |
| 641 | 641 | net_t *n = groups[i][j]; |
| 642 | 642 | for (std::size_t k = 0; k < n->m_core_terms.size(); k++) |
| 643 | 643 | { |
| 644 | const core_terminal_t *p = n->m_core_terms[k]; | |
| 645 | netlist().log().verbose(" {1}", p->name()); | |
| 644 | const core_terminal_t *pcore = n->m_core_terms[k]; | |
| 645 | netlist().log().verbose(" {1}", pcore->name()); | |
| 646 | 646 | } |
| 647 | 647 | } |
| 648 | 648 | } |
| r250121 | r250122 | |
|---|---|---|
| 834 | 834 | return err; |
| 835 | 835 | |
| 836 | 836 | // advance the pointers past the data |
| 837 | | |
| 837 | treesize = (source[8] << 8) + source[9]; | |
| 838 | 838 | if (treesize != 0xffff) |
| 839 | 839 | srcoffs += treesize; |
| 840 | 840 | for (int chnum = 0; chnum < channels; chnum++) |
| r250121 | r250122 | |
|---|---|---|
| 339 | 339 | void reclaim(_ItemType &item) { m_freelist.append(item); } |
| 340 | 340 | |
| 341 | 341 | // reclaim all items from a list |
| 342 | void reclaim_all(simple_list<_ItemType> &list) { m_freelist.append_list(list); } | |
| 342 | void reclaim_all(simple_list<_ItemType> &_list) { m_freelist.append_list(_list); } | |
| 343 | 343 | |
| 344 | 344 | private: |
| 345 | 345 | // internal state |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | #include "bus/vcs/scharger.h" |
| 28 | 28 | #include "bus/vcs/compumat.h" |
| 29 | 29 | #include "bus/vcs_ctrl/ctrl.h" |
| 30 | #include "softlist.h" | |
| 30 | 31 | |
| 31 | 32 | |
| 32 | ||
| 33 | 33 | #if USE_NEW_RIOT |
| 34 | 34 | #include "machine/mos6530n.h" |
| 35 | 35 | #else |
| r250121 | r250122 | |
|---|---|---|
| 68 | 68 | #include "machine/ram.h" |
| 69 | 69 | #include "machine/wd_fdc.h" |
| 70 | 70 | #include "formats/applix_dsk.h" |
| 71 | #include "softlist.h" | |
| 71 | 72 | |
| 72 | ||
| 73 | 73 | class a310_state : public archimedes_state |
| 74 | 74 | { |
| 75 | 75 | public: |
| r250121 | r250122 | |
|---|---|---|
| 103 | 103 | #include "machine/mos6530n.h" |
| 104 | 104 | #include "video/maria.h" |
| 105 | 105 | #include "bus/a7800/a78_carts.h" |
| 106 | #include "softlist.h" | |
| 106 | 107 | |
| 107 | ||
| 108 | 108 | #define A7800_NTSC_Y1 XTAL_14_31818MHz |
| 109 | 109 | #define CLK_PAL 1773447 |
| 110 | 110 |
| r250121 | r250122 | |
|---|---|---|
| 46 | 46 | */ |
| 47 | 47 | |
| 48 | 48 | #include "includes/abc1600.h" |
| 49 | #include "softlist.h" | |
| 49 | 50 | |
| 50 | 51 | |
| 51 | ||
| 52 | 52 | //************************************************************************** |
| 53 | 53 | // CONSTANTS / MACROS |
| 54 | 54 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 75 | 75 | */ |
| 76 | 76 | |
| 77 | 77 | #include "includes/abc80.h" |
| 78 | #include "softlist.h" | |
| 78 | 79 | |
| 79 | 80 | |
| 80 | ||
| 81 | 81 | //************************************************************************** |
| 82 | 82 | // CONSTANTS |
| 83 | 83 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 148 | 148 | */ |
| 149 | 149 | |
| 150 | 150 | #include "includes/abc80x.h" |
| 151 | #include "softlist.h" | |
| 151 | 152 | |
| 152 | 153 | |
| 153 | ||
| 154 | 154 | //************************************************************************** |
| 155 | 155 | // SOUND |
| 156 | 156 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 300 | 300 | */ |
| 301 | 301 | |
| 302 | 302 | #include "includes/adam.h" |
| 303 | #include "softlist.h" | |
| 303 | 304 | |
| 304 | 305 | |
| 305 | ||
| 306 | 306 | //************************************************************************** |
| 307 | 307 | // MACROS / CONSTANTS |
| 308 | 308 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | #include "cpu/mcs48/mcs48.h" |
| 24 | 24 | #include "cpu/cop400/cop400.h" |
| 25 | 25 | #include "sound/dac.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | 28 | /* Memory Maps */ |
| 28 | 29 |
| r250121 | r250122 | |
|---|---|---|
| 25 | 25 | ******************************************************************************/ |
| 26 | 26 | |
| 27 | 27 | #include "includes/aim65.h" |
| 28 | #include "softlist.h" | |
| 28 | 29 | #include "aim65.lh" |
| 29 | 30 | |
| 30 | 31 |
| r250121 | r250122 | |
|---|---|---|
| 24 | 24 | |
| 25 | 25 | #include "emu.h" |
| 26 | 26 | #include "cpu/m68000/m68000.h" |
| 27 | #include "render.h" | |
| 28 | 27 | #include "includes/amiga.h" |
| 29 | 28 | #include "machine/ldstub.h" |
| 30 | 29 | #include "machine/nvram.h" |
| r250121 | r250122 | |
|---|---|---|
| 45 | 45 | #include "sound/beep.h" |
| 46 | 46 | #include "sound/wave.h" |
| 47 | 47 | #include "machine/ram.h" |
| 48 | #include "softlist.h" | |
| 48 | 49 | |
| 49 | 50 | #define MAIN_CLOCK XTAL_4MHz |
| 50 | 51 |
| r250121 | r250122 | |
|---|---|---|
| 22 | 22 | #include "machine/z80dart.h" |
| 23 | 23 | #include "machine/z80dma.h" |
| 24 | 24 | #include "machine/wd_fdc.h" |
| 25 | #include "softlist.h" | |
| 25 | 26 | |
| 26 | ||
| 27 | 27 | class altos5_state : public driver_device |
| 28 | 28 | { |
| 29 | 29 | public: |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | #include "machine/amigakbd.h" |
| 24 | 24 | #include "machine/cr511b.h" |
| 25 | 25 | #include "machine/rp5c01.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | ||
| 28 | 28 | //************************************************************************** |
| 29 | 29 | // TYPE DEFINITIONS |
| 30 | 30 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | #include "machine/z80ctc.h" |
| 28 | 28 | #include "machine/z80dart.h" |
| 29 | 29 | #include "machine/wd_fdc.h" |
| 30 | #include "softlist.h" | |
| 30 | 31 | |
| 31 | ||
| 32 | 32 | class ampro_state : public driver_device |
| 33 | 33 | { |
| 34 | 34 | public: |
| r250121 | r250122 | |
|---|---|---|
| 109 | 109 | #include "formats/msx_dsk.h" |
| 110 | 110 | |
| 111 | 111 | #include "machine/ram.h" |
| 112 | #include "softlist.h" | |
| 112 | 113 | |
| 113 | 114 | #define MANUFACTURER_NAME 0x07 |
| 114 | 115 | #define TV_REFRESH_RATE 0x10 |
| r250121 | r250122 | |
|---|---|---|
| 62 | 62 | #include "machine/upd1990a.h" |
| 63 | 63 | #include "machine/nvram.h" |
| 64 | 64 | #include "video/upd7220.h" |
| 65 | ||
| 65 | #include "softlist.h" | |
| 66 | 66 | //#include "sound/ay8910.h" |
| 67 | 67 | |
| 68 | 68 | #define MAIN_CLOCK XTAL_5MHz |
| r250121 | r250122 | |
|---|---|---|
| 82 | 82 | #include "bus/apf/slot.h" |
| 83 | 83 | #include "bus/apf/rom.h" |
| 84 | 84 | |
| 85 | #include "softlist.h" | |
| 85 | 86 | |
| 86 | 87 | class apf_state : public driver_device |
| 87 | 88 | { |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "imagedev/cassette.h" |
| 19 | 19 | #include "formats/rk_cas.h" |
| 20 | 20 | #include "includes/radio86.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | class apogee_state : public radio86_state |
| 24 | 24 | { |
| 25 | 25 | public: |
| r250121 | r250122 | |
|---|---|---|
| 137 | 137 | #include "bus/a1bus/a1cassette.h" |
| 138 | 138 | #include "bus/a1bus/a1cffa.h" |
| 139 | 139 | |
| 140 | #include "softlist.h" | |
| 141 | ||
| 140 | 142 | /* port i/o functions */ |
| 141 | 143 | |
| 142 | 144 | /* memory w/r functions */ |
| r250121 | r250122 | |
|---|---|---|
| 81 | 81 | #include "bus/a2bus/ramcard128k.h" |
| 82 | 82 | #include "bus/a2bus/ezcgi.h" |
| 83 | 83 | |
| 84 | #include "softlist.h" | |
| 85 | ||
| 84 | 86 | #define A2_CPU_TAG "maincpu" |
| 85 | 87 | #define A2_KBDC_TAG "ay3600" |
| 86 | 88 | #define A2_BUS_TAG "a2bus" |
| r250121 | r250122 | |
|---|---|---|
| 149 | 149 | #include "bus/a2bus/a2eext80col.h" |
| 150 | 150 | #include "bus/a2bus/a2eramworks3.h" |
| 151 | 151 | |
| 152 | #include "softlist.h" | |
| 153 | ||
| 152 | 154 | #define A2_CPU_TAG "maincpu" |
| 153 | 155 | #define A2_KBDC_TAG "ay3600" |
| 154 | 156 | #define A2_BUS_TAG "a2bus" |
| r250121 | r250122 | |
|---|---|---|
| 78 | 78 | //#include "bus/a2bus/a2udrive.h" |
| 79 | 79 | #include "bus/a2bus/a2hsscsi.h" |
| 80 | 80 | |
| 81 | #include "softlist.h" | |
| 82 | ||
| 81 | 83 | static const gfx_layout apple2gs_text_layout = |
| 82 | 84 | { |
| 83 | 85 | 14,8, /* 14*8 characters */ |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | #include "bus/a2bus/a2thunderclock.h" |
| 28 | 28 | #include "bus/a2bus/mouse.h" |
| 29 | 29 | |
| 30 | #include "softlist.h" | |
| 31 | ||
| 30 | 32 | static ADDRESS_MAP_START( apple3_map, AS_PROGRAM, 8, apple3_state ) |
| 31 | 33 | AM_RANGE(0x0000, 0xffff) AM_READWRITE(apple3_memory_r, apple3_memory_w) |
| 32 | 34 | ADDRESS_MAP_END |
| r250121 | r250122 | |
|---|---|---|
| 22 | 22 | ***************************************************************************/ |
| 23 | 23 | |
| 24 | 24 | #include "includes/aquarius.h" |
| 25 | #include "softlist.h" | |
| 25 | 26 | |
| 26 | 27 | /*************************************************************************** |
| 27 | 28 | CONSTANTS |
| r250121 | r250122 | |
|---|---|---|
| 120 | 120 | ******************************************************************************/ |
| 121 | 121 | |
| 122 | 122 | #include "includes/arcadia.h" |
| 123 | #include "softlist.h" | |
| 123 | 124 | |
| 124 | 125 | static ADDRESS_MAP_START( arcadia_mem, AS_PROGRAM, 8, arcadia_state ) |
| 125 | 126 | AM_RANGE( 0x0000, 0x0fff) AM_DEVREAD("cartslot", arcadia_cart_slot_device, read_rom) |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "bus/astrocde/rom.h" |
| 16 | 16 | #include "bus/astrocde/exp.h" |
| 17 | 17 | #include "bus/astrocde/ram.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | class astrocde_mess_state : public astrocde_state |
| 20 | 21 | { |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | |
| 15 | 15 | #include "includes/at.h" |
| 16 | 16 | #include "bus/pc_kbd/keyboards.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | 19 | static ADDRESS_MAP_START( at16_map, AS_PROGRAM, 16, at_state ) |
| 19 | 20 | AM_RANGE(0x000000, 0x09ffff) AM_RAMBANK("bank10") |
| r250121 | r250122 | |
|---|---|---|
| 51 | 51 | #include "bus/a800/a800_slot.h" |
| 52 | 52 | #include "bus/a800/a800_carts.h" |
| 53 | 53 | #include "bus/a800/a8sio.h" |
| 54 | #include "softlist.h" | |
| 54 | 55 | |
| 55 | ||
| 56 | 56 | /****************************************************************************** |
| 57 | 57 | Atari 800 memory map (preliminary) |
| 58 | 58 |
| r250121 | r250122 | |
|---|---|---|
| 4 | 4 | #include "machine/clock.h" |
| 5 | 5 | #include "bus/midi/midi.h" |
| 6 | 6 | #include "video/atarist.h" |
| 7 | #include "softlist.h" | |
| 7 | 8 | |
| 8 | 9 | /* |
| 9 | 10 |
| r250121 | r250122 | |
|---|---|---|
| 115 | 115 | |
| 116 | 116 | #include "includes/atom.h" |
| 117 | 117 | #include "formats/imageutl.h" |
| 118 | #include "softlist.h" | |
| 118 | 119 | |
| 119 | 120 | /*************************************************************************** |
| 120 | 121 | PARAMETERS |
| r250121 | r250122 | |
|---|---|---|
| 64 | 64 | #include "video/tms9927.h" |
| 65 | 65 | #include "machine/ram.h" |
| 66 | 66 | #include "machine/nvram.h" |
| 67 | #include "softlist.h" | |
| 67 | 68 | |
| 68 | 69 | class attache_state : public driver_device |
| 69 | 70 | { |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "machine/ram.h" |
| 20 | 20 | #include "includes/b2m.h" |
| 21 | 21 | #include "formats/smx_dsk.h" |
| 22 | #include "softlist.h" | |
| 22 | 23 | |
| 23 | 24 | /* Address maps */ |
| 24 | 25 | static ADDRESS_MAP_START(b2m_mem, AS_PROGRAM, 8, b2m_state ) |
| r250121 | r250122 | |
|---|---|---|
| 54 | 54 | #include "formats/uef_cas.h" |
| 55 | 55 | #include "formats/csw_cas.h" |
| 56 | 56 | #include "includes/bbc.h" |
| 57 | #include "softlist.h" | |
| 57 | 58 | |
| 58 | ||
| 59 | 59 | /****************************************************************************** |
| 60 | 60 | A = BBC Model A |
| 61 | 61 | B = BBC Model B |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "cpu/z80/z80daisy.h" |
| 19 | 19 | #include "bus/generic/slot.h" |
| 20 | 20 | #include "bus/generic/carts.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | class bbcbc_state : public driver_device |
| 24 | 24 | { |
| 25 | 25 | public: |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "includes/bk.h" |
| 16 | 16 | #include "imagedev/cassette.h" |
| 17 | 17 | #include "formats/rk_cas.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | /* Address maps */ |
| 20 | 21 | static ADDRESS_MAP_START(bk0010_mem, AS_PROGRAM, 16, bk_state ) |
| r250121 | r250122 | |
|---|---|---|
| 61 | 61 | #include "includes/bullet.h" |
| 62 | 62 | #include "bus/rs232/rs232.h" |
| 63 | 63 | #include "bus/scsi/scsihd.h" |
| 64 | #include "softlist.h" | |
| 64 | 65 | |
| 65 | 66 | |
| 66 | ||
| 67 | 67 | //************************************************************************** |
| 68 | 68 | // MACROS / CONSTANTS |
| 69 | 69 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | |
| 28 | 28 | #include "includes/bw12.h" |
| 29 | 29 | #include "bus/rs232/rs232.h" |
| 30 | ||
| 30 | #include "softlist.h" | |
| 31 | 31 | /* |
| 32 | 32 | |
| 33 | 33 | TODO: |
| r250121 | r250122 | |
|---|---|---|
| 26 | 26 | |
| 27 | 27 | #include "includes/bw2.h" |
| 28 | 28 | #include "bus/rs232/rs232.h" |
| 29 | #include "softlist.h" | |
| 29 | 30 | |
| 30 | 31 | |
| 31 | ||
| 32 | 32 | //************************************************************************** |
| 33 | 33 | // MACROS / CONSTANTS |
| 34 | 34 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "cpu/z80/z80.h" |
| 15 | 15 | #include "machine/cbm_snqk.h" |
| 16 | 16 | #include "sound/dac.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | //************************************************************************** |
| 21 | 21 | // MACROS / CONSTANTS |
| 22 | 22 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "includes/c64.h" |
| 18 | 18 | #include "bus/cbmiec/c1541.h" |
| 19 | 19 | #include "machine/cbm_snqk.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | //************************************************************************** |
| 24 | 24 | // MACROS / CONSTANTS |
| 25 | 25 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 21 | 21 | #include "emu.h" |
| 22 | 22 | #include "cpu/m6502/m4510.h" |
| 23 | 23 | #include "machine/mos6526.h" |
| 24 | #include "softlist.h" | |
| 24 | 25 | |
| 25 | 26 | #define MAIN_CLOCK XTAL_3_5MHz |
| 26 | 27 |
| r250121 | r250122 | |
|---|---|---|
| 154 | 154 | //#include "cpu/v60/v60.h" |
| 155 | 155 | #include "bus/generic/slot.h" |
| 156 | 156 | #include "bus/generic/carts.h" |
| 157 | #include "softlist.h" | |
| 157 | 158 | |
| 158 | ||
| 159 | 159 | class casloopy_state : public driver_device |
| 160 | 160 | { |
| 161 | 161 | public: |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | |
| 13 | 13 | #include "includes/cbm2.h" |
| 14 | 14 | #include "bus/rs232/rs232.h" |
| 15 | #include "softlist.h" | |
| 15 | 16 | |
| 16 | 17 | |
| 17 | ||
| 18 | 18 | //************************************************************************** |
| 19 | 19 | // MACROS / CONSTANTS |
| 20 | 20 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 79 | 79 | #include "machine/nvram.h" |
| 80 | 80 | #include "bus/generic/slot.h" |
| 81 | 81 | #include "bus/generic/carts.h" |
| 82 | #include "softlist.h" | |
| 82 | 83 | |
| 83 | 84 | #include "cc40.lh" |
| 84 | 85 |
| r250121 | r250122 | |
|---|---|---|
| 35 | 35 | #include "cdrom.h" |
| 36 | 36 | #include "cdi.lh" |
| 37 | 37 | #include "imagedev/chd_cd.h" |
| 38 | #include "softlist.h" | |
| 38 | 39 | |
| 39 | 40 | #if ENABLE_VERBOSE_LOG |
| 40 | 41 | INLINE void ATTR_PRINTF(3,4) verboselog(running_machine &machine, int n_level, const char *s_fmt, ...) |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | #include "bus/rs232/rs232.h" |
| 24 | 24 | #include "bus/cgenie/expansion/expansion.h" |
| 25 | 25 | #include "bus/cgenie/parallel/parallel.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | ||
| 28 | 28 | //************************************************************************** |
| 29 | 29 | // TYPE DEFINITIONS |
| 30 | 30 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | ******************************************************************/ |
| 16 | 16 | |
| 17 | 17 | #include "includes/channelf.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | #ifndef VERBOSE |
| 20 | 21 | #define VERBOSE 0 |
| r250121 | r250122 | |
|---|---|---|
| 77 | 77 | |
| 78 | 78 | #include "emu.h" |
| 79 | 79 | #include "cpu/z80/z80.h" |
| 80 | #include "render.h" | |
| 81 | 80 | #include "machine/ldpr8210.h" |
| 82 | 81 | #include "video/tms9928a.h" |
| 83 | 82 | #include "sound/discrete.h" |
| r250121 | r250122 | |
|---|---|---|
| 33 | 33 | #include "bus/coco/coco_multi.h" |
| 34 | 34 | #include "bus/coco/coco_dwsock.h" |
| 35 | 35 | #include "formats/coco_cas.h" |
| 36 | #include "softlist.h" | |
| 36 | 37 | |
| 37 | 38 | //************************************************************************** |
| 38 | 39 | // ADDRESS MAPS |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "cpu/m6809/m6809.h" |
| 17 | 17 | #include "cpu/m6809/hd6309.h" |
| 18 | 18 | #include "formats/coco_cas.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | #include "coco3.lh" |
| 20 | 21 | |
| 21 | 22 |
| r250121 | r250122 | |
|---|---|---|
| 64 | 64 | */ |
| 65 | 65 | |
| 66 | 66 | #include "includes/coleco.h" |
| 67 | #include "softlist.h" | |
| 67 | 68 | |
| 68 | ||
| 69 | 69 | /* Read/Write Handlers */ |
| 70 | 70 | |
| 71 | 71 | READ8_MEMBER( coleco_state::paddle_1_r ) |
| r250121 | r250122 | |
|---|---|---|
| 44 | 44 | |
| 45 | 45 | #include "includes/compis.h" |
| 46 | 46 | #include "bus/rs232/rs232.h" |
| 47 | #include "softlist.h" | |
| 47 | 48 | |
| 48 | 49 | |
| 49 | ||
| 50 | 50 | //************************************************************************** |
| 51 | 51 | // READ/WRITE HANDLERS |
| 52 | 52 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 31 | 31 | #include "machine/ram.h" |
| 32 | 32 | #include "machine/tms5501.h" |
| 33 | 33 | #include "video/tms9927.h" |
| 34 | #include "softlist.h" | |
| 34 | 35 | |
| 35 | 36 | class compucolor2_state : public driver_device |
| 36 | 37 | { |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "includes/comx35.h" |
| 15 | 15 | #include "formats/imageutl.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | |
| 17 | ||
| 18 | 18 | /*************************************************************************** |
| 19 | 19 | PARAMETERS |
| 20 | 20 | ***************************************************************************/ |
| r250121 | r250122 | |
|---|---|---|
| 128 | 128 | */ |
| 129 | 129 | |
| 130 | 130 | #include "includes/crvision.h" |
| 131 | #include "softlist.h" | |
| 131 | 132 | |
| 132 | 133 | /*************************************************************************** |
| 133 | 134 | MEMORY MAPS |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "bus/isa/isa.h" |
| 17 | 17 | #include "bus/isa/isa_cards.h" |
| 18 | 18 | #include "sound/speaker.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | ||
| 21 | 21 | //************************************************************************** |
| 22 | 22 | // TYPE DEFINITIONS |
| 23 | 23 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 62 | 62 | |
| 63 | 63 | #include "emu.h" |
| 64 | 64 | #include "includes/dai.h" |
| 65 | #include "softlist.h" | |
| 65 | 66 | |
| 66 | 67 | /* I/O ports */ |
| 67 | 68 | static ADDRESS_MAP_START( dai_io , AS_IO, 8, dai_state ) |
| r250121 | r250122 | |
|---|---|---|
| 9 | 9 | **************************************************************************/ |
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | #include "render.h" | |
| 13 | 12 | #include "cpu/i8085/i8085.h" |
| 14 | 13 | #include "machine/i8251.h" |
| 15 | 14 | #include "sound/beep.h" |
| r250121 | r250122 | |
|---|---|---|
| 36 | 36 | |
| 37 | 37 | #include "emu.h" |
| 38 | 38 | #include "cpu/z80/z80.h" |
| 39 | #include "render.h" | |
| 40 | 39 | #include "cpu/z80/z80daisy.h" |
| 41 | 40 | #include "machine/ldv1000.h" |
| 42 | 41 | #include "machine/ldstub.h" |
| r250121 | r250122 | |
|---|---|---|
| 31 | 31 | #include "bus/dmv/k806.h" |
| 32 | 32 | #include "bus/dmv/ram.h" |
| 33 | 33 | |
| 34 | #include "softlist.h" | |
| 34 | 35 | |
| 35 | 36 | #include "dmv.lh" |
| 36 | 37 |
| r250121 | r250122 | |
|---|---|---|
| 3 | 3 | |
| 4 | 4 | #include "emu.h" |
| 5 | 5 | #include "cpu/z80/z80.h" |
| 6 | #include "softlist.h" | |
| 6 | 7 | |
| 7 | 8 | class dps1_state : public driver_device |
| 8 | 9 | { |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "bus/pc_kbd/keyboards.h" |
| 18 | 18 | #include "cpu/i86/i86.h" |
| 19 | 19 | #include "machine/ram.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | 22 | #define EC1841_MEMBOARD_SIZE (512*1024) |
| 22 | 23 |
| r250121 | r250122 | |
|---|---|---|
| 61 | 61 | #include "sound/ay8910.h" |
| 62 | 62 | #include "rendlay.h" |
| 63 | 63 | #include "includes/einstein.h" |
| 64 | #include "softlist.h" | |
| 64 | 65 | |
| 65 | 66 | #define VERBOSE_KEYBOARD 0 |
| 66 | 67 | #define VERBOSE_DISK 0 |
| r250121 | r250122 | |
|---|---|---|
| 73 | 73 | #include "imagedev/cassette.h" |
| 74 | 74 | #include "formats/uef_cas.h" |
| 75 | 75 | #include "sound/beep.h" |
| 76 | #include "softlist.h" | |
| 76 | 77 | |
| 77 | 78 | static const rgb_t electron_palette[8]= |
| 78 | 79 | { |
| r250121 | r250122 | |
|---|---|---|
| 150 | 150 | */ |
| 151 | 151 | |
| 152 | 152 | #include "includes/ep64.h" |
| 153 | #include "softlist.h" | |
| 153 | 154 | |
| 154 | 155 | |
| 155 | ||
| 156 | 156 | //************************************************************************** |
| 157 | 157 | // READ/WRITE HANDLERS |
| 158 | 158 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 60 | 60 | #include "bus/generic/slot.h" |
| 61 | 61 | #include "bus/generic/carts.h" |
| 62 | 62 | //#include "imagedev/cassette.h" |
| 63 | #include "softlist.h" | |
| 63 | 64 | |
| 64 | ||
| 65 | 65 | class exelv_state : public driver_device |
| 66 | 66 | { |
| 67 | 67 | public: |
| r250121 | r250122 | |
|---|---|---|
| 51 | 51 | #include "imagedev/flopdrv.h" |
| 52 | 52 | #include "bus/centronics/dsjoy.h" |
| 53 | 53 | #include "includes/fm7.h" |
| 54 | #include "softlist.h" | |
| 54 | 55 | |
| 55 | 56 | /* key scancode conversion table |
| 56 | 57 | * The FM-7 expects different scancodes when shift,ctrl or graph is held, or |
| r250121 | r250122 | |
|---|---|---|
| 179 | 179 | #include "includes/fmtowns.h" |
| 180 | 180 | #include "bus/scsi/scsi.h" |
| 181 | 181 | #include "bus/scsi/scsihd.h" |
| 182 | #include "softlist.h" | |
| 182 | 183 | |
| 183 | 184 | // CD controller IRQ types |
| 184 | 185 | #define TOWNS_CD_IRQ_MPU 1 |
| r250121 | r250122 | |
|---|---|---|
| 85 | 85 | #include "bus/centronics/ctronics.h" |
| 86 | 86 | #include "bus/generic/slot.h" |
| 87 | 87 | #include "bus/generic/carts.h" |
| 88 | #include "softlist.h" | |
| 88 | 89 | |
| 89 | 90 | #define LOG(x) x |
| 90 | 91 |
| r250121 | r250122 | |
|---|---|---|
| 32 | 32 | #include "sound/ay8910.h" |
| 33 | 33 | #include "formats/gtp_cas.h" |
| 34 | 34 | #include "machine/ram.h" |
| 35 | #include "softlist.h" | |
| 35 | 36 | |
| 36 | 37 | static ADDRESS_MAP_START (galaxyp_io, AS_IO, 8, galaxy_state ) |
| 37 | 38 | ADDRESS_MAP_GLOBAL_MASK(0x01) |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "emu.h" |
| 14 | 14 | #include "includes/gamate.h" |
| 15 | 15 | #include "ui/ui.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | |
| 17 | 18 | class gamate_state : public driver_device |
| 18 | 19 | { |
| r250121 | r250122 | |
|---|---|---|
| 28 | 28 | ***************************************************************************/ |
| 29 | 29 | |
| 30 | 30 | #include "includes/gamecom.h" |
| 31 | #include "softlist.h" | |
| 31 | 32 | #include "gamecom.lh" |
| 32 | 33 | |
| 33 | 34 | static ADDRESS_MAP_START(gamecom_mem_map, AS_PROGRAM, 8, gamecom_state) |
| r250121 | r250122 | |
|---|---|---|
| 28 | 28 | #include "cpu/m6502/m65ce02.h" |
| 29 | 29 | #include "bus/generic/slot.h" |
| 30 | 30 | #include "bus/generic/carts.h" |
| 31 | #include "softlist.h" | |
| 31 | 32 | |
| 32 | ||
| 33 | 33 | class gameking_state : public driver_device |
| 34 | 34 | { |
| 35 | 35 | public: |
| r250121 | r250122 | |
|---|---|---|
| 8 | 8 | #include "bus/generic/carts.h" |
| 9 | 9 | #include "includes/gamepock.h" |
| 10 | 10 | #include "rendlay.h" |
| 11 | #include "softlist.h" | |
| 11 | 12 | |
| 12 | ||
| 13 | 13 | static ADDRESS_MAP_START(gamepock_mem, AS_PROGRAM, 8, gamepock_state) |
| 14 | 14 | ADDRESS_MAP_UNMAP_HIGH |
| 15 | 15 | AM_RANGE(0x0000,0x0fff) AM_ROM |
| r250121 | r250122 | |
|---|---|---|
| 427 | 427 | #include "includes/gb.h" |
| 428 | 428 | #include "bus/gameboy/rom.h" |
| 429 | 429 | #include "bus/gameboy/mbc.h" |
| 430 | #include "softlist.h" | |
| 430 | 431 | |
| 431 | ||
| 432 | 432 | READ8_MEMBER(gb_state::gb_cart_r) |
| 433 | 433 | { |
| 434 | 434 | if (m_bios_disable && m_cartslot) |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "includes/gba.h" |
| 19 | 19 | #include "bus/gba/rom.h" |
| 20 | 20 | #include "rendlay.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | 23 | #define VERBOSE_LEVEL (0) |
| 23 | 24 |
| r250121 | r250122 | |
|---|---|---|
| 239 | 239 | #include "bus/generic/slot.h" |
| 240 | 240 | #include "bus/generic/carts.h" |
| 241 | 241 | |
| 242 | #include "softlist.h" | |
| 243 | ||
| 242 | 244 | #define KEYBOARD_QUEUE_SIZE 0x80 |
| 243 | 245 | |
| 244 | 246 | class geniusiq_state : public driver_device |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "cpu/i86/i86.h" |
| 18 | 18 | #include "machine/pc_lpt.h" |
| 19 | 19 | #include "bus/pc_kbd/keyboards.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | 22 | class genpc_state : public driver_device |
| 22 | 23 | { |
| r250121 | r250122 | |
|---|---|---|
| 34 | 34 | #include "machine/bankdev.h" |
| 35 | 35 | #include "machine/ram.h" |
| 36 | 36 | #include "formats/flex_dsk.h" |
| 37 | #include "softlist.h" | |
| 37 | 38 | |
| 38 | 39 | #define DMA_DRQ (m_dma_status & 0x80) |
| 39 | 40 | #define DMA_INTRQ (m_dma_status & 0x40) |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | #include "bus/generic/slot.h" |
| 11 | 11 | #include "bus/generic/carts.h" |
| 12 | 12 | #include "rendlay.h" |
| 13 | #include "softlist.h" | |
| 13 | 14 | |
| 14 | ||
| 15 | 15 | class gmaster_state : public driver_device |
| 16 | 16 | { |
| 17 | 17 | public: |
| r250121 | r250122 | |
|---|---|---|
| 21 | 21 | #include "cpu/arm7/arm7core.h" |
| 22 | 22 | #include "includes/gp32.h" |
| 23 | 23 | #include "rendlay.h" |
| 24 | #include "softlist.h" | |
| 24 | 25 | |
| 25 | 26 | #define VERBOSE_LEVEL ( 0 ) |
| 26 | 27 |
| r250121 | r250122 | |
|---|---|---|
| 33 | 33 | #include "sound/sn76496.h" |
| 34 | 34 | #include "machine/wd_fdc.h" |
| 35 | 35 | #include "formats/guab_dsk.h" |
| 36 | #include "softlist.h" | |
| 36 | 37 | |
| 37 | ||
| 38 | 38 | /************************************* |
| 39 | 39 | * |
| 40 | 40 | * Defines |
| r250121 | r250122 | |
|---|---|---|
| 36 | 36 | #include "bus/s100/s100.h" |
| 37 | 37 | #include "cpu/z80/z80.h" |
| 38 | 38 | #include "machine/i8251.h" |
| 39 | #include "softlist.h" | |
| 39 | 40 | |
| 40 | 41 | #define Z80_TAG "z80" |
| 41 | 42 | #define I8251_L_TAG "3a" |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "cpu/z80/z80.h" |
| 13 | #include "softlist.h" | |
| 13 | 14 | |
| 14 | 15 | class hp9845_state : public driver_device |
| 15 | 16 | { |
| r250121 | r250122 | |
|---|---|---|
| 32 | 32 | #include "cpu/m68000/m68000.h" |
| 33 | 33 | #include "machine/mc68681.h" |
| 34 | 34 | #include "machine/wd_fdc.h" |
| 35 | #include "softlist.h" | |
| 35 | 36 | |
| 36 | 37 | class ht68k_state : public driver_device |
| 37 | 38 | { |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | 29 | #include "includes/hx20.h" |
| 30 | #include "softlist.h" | |
| 30 | 31 | |
| 31 | 32 | |
| 32 | ||
| 33 | 33 | //************************************************************************** |
| 34 | 34 | // READ/WRITE HANDLERS |
| 35 | 35 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 49 | 49 | #include "machine/i8279.h" |
| 50 | 50 | #include "sound/speaker.h" |
| 51 | 51 | #include "video/mc6845.h" |
| 52 | #include "softlist.h" | |
| 52 | 53 | |
| 53 | 54 | class i7000_state : public driver_device |
| 54 | 55 | { |
| r250121 | r250122 | |
|---|---|---|
| 263 | 263 | #include "machine/pc_lpt.h" |
| 264 | 264 | #include "bus/pc_kbd/keyboards.h" |
| 265 | 265 | #include "includes/genpc.h" |
| 266 | #include "softlist.h" | |
| 266 | 267 | |
| 267 | 268 | class ibmpc_state : public driver_device |
| 268 | 269 | { |
| r250121 | r250122 | |
|---|---|---|
| 22 | 22 | #include "bus/generic/slot.h" |
| 23 | 23 | #include "bus/generic/carts.h" |
| 24 | 24 | |
| 25 | #include "softlist.h" | |
| 26 | ||
| 25 | 27 | class pcjr_state : public driver_device |
| 26 | 28 | { |
| 27 | 29 | public: |
| r250121 | r250122 | |
|---|---|---|
| 59 | 59 | #include "sound/wave.h" /* for K7 sound*/ |
| 60 | 60 | #include "sound/discrete.h" /* for 1 Bit sound*/ |
| 61 | 61 | #include "machine/upd765.h" /* for floppy disc controller */ |
| 62 | ||
| 62 | #include "softlist.h" | |
| 63 | 63 | #include "includes/hec2hrp.h" |
| 64 | 64 | |
| 65 | 65 |
| r250121 | r250122 | |
|---|---|---|
| 55 | 55 | #include "cpu/cp1610/cp1610.h" |
| 56 | 56 | #include "includes/intv.h" |
| 57 | 57 | #include "sound/ay8910.h" |
| 58 | #include "softlist.h" | |
| 58 | 59 | |
| 59 | 60 | #ifndef VERBOSE |
| 60 | 61 | #ifdef MAME_DEBUG |
| r250121 | r250122 | |
|---|---|---|
| 61 | 61 | #include "bus/iq151/video32.h" |
| 62 | 62 | #include "bus/iq151/video64.h" |
| 63 | 63 | |
| 64 | #include "softlist.h" | |
| 64 | 65 | |
| 65 | ||
| 66 | 66 | class iq151_state : public driver_device |
| 67 | 67 | { |
| 68 | 68 | public: |
| r250121 | r250122 | |
|---|---|---|
| 25 | 25 | #include "bus/pc_kbd/keyboards.h" |
| 26 | 26 | #include "machine/pc_lpt.h" |
| 27 | 27 | #include "machine/ram.h" |
| 28 | #include "softlist.h" | |
| 28 | 29 | |
| 29 | 30 | #define DBG_LOG(a,b,c) |
| 30 | 31 |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | |
| 24 | 24 | #include "emu.h" |
| 25 | 25 | #include "cpu/z80/z80.h" |
| 26 | #include "render.h" | |
| 27 | 26 | #include "machine/ldv1000.h" |
| 28 | 27 | |
| 29 | 28 |
| r250121 | r250122 | |
|---|---|---|
| 348 | 348 | #include "imagedev/chd_cd.h" |
| 349 | 349 | #include "bus/generic/slot.h" |
| 350 | 350 | #include "bus/generic/carts.h" |
| 351 | #include "softlist.h" | |
| 351 | 352 | |
| 352 | ||
| 353 | 353 | #define COJAG_CLOCK XTAL_52MHz |
| 354 | 354 | #define R3000_CLOCK XTAL_40MHz |
| 355 | 355 | #define M68K_CLOCK XTAL_50MHz |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "machine/smartmed.h" |
| 15 | 15 | #include "sound/dac.h" |
| 16 | 16 | #include "rendlay.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | 19 | //#define JUICEBOX_ENTER_DEBUG_MENU |
| 19 | 20 | //#define JUICEBOX_DISPLAY_ROM_ID |
| r250121 | r250122 | |
|---|---|---|
| 55 | 55 | #include "sound/sp0256.h" |
| 56 | 56 | #include "sound/speaker.h" |
| 57 | 57 | #include "sound/wave.h" |
| 58 | #include "softlist.h" | |
| 58 | 59 | |
| 59 | ||
| 60 | 60 | #define Z80_TAG "z0" |
| 61 | 61 | #define AY8910_TAG "ay8910" |
| 62 | 62 | #define I8255_TAG "i8255" |
| r250121 | r250122 | |
|---|---|---|
| 43 | 43 | |
| 44 | 44 | #include "includes/kaypro.h" |
| 45 | 45 | #include "formats/kaypro_dsk.h" |
| 46 | #include "softlist.h" | |
| 46 | 47 | |
| 47 | ||
| 48 | 48 | READ8_MEMBER( kaypro_state::kaypro2x_87_r ) { return 0x7f; } /* to bypass unemulated HD controller */ |
| 49 | 49 | |
| 50 | 50 | /*********************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | /* Core includes */ |
| 18 | 18 | #include "emu.h" |
| 19 | 19 | #include "includes/kc.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | ||
| 22 | 22 | static ADDRESS_MAP_START(kc85_4_io, AS_IO, 8, kc85_4_state) |
| 23 | 23 | ADDRESS_MAP_UNMAP_HIGH |
| 24 | 24 | AM_RANGE(0x0084, 0x0085) AM_MIRROR(0xff00) AM_READWRITE(kc85_4_84_r, kc85_4_84_w) |
| r250121 | r250122 | |
|---|---|---|
| 192 | 192 | #include "cdrom.h" |
| 193 | 193 | #include "cpu/powerpc/ppc.h" |
| 194 | 194 | #include "imagedev/chd_cd.h" |
| 195 | #include "softlist.h" | |
| 195 | 196 | |
| 196 | 197 | struct CDE_DMA |
| 197 | 198 | { |
| r250121 | r250122 | |
|---|---|---|
| 67 | 67 | |
| 68 | 68 | |
| 69 | 69 | #include "includes/kyocera.h" |
| 70 | #include "softlist.h" | |
| 70 | 71 | |
| 71 | 72 | /* Read/Write Handlers */ |
| 72 | 73 |
| r250121 | r250122 | |
|---|---|---|
| 210 | 210 | #include "bus/generic/slot.h" |
| 211 | 211 | #include "bus/generic/carts.h" |
| 212 | 212 | #include "cpu/arcompact/arcompact.h" |
| 213 | #include "softlist.h" | |
| 213 | 214 | |
| 214 | ||
| 215 | 215 | class leapster_state : public driver_device |
| 216 | 216 | { |
| 217 | 217 | public: |
| r250121 | r250122 | |
|---|---|---|
| 67 | 67 | |
| 68 | 68 | #include "emu.h" |
| 69 | 69 | #include "cpu/z80/z80.h" |
| 70 | #include "render.h" | |
| 71 | 70 | #include "machine/ldv1000.h" |
| 72 | 71 | |
| 73 | 72 |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "cpu/cop400/cop400.h" |
| 16 | 16 | #include "includes/lisa.h" |
| 17 | 17 | #include "formats/ap_dsk35.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | /*************************************************************************** |
| 21 | 21 | ADDRESS MAP |
| 22 | 22 | ***************************************************************************/ |
| r250121 | r250122 | |
|---|---|---|
| 292 | 292 | #include "imagedev/cassette.h" |
| 293 | 293 | #include "formats/lviv_lvt.h" |
| 294 | 294 | #include "machine/ram.h" |
| 295 | #include "softlist.h" | |
| 295 | 296 | |
| 296 | 297 | /* I/O ports */ |
| 297 | 298 |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | #include "cpu/m6502/m65sc02.h" |
| 13 | 13 | #include "audio/lynx.h" |
| 14 | 14 | #include "includes/lynx.h" |
| 15 | #include "softlist.h" | |
| 15 | 16 | |
| 16 | 17 | #include "lynx.lh" |
| 17 | 18 |
| r250121 | r250122 | |
|---|---|---|
| 51 | 51 | #include "machine/m20_kbd.h" |
| 52 | 52 | #include "bus/rs232/rs232.h" |
| 53 | 53 | #include "machine/m20_8086.h" |
| 54 | #include "softlist.h" | |
| 54 | 55 | |
| 55 | 56 | class m20_state : public driver_device |
| 56 | 57 | { |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | #include "formats/pc_dsk.h" |
| 14 | 14 | #include "formats/naslite_dsk.h" |
| 15 | 15 | #include "formats/m20_dsk.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | |
| 17 | 18 | class m24_state : public driver_device |
| 18 | 19 | { |
| r250121 | r250122 | |
|---|---|---|
| 38 | 38 | #include "bus/generic/slot.h" |
| 39 | 39 | #include "bus/generic/carts.h" |
| 40 | 40 | #include "includes/m5.h" |
| 41 | #include "softlist.h" | |
| 41 | 42 | |
| 42 | 43 | |
| 43 | ||
| 44 | 44 | //************************************************************************** |
| 45 | 45 | // MEMORY BANKING |
| 46 | 46 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 84 | 84 | #include "bus/macpds/pds_tpdfpd.h" |
| 85 | 85 | |
| 86 | 86 | #include "includes/mac.h" |
| 87 | #include "softlist.h" | |
| 87 | 88 | #include "mac.lh" |
| 88 | 89 | |
| 89 | 90 | #define C7M (7833600) |
| r250121 | r250122 | |
|---|---|---|
| 41 | 41 | #include "cpu/powerpc/ppc.h" |
| 42 | 42 | #include "imagedev/chd_cd.h" |
| 43 | 43 | #include "sound/cdda.h" |
| 44 | #include "softlist.h" | |
| 44 | 45 | |
| 45 | 46 | READ64_MEMBER( macpci_state::unk1_r ) |
| 46 | 47 | { |
| r250121 | r250122 | |
|---|---|---|
| 42 | 42 | #include "machine/i8251.h" |
| 43 | 43 | #include "video/mc6845.h" |
| 44 | 44 | #include "machine/wd_fdc.h" |
| 45 | #include "softlist.h" | |
| 45 | 46 | |
| 46 | ||
| 47 | 47 | class mbc200_state : public driver_device |
| 48 | 48 | { |
| 49 | 49 | public: |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | #include "includes/mbc55x.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | ||
| 22 | 22 | const unsigned char mbc55x_palette[SCREEN_NO_COLOURS][3] = |
| 23 | 23 | { |
| 24 | 24 | /*normal brightness */ |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "imagedev/printer.h" |
| 17 | 17 | #include "formats/coco_cas.h" |
| 18 | 18 | #include "machine/ram.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | ||
| 21 | 21 | //printer state |
| 22 | 22 | enum |
| 23 | 23 | { |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | #include "includes/mc1000.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | 28 | /* Memory Banking */ |
| 28 | 29 |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "machine/kb_7007_3.h" |
| 17 | 17 | #include "sound/speaker.h" |
| 18 | 18 | #include "sound/wave.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | 21 | #define VERBOSE_DBG 0 |
| 21 | 22 |
| r250121 | r250122 | |
|---|---|---|
| 11 | 11 | #include "bus/generic/carts.h" |
| 12 | 12 | |
| 13 | 13 | #include "formats/imageutl.h" |
| 14 | #include "softlist.h" | |
| 14 | 15 | |
| 15 | ||
| 16 | 16 | /************************************* |
| 17 | 17 | * |
| 18 | 18 | * Input handlers |
| r250121 | r250122 | |
|---|---|---|
| 79 | 79 | #include "bus/generic/slot.h" |
| 80 | 80 | #include "bus/generic/carts.h" |
| 81 | 81 | |
| 82 | #include "softlist.h" | |
| 83 | ||
| 82 | 84 | #define MASTER_CLOCK 53693100 |
| 83 | 85 | |
| 84 | 86 |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | |
| 24 | 24 | #include "bus/generic/slot.h" |
| 25 | 25 | #include "bus/generic/carts.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | ||
| 28 | 28 | #define LOG 0 |
| 29 | 29 | |
| 30 | 30 |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "includes/mikro80.h" |
| 16 | 16 | #include "formats/rk_cas.h" |
| 17 | 17 | #include "sound/dac.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | /* Address maps */ |
| 20 | 21 | static ADDRESS_MAP_START(mikro80_mem, AS_PROGRAM, 8, mikro80_state ) |
| r250121 | r250122 | |
|---|---|---|
| 53 | 53 | */ |
| 54 | 54 | |
| 55 | 55 | #include "includes/mikromik.h" |
| 56 | #include "softlist.h" | |
| 56 | 57 | |
| 57 | ||
| 58 | 58 | //************************************************************************** |
| 59 | 59 | // MACROS / CONSTANTS |
| 60 | 60 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "imagedev/cassette.h" |
| 18 | 18 | #include "formats/rk_cas.h" |
| 19 | 19 | #include "includes/radio86.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | ||
| 22 | 22 | class mikrosha_state : public radio86_state |
| 23 | 23 | { |
| 24 | 24 | public: |
| r250121 | r250122 | |
|---|---|---|
| 42 | 42 | */ |
| 43 | 43 | |
| 44 | 44 | #include "includes/mpz80.h" |
| 45 | #include "softlist.h" | |
| 45 | 46 | |
| 46 | ||
| 47 | 47 | //************************************************************************** |
| 48 | 48 | // MACROS / CONSTANTS |
| 49 | 49 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 532 | 532 | #include "machine/msx_matsushita.h" |
| 533 | 533 | #include "machine/msx_s1985.h" |
| 534 | 534 | #include "machine/msx_systemflags.h" |
| 535 | #include "softlist.h" | |
| 535 | 536 | |
| 536 | 537 | |
| 537 | 538 | static ADDRESS_MAP_START ( msx_memory_map, AS_PROGRAM, 8, msx_state ) |
| r250121 | r250122 | |
|---|---|---|
| 33 | 33 | #include "machine/z80dart.h" |
| 34 | 34 | #include "video/tms9928a.h" |
| 35 | 35 | #include "sound/sn76496.h" |
| 36 | #include "softlist.h" | |
| 36 | 37 | |
| 37 | 38 | /*************************************************************************** |
| 38 | 39 | MEMORY MAPS |
| r250121 | r250122 | |
|---|---|---|
| 29 | 29 | #include "sound/ay8910.h" |
| 30 | 30 | #include "bus/generic/slot.h" |
| 31 | 31 | #include "bus/generic/carts.h" |
| 32 | #include "softlist.h" | |
| 32 | 33 | |
| 33 | ||
| 34 | 34 | class myvision_state : public driver_device |
| 35 | 35 | { |
| 36 | 36 | public: |
| r250121 | r250122 | |
|---|---|---|
| 30 | 30 | #include "imagedev/flopdrv.h" |
| 31 | 31 | #include "formats/2d_dsk.h" |
| 32 | 32 | #include "formats/mz_cas.h" |
| 33 | #include "softlist.h" | |
| 33 | 34 | |
| 34 | 35 | #define MASTER_CLOCK XTAL_17_73447MHz/5 /* TODO: was 4 MHz, but otherwise cassette won't work due of a bug with MZF support ... */ |
| 35 | 36 |
| r250121 | r250122 | |
|---|---|---|
| 54 | 54 | #include "sound/2203intf.h" |
| 55 | 55 | #include "sound/beep.h" |
| 56 | 56 | #include "machine/rp5c15.h" |
| 57 | #include "softlist.h" | |
| 57 | 58 | |
| 58 | 59 | //#include "imagedev/cassette.h" |
| 59 | 60 | #include "imagedev/flopdrv.h" |
| r250121 | r250122 | |
|---|---|---|
| 94 | 94 | #include "imagedev/cassette.h" |
| 95 | 95 | #include "machine/ram.h" |
| 96 | 96 | #include "formats/mz_cas.h" |
| 97 | #include "softlist.h" | |
| 97 | 98 | |
| 98 | ||
| 99 | 99 | /*************************************************************************** |
| 100 | 100 | TIMER DEVICE CALLBACKS |
| 101 | 101 | ***************************************************************************/ |
| r250121 | r250122 | |
|---|---|---|
| 163 | 163 | #include "machine/z80dart.h" |
| 164 | 164 | #include "bus/rs232/rs232.h" |
| 165 | 165 | #include "machine/clock.h" |
| 166 | #include "softlist.h" | |
| 166 | 167 | |
| 167 | 168 | #define CARDSLOT 0 |
| 168 | 169 |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "bus/generic/slot.h" |
| 18 | 18 | #include "bus/generic/carts.h" |
| 19 | 19 | #include "imagedev/snapquik.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | 22 | class n64_mess_state : public n64_state |
| 22 | 23 | { |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "bus/generic/slot.h" |
| 19 | 19 | #include "bus/generic/carts.h" |
| 20 | 20 | #include "bus/nasbus/nasbus.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | //************************************************************************** |
| 24 | 24 | // CONSTANTS/MACROS |
| 25 | 25 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 456 | 456 | #include "machine/nvram.h" |
| 457 | 457 | #include "cpu/z80/z80.h" |
| 458 | 458 | #include "sound/2610intf.h" |
| 459 | #include "softlist.h" | |
| 459 | 460 | #include "neogeo.lh" |
| 460 | 461 | |
| 461 | 462 |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "emu.h" |
| 16 | 16 | #include "includes/nes.h" |
| 17 | 17 | #include "cpu/m6502/n2a03.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | WRITE8_MEMBER(nes_state::nes_vh_sprite_dma_w) |
| 21 | 21 | { |
| 22 | 22 | m_ppu->spriteram_dma(space, data); |
| r250121 | r250122 | |
|---|---|---|
| 30 | 30 | #include "formats/mfi_dsk.h" |
| 31 | 31 | #include "machine/nscsi_cd.h" |
| 32 | 32 | #include "machine/nscsi_hd.h" |
| 33 | #include "softlist.h" | |
| 33 | 34 | |
| 34 | 35 | UINT32 next_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) |
| 35 | 36 | { |
| r250121 | r250122 | |
|---|---|---|
| 58 | 58 | #include "imagedev/chd_cd.h" |
| 59 | 59 | #include "sound/cdda.h" |
| 60 | 60 | #include "machine/megacdcd.h" |
| 61 | #include "softlist.h" | |
| 61 | 62 | |
| 62 | ||
| 63 | 63 | extern const char layout_neogeo[]; |
| 64 | 64 | |
| 65 | 65 |
| r250121 | r250122 | |
|---|---|---|
| 104 | 104 | #include "sound/dac.h" |
| 105 | 105 | #include "video/k1ge.h" |
| 106 | 106 | #include "rendlay.h" |
| 107 | #include "softlist.h" | |
| 107 | 108 | |
| 108 | 109 | #include "bus/generic/slot.h" |
| 109 | 110 | #include "bus/generic/carts.h" |
| r250121 | r250122 | |
|---|---|---|
| 1245 | 1245 | ROM_LOAD( "robokid3.15k", 0x30000, 0x10000, CRC(05295ec3) SHA1(33dd0853a2064cb4301cfbdc7856def81f6e1223) ) |
| 1246 | 1246 | ROM_LOAD( "robokid4.12k", 0x40000, 0x10000, CRC(3bc3977f) SHA1(da394e12d197b0e109b03c854da06b1267bd9d59) ) |
| 1247 | 1247 | |
| 1248 | // Atomic Robokid's Z80 is inside a module with a PROM, replacing the module with a plain Z80 does not work. | |
| 1249 | // this PROM is from a bootleg, but appears to be an exact clone of the one found in the original module | |
| 1250 | // see http://blog.system11.org/?p=1687 for details. Until the original is verified it's marked as BAD_DUMP | |
| 1251 | ROM_REGION( 0x100, "maincpu_prom", 0 ) | |
| 1252 | ROM_LOAD( "prom82s129.cpu", 0x000, 0x100, BAD_DUMP CRC(4dd96f67) SHA1(01b415d9e86ff0c5aad7cfe81e903f2c202bb541)) | |
| 1253 | ||
| 1248 | 1254 | ROM_REGION( 0x10000, "soundcpu", 0 ) |
| 1249 | 1255 | ROM_LOAD( "robokid.k7", 0x00000, 0x10000, CRC(f490a2e9) SHA1(861d1256c090ce3d1f45f95cc894affbbc3f1466) ) |
| 1250 | 1256 | |
| r250121 | r250122 | |
| 1294 | 1300 | ROM_LOAD( "robokid3.15k", 0x30000, 0x10000, CRC(05295ec3) SHA1(33dd0853a2064cb4301cfbdc7856def81f6e1223) ) |
| 1295 | 1301 | ROM_LOAD( "robokid4.12k", 0x40000, 0x10000, CRC(3bc3977f) SHA1(da394e12d197b0e109b03c854da06b1267bd9d59) ) |
| 1296 | 1302 | |
| 1303 | // see note in above set | |
| 1304 | ROM_REGION( 0x100, "maincpu_prom", 0 ) | |
| 1305 | ROM_LOAD( "prom82s129.cpu", 0x000, 0x100, BAD_DUMP CRC(4dd96f67) SHA1(01b415d9e86ff0c5aad7cfe81e903f2c202bb541)) | |
| 1306 | ||
| 1297 | 1307 | ROM_REGION( 0x10000, "soundcpu", 0 ) |
| 1298 | 1308 | ROM_LOAD( "robokid.k7", 0x00000, 0x10000, CRC(f490a2e9) SHA1(861d1256c090ce3d1f45f95cc894affbbc3f1466) ) |
| 1299 | 1309 | |
| r250121 | r250122 | |
| 1343 | 1353 | ROM_LOAD( "robokid3.15k", 0x30000, 0x10000, CRC(05295ec3) SHA1(33dd0853a2064cb4301cfbdc7856def81f6e1223) ) |
| 1344 | 1354 | ROM_LOAD( "robokid4.12k", 0x40000, 0x10000, CRC(3bc3977f) SHA1(da394e12d197b0e109b03c854da06b1267bd9d59) ) |
| 1345 | 1355 | |
| 1356 | // see note in above set | |
| 1357 | ROM_REGION( 0x100, "maincpu_prom", 0 ) | |
| 1358 | ROM_LOAD( "prom82s129.cpu", 0x000, 0x100, BAD_DUMP CRC(4dd96f67) SHA1(01b415d9e86ff0c5aad7cfe81e903f2c202bb541)) | |
| 1359 | ||
| 1346 | 1360 | ROM_REGION( 0x10000, "soundcpu", 0 ) |
| 1347 | 1361 | ROM_LOAD( "robokid.k7", 0x00000, 0x10000, CRC(f490a2e9) SHA1(861d1256c090ce3d1f45f95cc894affbbc3f1466) ) |
| 1348 | 1362 |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "video/ef9340_1.h" |
| 19 | 19 | |
| 20 | 20 | #include "bus/odyssey2/slot.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | class odyssey2_state : public driver_device |
| 24 | 24 | { |
| 25 | 25 | public: |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "imagedev/cassette.h" |
| 16 | 16 | #include "machine/ram.h" |
| 17 | 17 | #include "includes/ondra.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | /* Address maps */ |
| 20 | 21 | static ADDRESS_MAP_START(ondra_mem, AS_PROGRAM, 8, ondra_state ) |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "includes/orao.h" |
| 20 | 20 | #include "imagedev/cassette.h" |
| 21 | 21 | #include "formats/orao_cas.h" |
| 22 | #include "softlist.h" | |
| 22 | 23 | |
| 23 | 24 | /* Address maps */ |
| 24 | 25 | static ADDRESS_MAP_START(orao_mem, AS_PROGRAM, 8, orao_state ) |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "imagedev/cassette.h" |
| 16 | 16 | #include "formats/smx_dsk.h" |
| 17 | 17 | #include "formats/rk_cas.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | 20 | /* Address maps */ |
| 20 | 21 |
| r250121 | r250122 | |
|---|---|---|
| 15 | 15 | #include "machine/z80dart.h" |
| 16 | 16 | #include "machine/pit8253.h" |
| 17 | 17 | #include "machine/ram.h" |
| 18 | #include "softlist.h" | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | #define MAIN_CLOCK 23961600 |
| 21 | 21 | |
| 22 | 22 |
| r250121 | r250122 | |
|---|---|---|
| 70 | 70 | |
| 71 | 71 | #include "includes/osborne1.h" |
| 72 | 72 | #include "bus/rs232/rs232.h" |
| 73 | #include "softlist.h" | |
| 73 | 74 | |
| 74 | ||
| 75 | 75 | #define MAIN_CLOCK 15974400 |
| 76 | 76 | |
| 77 | 77 |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "includes/radio86.h" |
| 20 | 20 | #include "machine/ram.h" |
| 21 | 21 | #include "includes/partner.h" |
| 22 | #include "softlist.h" | |
| 22 | 23 | |
| 23 | 24 | /* Address maps */ |
| 24 | 25 | static ADDRESS_MAP_START(partner_mem, AS_PROGRAM, 8, partner_state ) |
| r250121 | r250122 | |
|---|---|---|
| 107 | 107 | #include "bus/generic/carts.h" |
| 108 | 108 | #include "machine/bankdev.h" |
| 109 | 109 | #include "includes/genpc.h" |
| 110 | #include "softlist.h" | |
| 110 | 111 | |
| 111 | ||
| 112 | 112 | /* |
| 113 | 113 | rtc interrupt irq 2 |
| 114 | 114 | */ |
| r250121 | r250122 | |
|---|---|---|
| 28 | 28 | |
| 29 | 29 | #include "bus/generic/slot.h" |
| 30 | 30 | #include "bus/generic/carts.h" |
| 31 | #include "softlist.h" | |
| 31 | 32 | |
| 32 | ||
| 33 | 33 | class pb1000_state : public driver_device |
| 34 | 34 | { |
| 35 | 35 | public: |
| r250121 | r250122 | |
|---|---|---|
| 34 | 34 | #include "bus/isa/isa_cards.h" |
| 35 | 35 | #include "bus/pc_kbd/keyboards.h" |
| 36 | 36 | #include "includes/genpc.h" |
| 37 | #include "softlist.h" | |
| 37 | 38 | |
| 38 | 39 | class pc_state : public driver_device |
| 39 | 40 | { |
| r250121 | r250122 | |
|---|---|---|
| 89 | 89 | #include "includes/pc1512.h" |
| 90 | 90 | #include "bus/rs232/rs232.h" |
| 91 | 91 | #include "bus/isa/ega.h" |
| 92 | #include "softlist.h" | |
| 92 | 93 | |
| 93 | 94 | |
| 94 | ||
| 95 | 95 | //************************************************************************** |
| 96 | 96 | // SYSTEM STATUS REGISTER |
| 97 | 97 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 20 | 20 | #include "video/sed1520.h" |
| 21 | 21 | #include "sound/beep.h" |
| 22 | 22 | #include "rendlay.h" |
| 23 | #include "softlist.h" | |
| 23 | 24 | #include "gl3000s.lh" |
| 24 | 25 | |
| 25 | 26 | #include "bus/generic/slot.h" |
| r250121 | r250122 | |
|---|---|---|
| 266 | 266 | #include "sound/2203intf.h" |
| 267 | 267 | #include "sound/2608intf.h" |
| 268 | 268 | #include "sound/beep.h" |
| 269 | #include "softlist.h" | |
| 269 | 270 | //#include "includes/pc8801.h" |
| 270 | 271 | |
| 271 | 272 | //#define USE_PROPER_I8214 |
| r250121 | r250122 | |
|---|---|---|
| 36 | 36 | #include "formats/xdf_dsk.h" |
| 37 | 37 | //#include "machine/upd71071.h" |
| 38 | 38 | #include "machine/am9517a.h" |
| 39 | #include "softlist.h" | |
| 39 | 40 | |
| 40 | ||
| 41 | 41 | /* Note: for the time being, just disable FDC CPU, it's for PC-8801 compatibility mode anyway ... */ |
| 42 | 42 | #define TEST_SUBFDC 0 |
| 43 | 43 |
| r250121 | r250122 | |
|---|---|---|
| 430 | 430 | #include "machine/idehd.h" |
| 431 | 431 | |
| 432 | 432 | #include "debugger.h" |
| 433 | #include "softlist.h" | |
| 433 | 434 | |
| 434 | 435 | #define UPD1990A_TAG "upd1990a" |
| 435 | 436 | #define UPD8251_TAG "upd8251" |
| r250121 | r250122 | |
|---|---|---|
| 65 | 65 | #include "sound/msm5205.h" |
| 66 | 66 | #include "video/huc6270.h" |
| 67 | 67 | #include "video/huc6202.h" |
| 68 | #include "softlist.h" | |
| 68 | 69 | |
| 69 | 70 | /* todo: alternate forms of input (multitap, mouse, etc.) */ |
| 70 | 71 | static INPUT_PORTS_START( pce ) |
| r250121 | r250122 | |
|---|---|---|
| 105 | 105 | // pcw/pcw16 beeper |
| 106 | 106 | #include "sound/beep.h" |
| 107 | 107 | #include "machine/ram.h" |
| 108 | #include "softlist.h" | |
| 108 | 109 | |
| 109 | 110 | #include "pcw.lh" |
| 110 | 111 |
| r250121 | r250122 | |
|---|---|---|
| 92 | 92 | #include "includes/pcw16.h" |
| 93 | 93 | #include "bus/rs232/rs232.h" |
| 94 | 94 | #include "bus/rs232/ser_mouse.h" |
| 95 | #include "softlist.h" | |
| 95 | 96 | |
| 96 | 97 | // interrupt counter |
| 97 | 98 | /* controls which bank of 2mb address space is paged into memory */ |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "sound/wave.h" |
| 15 | 15 | #include "machine/ram.h" |
| 16 | 16 | #include "includes/pecom.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | 19 | /* Address maps */ |
| 19 | 20 | static ADDRESS_MAP_START(pecom64_mem, AS_PROGRAM, 8, pecom_state ) |
| r250121 | r250122 | |
|---|---|---|
| 44 | 44 | #include "sound/wave.h" |
| 45 | 45 | #include "bus/generic/slot.h" |
| 46 | 46 | #include "bus/generic/carts.h" |
| 47 | #include "softlist.h" | |
| 47 | 48 | |
| 48 | 49 | |
| 49 | ||
| 50 | 50 | class pegasus_state : public driver_device |
| 51 | 51 | { |
| 52 | 52 | public: |
| r250121 | r250122 | |
|---|---|---|
| 89 | 89 | #include "sound/wave.h" |
| 90 | 90 | #include "bus/generic/slot.h" |
| 91 | 91 | #include "bus/generic/carts.h" |
| 92 | #include "softlist.h" | |
| 92 | 93 | |
| 93 | ||
| 94 | 94 | class pencil2_state : public driver_device |
| 95 | 95 | { |
| 96 | 96 | public: |
| r250121 | r250122 | |
|---|---|---|
| 9 | 9 | #include "formats/tzx_cas.h" |
| 10 | 10 | #include "machine/beta.h" |
| 11 | 11 | #include "machine/ram.h" |
| 12 | #include "softlist.h" | |
| 12 | 13 | |
| 13 | 14 | class pentagon_state : public spectrum_state |
| 14 | 15 | { |
| r250121 | r250122 | |
|---|---|---|
| 152 | 152 | #include "includes/pet.h" |
| 153 | 153 | #include "bus/ieee488/c2040.h" |
| 154 | 154 | #include "machine/cbm_snqk.h" |
| 155 | #include "softlist.h" | |
| 155 | 156 | |
| 156 | 157 | |
| 157 | ||
| 158 | 158 | static void cbm_pet_quick_sethiaddress( address_space &space, UINT16 hiaddress ) |
| 159 | 159 | { |
| 160 | 160 | space.write_byte(0x2e, hiaddress & 0xff); |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "formats/pk8020_dsk.h" |
| 18 | 18 | #include "includes/pk8020.h" |
| 19 | 19 | #include "machine/ram.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | |
| 21 | 22 | /* Address maps */ |
| 22 | 23 | static ADDRESS_MAP_START(pk8020_mem, AS_PROGRAM, 8, pk8020_state ) |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | #include "includes/plus4.h" |
| 15 | 15 | #include "machine/cbm_snqk.h" |
| 16 | 16 | #include "sound/t6721a.h" |
| 17 | #include "softlist.h" | |
| 17 | 18 | |
| 18 | 19 | |
| 19 | ||
| 20 | 20 | //************************************************************************** |
| 21 | 21 | // MACROS / CONSTANTS |
| 22 | 22 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 181 | 181 | #include "machine/i8251.h" |
| 182 | 182 | #include "formats/pmd_cas.h" |
| 183 | 183 | #include "machine/ram.h" |
| 184 | #include "softlist.h" | |
| 184 | 185 | |
| 185 | ||
| 186 | 186 | //************************************************************************** |
| 187 | 187 | // VIDEO EMULATION |
| 188 | 188 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "bus/generic/slot.h" |
| 17 | 17 | #include "bus/generic/carts.h" |
| 18 | 18 | #include "rendlay.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | ||
| 21 | 21 | struct PRC |
| 22 | 22 | { |
| 23 | 23 | UINT8 colors_inverted; |
| r250121 | r250122 | |
|---|---|---|
| 80 | 80 | #include "includes/portfoli.h" |
| 81 | 81 | #include "bus/rs232/rs232.h" |
| 82 | 82 | #include "rendlay.h" |
| 83 | #include "softlist.h" | |
| 83 | 84 | |
| 84 | 85 | |
| 85 | ||
| 86 | 86 | //************************************************************************** |
| 87 | 87 | // MACROS / CONSTANTS |
| 88 | 88 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 84 | 84 | |
| 85 | 85 | #include "bus/generic/slot.h" |
| 86 | 86 | #include "bus/generic/carts.h" |
| 87 | #include "softlist.h" | |
| 87 | 88 | |
| 88 | ||
| 89 | 89 | class prestige_state : public driver_device |
| 90 | 90 | { |
| 91 | 91 | public: |
| r250121 | r250122 | |
|---|---|---|
| 29 | 29 | #include "bus/centronics/ctronics.h" |
| 30 | 30 | #include "machine/upd765.h" |
| 31 | 31 | #include "includes/prof180x.h" |
| 32 | #include "softlist.h" | |
| 32 | 33 | |
| 33 | 34 | UINT32 prof180x_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) |
| 34 | 35 | { |
| r250121 | r250122 | |
|---|---|---|
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | #include "includes/prof80.h" |
| 29 | #include "softlist.h" | |
| 29 | 30 | |
| 30 | 31 | |
| 31 | ||
| 32 | 32 | //************************************************************************** |
| 33 | 33 | // PERIPHERALS |
| 34 | 34 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | #include "emu.h" |
| 24 | 24 | #include "includes/psion.h" |
| 25 | 25 | #include "rendlay.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | 28 | TIMER_DEVICE_CALLBACK_MEMBER(psion_state::nmi_timer) |
| 28 | 29 | { |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "debugger.h" |
| 20 | 20 | #include "machine/psxcd.h" |
| 21 | 21 | #include "bus/psx/ctlrport.h" |
| 22 | #include "softlist.h" | |
| 22 | 23 | |
| 23 | 24 | #define PSXCD_TAG "psxcd" |
| 24 | 25 |
| r250121 | r250122 | |
|---|---|---|
| 65 | 65 | #include "bus/pc_kbd/pc_kbdc.h" |
| 66 | 66 | #include "bus/pc_kbd/keyboards.h" |
| 67 | 67 | #include "sound/speaker.h" |
| 68 | #include "softlist.h" | |
| 68 | 69 | |
| 69 | 70 | #define M68K_TAG "maincpu" |
| 70 | 71 | #define DUART1_TAG "duart1" |
| r250121 | r250122 | |
|---|---|---|
| 107 | 107 | #include "imagedev/cassette.h" |
| 108 | 108 | #include "machine/ay31015.h" |
| 109 | 109 | #include "formats/sol_cas.h" |
| 110 | #include "softlist.h" | |
| 110 | 111 | |
| 111 | ||
| 112 | 112 | struct cass_data_t { |
| 113 | 113 | struct { |
| 114 | 114 | int length; /* time cassette level is at input.level */ |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | #include "cpu/z80/z80.h" |
| 11 | 11 | #include "bus/generic/slot.h" |
| 12 | 12 | #include "bus/generic/carts.h" |
| 13 | ||
| 13 | #include "softlist.h" | |
| 14 | 14 | // PV-1000 Sound device |
| 15 | 15 | |
| 16 | 16 | class pv1000_sound_device : public device_t, |
| r250121 | r250122 | |
|---|---|---|
| 37 | 37 | #include "imagedev/cassette.h" |
| 38 | 38 | #include "bus/generic/slot.h" |
| 39 | 39 | #include "bus/generic/carts.h" |
| 40 | #include "softlist.h" | |
| 40 | 41 | |
| 41 | ||
| 42 | 42 | class pv2000_state : public driver_device |
| 43 | 43 | { |
| 44 | 44 | public: |
| r250121 | r250122 | |
|---|---|---|
| 21 | 21 | #include "bus/generic/slot.h" |
| 22 | 22 | #include "bus/generic/carts.h" |
| 23 | 23 | #include "coreutil.h" |
| 24 | #include "softlist.h" | |
| 24 | 25 | #include "px4.lh" |
| 25 | 26 | |
| 26 | 27 |
| r250121 | r250122 | |
|---|---|---|
| 30 | 30 | */ |
| 31 | 31 | |
| 32 | 32 | #include "includes/px8.h" |
| 33 | #include "softlist.h" | |
| 33 | 34 | #include "px8.lh" |
| 34 | 35 | |
| 35 | 36 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 41 | 41 | #include "formats/pyldin_dsk.h" |
| 42 | 42 | #include "machine/upd765.h" |
| 43 | 43 | #include "machine/ram.h" |
| 44 | #include "softlist.h" | |
| 44 | 45 | |
| 45 | ||
| 46 | 46 | class pyl601_state : public driver_device |
| 47 | 47 | { |
| 48 | 48 | public: |
| r250121 | r250122 | |
|---|---|---|
| 74 | 74 | */ |
| 75 | 75 | |
| 76 | 76 | #include "includes/ql.h" |
| 77 | #include "softlist.h" | |
| 77 | 78 | |
| 78 | 79 | |
| 79 | ||
| 80 | 80 | //************************************************************************** |
| 81 | 81 | // ADDRESS DECODING |
| 82 | 82 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 43 | 43 | #include "machine/upd765.h" |
| 44 | 44 | #include "machine/ram.h" |
| 45 | 45 | #include "machine/qx10kbd.h" |
| 46 | #include "softlist.h" | |
| 46 | 47 | |
| 47 | 48 | #define MAIN_CLK 15974400 |
| 48 | 49 |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "imagedev/cassette.h" |
| 17 | 17 | #include "formats/rk_cas.h" |
| 18 | 18 | #include "includes/radio86.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | |
| 20 | 21 | /* Address maps */ |
| 21 | 22 | static ADDRESS_MAP_START(radio86_mem, AS_PROGRAM, 8, radio86_state ) |
| r250121 | r250122 | |
|---|---|---|
| 245 | 245 | #include "machine/nvram.h" |
| 246 | 246 | |
| 247 | 247 | #include "machine/ds1315.h" |
| 248 | #include "softlist.h" | |
| 248 | 249 | |
| 249 | 250 | #include "rainbow.lh" // BEZEL - LAYOUT with LEDs for diag 1-7, keyboard 8-11 and floppy 20-23 |
| 250 | 251 |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "bus/isa/fdc.h" |
| 20 | 20 | #include "bus/rs232/rs232.h" |
| 21 | 21 | #include "machine/rmnkbd.h" |
| 22 | #include "softlist.h" | |
| 22 | 23 | |
| 23 | 24 | static SLOT_INTERFACE_START(rmnimbus_floppies) |
| 24 | 25 | SLOT_INTERFACE( "35dd", FLOPPY_35_DD ) |
| r250121 | r250122 | |
|---|---|---|
| 48 | 48 | #include "machine/ram.h" |
| 49 | 49 | #include "bus/generic/slot.h" |
| 50 | 50 | #include "bus/generic/carts.h" |
| 51 | #include "softlist.h" | |
| 51 | 52 | |
| 52 | ||
| 53 | 53 | class rx78_state : public driver_device |
| 54 | 54 | { |
| 55 | 55 | public: |
| r250121 | r250122 | |
|---|---|---|
| 25 | 25 | |
| 26 | 26 | #include "includes/sage2.h" |
| 27 | 27 | #include "bus/rs232/rs232.h" |
| 28 | #include "softlist.h" | |
| 28 | 29 | |
| 29 | ||
| 30 | 30 | //************************************************************************** |
| 31 | 31 | // MEMORY MANAGEMENT UNIT |
| 32 | 32 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 36 | 36 | /* devices */ |
| 37 | 37 | #include "formats/tzx_cas.h" |
| 38 | 38 | #include "formats/coupedsk.h" |
| 39 | #include "softlist.h" | |
| 39 | 40 | |
| 40 | 41 | /*************************************************************************** |
| 41 | 42 | CONSTANTS |
| r250121 | r250122 | |
|---|---|---|
| 439 | 439 | #include "bus/saturn/rom.h" |
| 440 | 440 | #include "bus/saturn/dram.h" |
| 441 | 441 | #include "bus/saturn/bram.h" |
| 442 | #include "softlist.h" | |
| 442 | 443 | |
| 443 | ||
| 444 | 444 | class sat_console_state : public saturn_state |
| 445 | 445 | { |
| 446 | 446 | public: |
| r250121 | r250122 | |
|---|---|---|
| 11 | 11 | #include "audio/upd1771.h" |
| 12 | 12 | #include "bus/scv/slot.h" |
| 13 | 13 | #include "bus/scv/rom.h" |
| 14 | #include "softlist.h" | |
| 14 | 15 | |
| 15 | 16 | |
| 16 | 17 | class scv_state : public driver_device |
| r250121 | r250122 | |
|---|---|---|
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "emu.h" |
| 28 | #include "softlist.h" | |
| 28 | 29 | |
| 29 | 30 | |
| 30 | ||
| 31 | 31 | class sawatte_state : public driver_device |
| 32 | 32 | { |
| 33 | 33 | public: |
| r250121 | r250122 | |
|---|---|---|
| 21 | 21 | |
| 22 | 22 | #include "emu.h" |
| 23 | 23 | #include "cpu/z80/z80.h" |
| 24 | #include "render.h" | |
| 25 | 24 | #include "machine/ldv1000.h" |
| 26 | 25 | |
| 27 | 26 | #define SCHEMATIC_CLOCK (20000000) |
| r250121 | r250122 | |
|---|---|---|
| 120 | 120 | #include "emu.h" |
| 121 | 121 | #include "includes/md_cons.h" |
| 122 | 122 | #include "sound/315-5641.h" |
| 123 | #include "softlist.h" | |
| 123 | 124 | |
| 124 | 125 | |
| 125 | 126 | #define PICO_PENX 1 |
| r250121 | r250122 | |
|---|---|---|
| 67 | 67 | |
| 68 | 68 | #include "includes/sg1000.h" |
| 69 | 69 | #include "bus/rs232/rs232.h" |
| 70 | #include "softlist.h" | |
| 70 | 71 | |
| 71 | 72 | |
| 72 | 73 | /*************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 26 | 26 | #include "video/mc6845.h" |
| 27 | 27 | #include "machine/wd_fdc.h" |
| 28 | 28 | #include "imagedev/flopdrv.h" |
| 29 | #include "softlist.h" | |
| 29 | 30 | |
| 30 | 31 | #define MASTER_CLOCK XTAL_4_028MHz |
| 31 | 32 |
| r250121 | r250122 | |
|---|---|---|
| 257 | 257 | #include "sound/2413intf.h" |
| 258 | 258 | #include "video/315_5124.h" |
| 259 | 259 | #include "includes/sms.h" |
| 260 | #include "softlist.h" | |
| 260 | 261 | |
| 261 | 262 | #include "sms1.lh" |
| 262 | 263 |
| r250121 | r250122 | |
|---|---|---|
| 35 | 35 | #include "bus/snes/snes_slot.h" |
| 36 | 36 | #include "bus/snes/snes_carts.h" |
| 37 | 37 | #include "bus/snes_ctrl/ctrl.h" |
| 38 | #include "softlist.h" | |
| 38 | 39 | |
| 39 | 40 | class snes_console_state : public snes_state |
| 40 | 41 | { |
| r250121 | r250122 | |
|---|---|---|
| 87 | 87 | #include "audio/socrates.h" |
| 88 | 88 | #include "bus/generic/slot.h" |
| 89 | 89 | #include "bus/generic/carts.h" |
| 90 | #include "softlist.h" | |
| 90 | 91 | |
| 91 | 92 | class socrates_state : public driver_device |
| 92 | 93 | { |
| r250121 | r250122 | |
|---|---|---|
| 95 | 95 | |
| 96 | 96 | #include "includes/softbox.h" |
| 97 | 97 | #include "bus/rs232/rs232.h" |
| 98 | #include "softlist.h" | |
| 98 | 99 | |
| 99 | 100 | |
| 100 | 101 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 158 | 158 | ********************************************************************************/ |
| 159 | 159 | |
| 160 | 160 | #include "includes/sorcerer.h" |
| 161 | #include "softlist.h" | |
| 161 | 162 | |
| 162 | 163 | static ADDRESS_MAP_START( sorcerer_mem, AS_PROGRAM, 8, sorcerer_state) |
| 163 | 164 | ADDRESS_MAP_UNMAP_HIGH |
| r250121 | r250122 | |
|---|---|---|
| 147 | 147 | #include "bus/spc1000/fdd.h" |
| 148 | 148 | #include "bus/spc1000/vdp.h" |
| 149 | 149 | |
| 150 | #include "softlist.h" | |
| 150 | 151 | |
| 151 | 152 | class spc1000_state : public driver_device |
| 152 | 153 | { |
| r250121 | r250122 | |
|---|---|---|
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | #include "includes/special.h" |
| 14 | #include "softlist.h" | |
| 14 | 15 | |
| 15 | ||
| 16 | 16 | /* Address maps */ |
| 17 | 17 | static ADDRESS_MAP_START(specialist_mem, AS_PROGRAM, 8, special_state ) |
| 18 | 18 | AM_RANGE( 0x0000, 0x2fff ) AM_RAMBANK("bank1") // First bank |
| r250121 | r250122 | |
|---|---|---|
| 156 | 156 | |
| 157 | 157 | /* +3 hardware */ |
| 158 | 158 | #include "machine/ram.h" |
| 159 | #include "softlist.h" | |
| 159 | 160 | |
| 160 | ||
| 161 | 161 | /****************************************************************************************************/ |
| 162 | 162 | /* Spectrum + 3 specific functions */ |
| 163 | 163 | /* This driver uses some of the spectrum_128 functions. The +3 is similar to a spectrum 128 |
| r250121 | r250122 | |
|---|---|---|
| 281 | 281 | #include "includes/spectrum.h" |
| 282 | 282 | #include "formats/tzx_cas.h" |
| 283 | 283 | #include "machine/spec_snqk.h" |
| 284 | #include "softlist.h" | |
| 284 | 285 | |
| 285 | ||
| 286 | 286 | /****************************************************************************************************/ |
| 287 | 287 | /* Spectrum 48k functions */ |
| 288 | 288 |
| r250121 | r250122 | |
|---|---|---|
| 192 | 192 | |
| 193 | 193 | #include "bus/generic/slot.h" |
| 194 | 194 | #include "bus/generic/carts.h" |
| 195 | #include "softlist.h" | |
| 195 | 196 | |
| 196 | 197 | #define CDP1802_TAG "ic1" |
| 197 | 198 | #define CDP1861_TAG "ic2" |
| r250121 | r250122 | |
|---|---|---|
| 50 | 50 | #include "includes/stv.h" |
| 51 | 51 | #include "imagedev/chd_cd.h" |
| 52 | 52 | #include "coreutil.h" |
| 53 | #include "softlist.h" | |
| 53 | 54 | |
| 54 | ||
| 55 | 55 | #define FIRST_SPEEDUP_SLOT (2) // in case we remove/alter the BIOS speedups later |
| 56 | 56 | |
| 57 | 57 |
| r250121 | r250122 | |
|---|---|---|
| 13 | 13 | |
| 14 | 14 | #include "bus/rs232/rs232.h" |
| 15 | 15 | #include "includes/super6.h" |
| 16 | #include "softlist.h" | |
| 16 | 17 | |
| 17 | ||
| 18 | 18 | //************************************************************************** |
| 19 | 19 | // MEMORY BANKING |
| 20 | 20 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 24 | 24 | |
| 25 | 25 | #include "emu.h" |
| 26 | 26 | #include "cpu/z80/z80.h" |
| 27 | #include "render.h" | |
| 28 | 27 | #include "sound/sn76496.h" |
| 29 | 28 | #include "machine/ldv1000.h" |
| 30 | 29 | #include "video/resnet.h" |
| r250121 | r250122 | |
|---|---|---|
| 80 | 80 | #include "cpu/m6502/m6502.h" |
| 81 | 81 | #include "bus/generic/slot.h" |
| 82 | 82 | #include "bus/generic/carts.h" |
| 83 | #include "softlist.h" | |
| 83 | 84 | |
| 84 | 85 | #define SOUNDCPU_BOOT_HACK (1) |
| 85 | 86 |
| r250121 | r250122 | |
|---|---|---|
| 32 | 32 | #include "video/mc6847.h" |
| 33 | 33 | #include "bus/generic/slot.h" |
| 34 | 34 | #include "bus/generic/carts.h" |
| 35 | #include "softlist.h" | |
| 35 | 36 | |
| 36 | ||
| 37 | 37 | class sv8000_state : public driver_device |
| 38 | 38 | { |
| 39 | 39 | public: |
| r250121 | r250122 | |
|---|---|---|
| 16 | 16 | #include "imagedev/flopdrv.h" |
| 17 | 17 | #include "formats/svi_dsk.h" |
| 18 | 18 | #include "formats/svi_cas.h" |
| 19 | #include "softlist.h" | |
| 19 | 20 | #include "rendlay.h" |
| 20 | 21 | |
| 21 | 22 | static ADDRESS_MAP_START( svi318_mem, AS_PROGRAM, 8, svi318_state ) |
| r250121 | r250122 | |
|---|---|---|
| 8 | 8 | |
| 9 | 9 | #include "emu.h" |
| 10 | 10 | #include "includes/svision.h" |
| 11 | #include "softlist.h" | |
| 11 | 12 | |
| 12 | 13 | #include "svision.lh" |
| 13 | 14 |
| r250121 | r250122 | |
|---|---|---|
| 17 | 17 | #include "imagedev/snapquik.h" |
| 18 | 18 | #include "machine/intelfsh.h" |
| 19 | 19 | #include "sound/speaker.h" |
| 20 | #include "softlist.h" | |
| 20 | 21 | #include "svmu.lh" |
| 21 | 22 | |
| 22 | 23 | #define PIXEL_SIZE 7 |
| r250121 | r250122 | |
|---|---|---|
| 42 | 42 | #include "cpu/i86/i286.h" |
| 43 | 43 | #include "bus/isa/isa.h" |
| 44 | 44 | #include "bus/isa/isa_cards.h" |
| 45 | #include "softlist.h" | |
| 45 | 46 | |
| 46 | 47 | class tandy1000_state : public driver_device |
| 47 | 48 | { |
| r250121 | r250122 | |
|---|---|---|
| 24 | 24 | |
| 25 | 25 | #include "includes/tandy2k.h" |
| 26 | 26 | #include "machine/pckeybrd.h" |
| 27 | #include "softlist.h" | |
| 27 | 28 | |
| 28 | 29 | #define LOG 1 |
| 29 | 30 |
| r250121 | r250122 | |
|---|---|---|
| 101 | 101 | |
| 102 | 102 | |
| 103 | 103 | #include "includes/tdv2324.h" |
| 104 | #include "softlist.h" | |
| 104 | 105 | |
| 105 | ||
| 106 | 106 | READ8_MEMBER( tdv2324_state::tdv2324_main_io_30 ) |
| 107 | 107 | { |
| 108 | 108 | return 0xff; |
| r250121 | r250122 | |
|---|---|---|
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | #include "includes/tek405x.h" |
| 29 | #include "softlist.h" | |
| 29 | 30 | |
| 30 | ||
| 31 | 31 | //************************************************************************** |
| 32 | 32 | // MACROS / CONSTANTS |
| 33 | 33 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 14 | 14 | |
| 15 | 15 | #include "emu.h" |
| 16 | 16 | #include "cpu/z80/z80.h" |
| 17 | #include "render.h" | |
| 18 | 17 | #include "machine/ldstub.h" |
| 19 | 18 | #include "machine/ldv1000.h" |
| 20 | 19 | #include "cpu/cop400/cop400.h" |
| r250121 | r250122 | |
|---|---|---|
| 80 | 80 | #include "formats/cd90_640_dsk.h" |
| 81 | 81 | #include "formats/basicdsk.h" |
| 82 | 82 | #include "machine/ram.h" |
| 83 | #include "softlist.h" | |
| 83 | 84 | |
| 84 | 85 | |
| 85 | 86 | /**************************** common *******************************/ |
| r250121 | r250122 | |
|---|---|---|
| 75 | 75 | #include "machine/nvram.h" |
| 76 | 76 | #include "bus/generic/slot.h" |
| 77 | 77 | #include "bus/generic/carts.h" |
| 78 | #include "softlist.h" | |
| 78 | 79 | |
| 79 | 80 | #include "ti74.lh" |
| 80 | 81 | #include "ti95.lh" |
| r250121 | r250122 | |
|---|---|---|
| 53 | 53 | #include "bus/ti99x/joyport.h" |
| 54 | 54 | |
| 55 | 55 | #include "bus/ti99_peb/peribox.h" |
| 56 | #include "softlist.h" | |
| 56 | 57 | |
| 57 | 58 | // Debugging |
| 58 | 59 | #define TRACE_READY 0 |
| r250121 | r250122 | |
|---|---|---|
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | #include "includes/tiki100.h" |
| 26 | #include "softlist.h" | |
| 26 | 27 | |
| 27 | 28 | /* Memory Banking */ |
| 28 | 29 |
| r250121 | r250122 | |
|---|---|---|
| 157 | 157 | #include "machine/spec_snqk.h" |
| 158 | 158 | #include "machine/beta.h" |
| 159 | 159 | #include "machine/ram.h" |
| 160 | #include "softlist.h" | |
| 160 | 161 | |
| 161 | 162 | /****************************************************************************************************/ |
| 162 | 163 | /* TS2048 specific functions */ |
| r250121 | r250122 | |
|---|---|---|
| 349 | 349 | #include "machine/tms6100.h" |
| 350 | 350 | #include "bus/generic/slot.h" |
| 351 | 351 | #include "bus/generic/carts.h" |
| 352 | #include "softlist.h" | |
| 352 | 353 | |
| 353 | 354 | // internal artwork |
| 354 | 355 | #include "lantutor.lh" |
| r250121 | r250122 | |
|---|---|---|
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | 24 | #include "includes/trs80m2.h" |
| 25 | #include "softlist.h" | |
| 25 | 26 | |
| 26 | 27 | #define KEYBOARD_TAG "keyboard" |
| 27 | 28 |
| r250121 | r250122 | |
|---|---|---|
| 177 | 177 | #include "bus/centronics/ctronics.h" |
| 178 | 178 | #include "bus/generic/slot.h" |
| 179 | 179 | #include "bus/generic/carts.h" |
| 180 | #include "softlist.h" | |
| 180 | 181 | |
| 181 | ||
| 182 | 182 | class tutor_state : public driver_device |
| 183 | 183 | { |
| 184 | 184 | public: |
| r250121 | r250122 | |
|---|---|---|
| 27 | 27 | #include "bus/generic/slot.h" |
| 28 | 28 | #include "bus/generic/carts.h" |
| 29 | 29 | |
| 30 | #include "softlist.h" | |
| 31 | ||
| 30 | 32 | #define TVC_RAM_BANK 1 |
| 31 | 33 | #define TVC_ROM_BANK 2 |
| 32 | 34 |
| r250121 | r250122 | |
|---|---|---|
| 42 | 42 | |
| 43 | 43 | #include "bus/generic/slot.h" |
| 44 | 44 | #include "bus/generic/carts.h" |
| 45 | #include "softlist.h" | |
| 45 | 46 | |
| 46 | 47 | class unichamp_state : public driver_device |
| 47 | 48 | { |
| r250121 | r250122 | |
|---|---|---|
| 24 | 24 | |
| 25 | 25 | #include "includes/ut88.h" |
| 26 | 26 | #include "formats/rk_cas.h" |
| 27 | #include "softlist.h" | |
| 27 | 28 | #include "ut88mini.lh" |
| 28 | 29 | |
| 29 | 30 | static GFXDECODE_START( ut88 ) |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "bus/generic/slot.h" |
| 19 | 19 | #include "bus/generic/carts.h" |
| 20 | 20 | #include "bus/snes_ctrl/ctrl.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | 23 | // overclocked to 8 * NTSC burst frequency |
| 23 | 24 | #define MASTER_CLOCK 28618180 |
| r250121 | r250122 | |
|---|---|---|
| 151 | 151 | |
| 152 | 152 | #include "includes/v1050.h" |
| 153 | 153 | #include "bus/rs232/rs232.h" |
| 154 | #include "softlist.h" | |
| 154 | 155 | |
| 155 | 156 | void v1050_state::set_interrupt(UINT8 mask, int state) |
| 156 | 157 | { |
| r250121 | r250122 | |
|---|---|---|
| 31 | 31 | #include "audio/vboy.h" |
| 32 | 32 | #include "bus/vboy/slot.h" |
| 33 | 33 | #include "bus/vboy/rom.h" |
| 34 | #include "softlist.h" | |
| 34 | 35 | #include "vboy.lh" |
| 35 | 36 | |
| 36 | 37 | #define READ_BGMAP(bgoffs) m_bgmap[(bgoffs) & 0xffff] |
| r250121 | r250122 | |
|---|---|---|
| 131 | 131 | ******************************************************************************/ |
| 132 | 132 | |
| 133 | 133 | #include "includes/vc4000.h" |
| 134 | #include "softlist.h" | |
| 134 | 135 | |
| 135 | 136 | READ8_MEMBER( vc4000_state::vc4000_key_r ) |
| 136 | 137 | { |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "includes/vector06.h" |
| 12 | 12 | #include "formats/vector06_dsk.h" |
| 13 | #include "softlist.h" | |
| 13 | 14 | |
| 14 | ||
| 15 | 15 | /* Address maps */ |
| 16 | 16 | static ADDRESS_MAP_START(vector06_mem, AS_PROGRAM, 8, vector06_state) |
| 17 | 17 | AM_RANGE( 0x0000, 0x7fff ) AM_READ_BANK("bank1") AM_WRITE_BANK("bank2") |
| r250121 | r250122 | |
|---|---|---|
| 18 | 18 | #include "sound/ay8910.h" |
| 19 | 19 | #include "sound/dac.h" |
| 20 | 20 | #include "machine/nvram.h" |
| 21 | #include "softlist.h" | |
| 21 | 22 | |
| 22 | ||
| 23 | 23 | static ADDRESS_MAP_START(vectrex_map, AS_PROGRAM, 8, vectrex_state ) |
| 24 | 24 | AM_RANGE(0x0000, 0x7fff) AM_NOP // cart area, handled at machine_start |
| 25 | 25 | AM_RANGE(0xc800, 0xcbff) AM_RAM AM_MIRROR(0x0400) AM_SHARE("gce_vectorram") |
| r250121 | r250122 | |
|---|---|---|
| 57 | 57 | #include "imagedev/cassette.h" |
| 58 | 58 | #include "sound/wave.h" |
| 59 | 59 | #include "formats/vg5k_cas.h" |
| 60 | #include "softlist.h" | |
| 60 | 61 | |
| 61 | ||
| 62 | 62 | class vg5k_state : public driver_device |
| 63 | 63 | { |
| 64 | 64 | public: |
| r250121 | r250122 | |
|---|---|---|
| 12 | 12 | |
| 13 | 13 | |
| 14 | 14 | #include "includes/vic10.h" |
| 15 | #include "softlist.h" | |
| 15 | 16 | |
| 16 | 17 | |
| 17 | ||
| 18 | 18 | //************************************************************************** |
| 19 | 19 | // INTERRUPTS |
| 20 | 20 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | #include "includes/vic20.h" |
| 13 | #include "softlist.h" | |
| 13 | 14 | |
| 14 | 15 | |
| 15 | ||
| 16 | 16 | QUICKLOAD_LOAD_MEMBER( vic20_state, cbm_vc20 ) |
| 17 | 17 | { |
| 18 | 18 | return general_cbm_loadsnap(image, file_type, quickload_size, m_maincpu->space(AS_PROGRAM), 0, cbm_quick_sethiaddress); |
| r250121 | r250122 | |
|---|---|---|
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | 26 | #include "includes/victor9k.h" |
| 27 | #include "softlist.h" | |
| 27 | 28 | |
| 28 | 29 | |
| 29 | ||
| 30 | 30 | //************************************************************************** |
| 31 | 31 | // MACROS / CONSTANTS |
| 32 | 32 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 36 | 36 | */ |
| 37 | 37 | |
| 38 | 38 | #include "includes/vidbrain.h" |
| 39 | #include "softlist.h" | |
| 39 | 40 | #include "vidbrain.lh" |
| 40 | 41 | |
| 41 | 42 |
| r250121 | r250122 | |
|---|---|---|
| 77 | 77 | #include "bus/generic/slot.h" |
| 78 | 78 | #include "bus/generic/carts.h" |
| 79 | 79 | |
| 80 | #include "softlist.h" | |
| 80 | 81 | |
| 81 | 82 | #define PAGE_ENABLE_MASK 0x0008 |
| 82 | 83 |
| r250121 | r250122 | |
|---|---|---|
| 220 | 220 | */ |
| 221 | 221 | |
| 222 | 222 | #include "includes/vip.h" |
| 223 | #include "softlist.h" | |
| 223 | 224 | |
| 224 | 225 | |
| 225 | ||
| 226 | 226 | //************************************************************************** |
| 227 | 227 | // MACROS/CONSTANTS |
| 228 | 228 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 54 | 54 | |
| 55 | 55 | |
| 56 | 56 | #include "includes/vixen.h" |
| 57 | #include "softlist.h" | |
| 57 | 58 | |
| 58 | 59 | |
| 59 | ||
| 60 | 60 | //************************************************************************** |
| 61 | 61 | // INTERRUPTS |
| 62 | 62 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 41 | 41 | #include "imagedev/snapquik.h" |
| 42 | 42 | #include "imagedev/cassette.h" |
| 43 | 43 | #include "formats/vt_cas.h" |
| 44 | #include "softlist.h" | |
| 44 | 45 | |
| 45 | ||
| 46 | 46 | /*************************************************************************** |
| 47 | 47 | CONSTANTS & MACROS |
| 48 | 48 | ***************************************************************************/ |
| r250121 | r250122 | |
|---|---|---|
| 21 | 21 | |
| 22 | 22 | #include "includes/wangpc.h" |
| 23 | 23 | #include "bus/rs232/rs232.h" |
| 24 | #include "softlist.h" | |
| 24 | 25 | |
| 25 | ||
| 26 | 26 | //************************************************************************** |
| 27 | 27 | // MACROS/CONSTANTS |
| 28 | 28 | //************************************************************************** |
| r250121 | r250122 | |
|---|---|---|
| 34 | 34 | ***************************************************************************/ |
| 35 | 35 | |
| 36 | 36 | #include "includes/wswan.h" |
| 37 | #include "softlist.h" | |
| 37 | 38 | #include "wswan.lh" |
| 38 | 39 | |
| 39 | 40 | static ADDRESS_MAP_START (wswan_mem, AS_PROGRAM, 8, wswan_state) |
| r250121 | r250122 | |
|---|---|---|
| 29 | 29 | ****************************************************************************/ |
| 30 | 30 | |
| 31 | 31 | #include "includes/x07.h" |
| 32 | #include "softlist.h" | |
| 32 | 33 | |
| 33 | 34 | /*************************************************************************** |
| 34 | 35 | T6834 IMPLEMENTATION |
| r250121 | r250122 | |
|---|---|---|
| 207 | 207 | |
| 208 | 208 | #include "includes/x1.h" |
| 209 | 209 | #include "formats/2d_dsk.h" |
| 210 | #include "softlist.h" | |
| 210 | 211 | |
| 211 | 212 | #define MAIN_CLOCK XTAL_16MHz |
| 212 | 213 | #define VDP_CLOCK XTAL_42_9545MHz |
| r250121 | r250122 | |
|---|---|---|
| 19 | 19 | #include "includes/pce.h" |
| 20 | 20 | //#include "cpu/h6280/h6280.h" |
| 21 | 21 | //#include "sound/c6280.h" |
| 22 | ||
| 22 | #include "softlist.h" | |
| 23 | 23 | #include "rendlay.h" |
| 24 | 24 | |
| 25 | 25 | class x1twin_state : public x1_state |
| r250121 | r250122 | |
|---|---|---|
| 133 | 133 | #include "bus/x68k/x68k_scsiext.h" |
| 134 | 134 | #include "bus/scsi/scsi.h" |
| 135 | 135 | #include "bus/scsi/scsihd.h" |
| 136 | #include "softlist.h" | |
| 136 | 137 | #include "x68000.lh" |
| 137 | 138 | |
| 138 | 139 |
| r250121 | r250122 | |
|---|---|---|
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | #include "includes/xerox820.h" |
| 51 | ||
| 51 | #include "softlist.h" | |
| 52 | 52 | /* Read/Write Handlers */ |
| 53 | 53 | |
| 54 | 54 | void xerox820_state::bankswitch(int bank) |
| r250121 | r250122 | |
|---|---|---|
| 34 | 34 | #include "bus/isa/sc499.h" |
| 35 | 35 | #include "bus/isa/3c505.h" |
| 36 | 36 | |
| 37 | #include "softlist.h" | |
| 38 | ||
| 37 | 39 | #define APOLLO_IRQ_VECTOR 0xa0 |
| 38 | 40 | #define APOLLO_IRQ_PTM 0 |
| 39 | 41 | #define APOLLO_IRQ_SIO1 1 |
| r250121 | r250122 | |
|---|---|---|
| 8 | 8 | #include "powervr2.h" |
| 9 | 9 | #include "includes/dc.h" |
| 10 | 10 | #include "cpu/sh4/sh4.h" |
| 11 | #include "render.h" | |
| 12 | 11 | #include "rendutil.h" |
| 13 | 12 | #include "video/rgbutil.h" |
| 14 | 13 |
| r250121 | r250122 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "ui/ui.h" |
| 13 | #include "ui/menu.h" | |
| 13 | 14 | #include "rendfont.h" |
| 14 | 15 | #include "uiinput.h" |
| 15 | 16 |
| https://github.com/mamedev/mame/commit/2f06e2acc3a6b3a5e1e84ebe31cedc69376bce84 |
| Previous | 199869 Revisions | Next |