Commit Graph

1667 Commits

Author SHA1 Message Date
Miodrag Milanovic
5f184e36d6 Moved webengine into separate file, added callbacks for websockets and made example for triggering ui on driver change, also added json for game driver (nw) 2013-08-12 13:56:55 +00:00
R. Belmont
47bc16858f (MESS) MPU-401: preliminary checkpoint. [R. Belmont, kevtris] 2013-08-11 21:29:58 +00:00
David Haywood
fb05bb1518 missed this (nw) 2013-08-11 18:35:55 +00:00
David Haywood
f7bd003b2b moved sega pico out of megadriv.c and into segapico.c, it really has nothing in common with the MD aside the CPU+VDP and should be properly separated.
added skeleton 'Yamaha Mixt Book Player Copera' to the Sega Pico driver, it appears to be similar to the Pico but with extra sound hardware (a complete Sound Blaster clone) on the MB.  Added a preliminary Softlist.  Added board layouts for both [Team Europe]
2013-08-11 18:35:33 +00:00
Robbbert
66a8328a1f (MESS) New skeleton [Al Kossow, Robbbert]
-------------------------------------------------
Genrad Futuredata 2301 Network Control Processor
2013-08-11 06:21:39 +00:00
Dirk Best
633d639623 i8089.c: device skeleton 2013-08-09 14:29:33 +00:00
Aaron Giles
f723b4557c Added eeprompar.*, implementing a simple interface for parallel
EEPROMs.

Created atari_eeprom_device which wraps a 2804 or 2816 EEPROM with
the standard Atari write-locking mechanism. Updated all drivers to
use this, and removed all EEPROM stuff from atarigen.
2013-08-08 05:00:15 +00:00
Angelo Salese
c9ff76bdef Added dummy uPD7752 device 2013-08-07 22:38:26 +00:00
Angelo Salese
6f47f6617f Added raw formats for PC-98 2013-08-07 21:15:15 +00:00
Miodrag Milanovic
ebbcb791d7 added json library and working example (nw) 2013-08-07 17:29:19 +00:00
Miodrag Milanovic
411919feff Added sample index page with menu (nw) 2013-08-07 14:02:34 +00:00
Miodrag Milanovic
f1b81c7e98 Initial commit of internal web server, mostly to check compiling on various platforms (nw) 2013-08-07 07:20:01 +00:00
Aaron Giles
2f1e78d892 Moved tilemap_memory into a generic memory_array class, since it is
more generally useful than just in tilemaps. Code is now in memarray.*

Converted the Atari RLE motion objects device from a half-assed
device into a full-assed device, leveraging the memory_array class.
2013-08-07 03:18:59 +00:00
Curt Coder
e9ec79734d (MESS) Added skeleton for the C64/128 version of the Star NL-10 printer interface cartridge. [Curt Coder] 2013-08-06 20:25:40 +00:00
Michaël Banaan Ananas
aa65080862 moved galaxian.inc contents(inputs,romdefs,gamelist) to galaxian.c 2013-08-06 15:11:31 +00:00
Curt Coder
d70e03cf63 (MESS) studio2: Fixed loose .bin/.rom cartridge file loading, and supported loading ROMs to multiple base addresses in the software list. [Curt Coder]
(MESS) visicom: Added cartridge software list. [ranger_lennier, Charles MacDonald]
2013-08-05 18:51:19 +00:00
Ivan Vangelista
daf47bf3c2 Moved targ/spectar audio functions into driver state while having no luck in fixing MT05217. (nw) 2013-08-05 16:51:59 +00:00
Oliver Stöneberg
77fd68733e some SCREEN_UPDATE_* cleanups (nw) 2013-08-05 12:06:18 +00:00
R. Belmont
600a425123 (MESS) Apple II: Support for the PCPI Applicard. [R. Belmont, Alex Freed] 2013-08-03 12:37:55 +00:00
Curt Coder
893ad0e1a2 (MESS) Added skeleton driver for Davidge DSB-4/6. [Al Kossow, Curt Coder] 2013-07-30 20:02:10 +00:00
David Haywood
e9b65d55a7 ok, it runs in the 3x3puzzl driver (nw) 2013-07-30 15:38:07 +00:00
David Haywood
d485512a89 new NOT WORKING
Casanova [Yohji, Smitdogg, The Dumping Union]

(still working on it)
2013-07-30 14:03:31 +00:00
Curt Coder
9310d19877 (MESS) Added skeleton for WD1002A-WX1 hard disk controller card. (nw) 2013-07-30 06:04:04 +00:00
Robbbert
baaa4f2029 (MESS) kaypro : Added back the DSK format (still doesn't work!) 2013-07-29 10:15:21 +00:00
Ville Linde
663dafa79b tms32082: split MP and PP disassembler (nw) 2013-07-27 17:03:58 +00:00
Aaron Giles
b963a48cdf Split eeprom.c into a base class base_eeprom_device and a serial-specific
subclass serial_eeprom_device. Moved the latter into its own file
eepromser.c and significantly cleaned up/simplified the code. The new
code should be functionally the same as the previous code, but expect that
to change soon. As a side-effect, the size and bus width of the EEPROM is now
specified in the ADD macro rather than in the interface structure.
2013-07-27 03:28:25 +00:00
Robbbert
0e173b6989 (MESS) New skeleton [Robbbert]
---------------------------------
Hilger Analytical AB6089 Mk. 1 (LSI Octopus)
2013-07-26 10:24:05 +00:00
Andrew Gardner
6ab38a50ef Fixed the build. 2013-07-26 03:40:55 +00:00
Miodrag Milanovic
a8899a4685 - made MCFG_DEVICE_VBLANK_INT_DEVICE param order more logic (nw)
- updated device_execute_interface::interface_post_reset so screen is searched
  from same context
- removed tilelgcy.h since no more users exist
- made bfm_adr2 a device
2013-07-25 12:42:53 +00:00
cracyc
6233a365b8 i286: modernize [Carl]
(mess) at: use natural keyboard for at clones and 386+ and fix 5160 bios 1 (nw)
(mess) pc9801: more 9801ux experiments (nw)
2013-07-25 00:58:24 +00:00
Aaron Giles
25a100d773 Created new device_video_interface. Right now its sole purpose is to
house a screen tag and to find the screen at startup, providing an m_screen
object that can be used. One nice feature is that if there is only one
screen and no screen has been specified, it will auto configure to that
screen. This removes the need to explicitly specify a screen in the
configuration for a large chunk of drivers (though doing so never hurts).
A new macro MCFG_VIDEO_SET_SCREEN is provided, though devices are 
encouraged to define their own that maps there so it is obvious which
device is being targeted. The device_video_interface's validation
function will error if an invalid screen is specified or if no screen
is provided but there are multiple screens present.

Updated all devices that currently had an m_screen in them to use the
device_video_interface instead. This also has the nice benefit of flagging
video-related devices for categorization purposes. It also means all
these devices inherit the same screen-finding behaviors. For devices
that had interfaces that specified a screen tag, those have been removed
and all existing structs updated.

Added an optional_device<screen_device> m_screen to the base driver_device.
If you name your screen "screen" (as most drivers do), you will have free
access to your screen this way.

Future updates include:
* Updating all devices referencing machine.primary_screen to use the
device_video_interface instead
* Updating all drivers referencing machine.primary_screen to use the
m_screen instead
* Removing machine.primary_screen entirely
2013-07-24 19:20:59 +00:00
Curt Coder
68e33427df (MESS) Emulated the SSE HardBox, a Corvus interface for PET [Mike Naberezny] 2013-07-24 13:11:13 +00:00
R. Belmont
25d278f9d5 (MESS) Mac updates: [R. Belmont]
- Corrected memory map errors with the SE and Classic
- Preliminary support for the SE's 68000 processor-direct slot
- Preliminary support for the Radius Full Page Display card which goes in the
  SE PDS slot
2013-07-21 01:40:48 +00:00
Aaron Giles
da8170e0af Memory system: added endianness to the memory_share class.
Tilemap system: numerous changes:

 * Moved remaining legacy macros and typedefs to tilelgcy.h. This revealed
   a few drivers mixing and matching modern & legcy, which have now been 
   fixed.

 * Changed get info callback signature to no longer pass the user_data
   pointer, but instead pass a reference to the tilemap object itself.
   Updated those few drivers using user_data to pull it out of the
   tilemap object with the new user_data() getter method.
 
 * Changed get info and mapping callbacks to be device_delegates so that
   they can be described at config time.
 
 * Added tilemap_memory object that is used internally for reading/
   writing to memory that backs a tilemap. This object is used to track
   a memory pointer that backs tilemap memory, and also is designed to
   transparently handle all bus width and endianness associated with
   reading and writing data in a tilemap.
   
 * Incorporated two tilemap_memory objects (basemem and extmem) into the 
   tilemap object and added accessors to them, as well as read/write 
   handlers for reading/writing to entries stored in the memory. This
   means that tilemap get info callbacks can now easily read data out of
   the tilemap in a generic way.
 
 * Rejiggered the initialization sequence for tilemap objects so that
   the tilemap_manager is not required to be present at instantiation.  
 
 * Created a new tilemap_device, which can be used to declare a tilemap
   in the machine config, and which also is a tilemap object itself.
   The tilemap device will look for shared memory regions called
   "<tag>" and "<tag>_ext" and automatically plug them into the tilemap.
   The device also provides write handlers that can be used to write
   to the tilemap memory and mark tiles dirty, saving the need for each 
   driver to write their own.
   
Device system: moved required/optional device finders to a new header
devfind.h.

Atari drivers: removed all playfield and alpha memory and tilemap
variables, apart from those needed by atarivc-using games (this will
become a device in a future update). Updated all Atari 16-bit drivers to
use the new tilemap_device instead, which provides all the needed
functionality in a more generic way.
2013-07-20 21:46:00 +00:00
Scott Stone
c22850ed46 Split up the video devices contained in taitoic.c. [Osso] 2013-07-20 19:20:26 +00:00
mahlemiut
d2405e2145 de_2: Made CPU board a device, and hooked it up to all drivers in de_2.c. 2013-07-20 09:23:15 +00:00
David Haywood
54f8780e70 decoprot -> deco104 2013-07-19 16:42:34 +00:00
David Haywood
7c27cbb36a begin creation of modern Deco 146 device with info from Charles MacDonald ( http://cgfm2.emuviews.com/ )
note, not hooked up / functional yet, just the groundwork I need for it to continue work.
2013-07-17 20:29:02 +00:00
Ville Linde
10ebf0d9ed tms32082: Added first few opcodes. 2013-07-16 16:00:55 +00:00
Oliver Stöneberg
1f5e4c978b moved some legacy stuff from mconfig.h to mcfglgcy.h (nw) 2013-07-16 13:43:05 +00:00
Oliver Stöneberg
2dff0feabf moved some legacy stuff from screen.h to scrlegcy.h (nw) 2013-07-16 12:23:58 +00:00
Ville Linde
c85b5c9130 Groundworks for TMS320C82 core. 2013-07-15 19:44:38 +00:00
Oliver Stöneberg
d322739b07 moved some legacy code from tilemap.h to tilelgcy.h (nw) 2013-07-15 13:16:38 +00:00
Oliver Stöneberg
b2034b0245 moved some legacy macros from driver.h to drivlgcy.h (nw) 2013-07-15 09:50:13 +00:00
David Haywood
47967ed9c6 remove further traces of wardner hack, share sprite controller code with rallybik. 2013-07-12 14:41:15 +00:00
Angelo Salese
4dbe2037c8 Converted Seibu CRTC to a proper device [Angelo Salese] 2013-07-12 00:47:07 +00:00
Angelo Salese
083463dab8 Death to sei_crtc dummy device, state-ized Sengoku Mahjong and Good e Jan video functions, skelly for Seibu CRTC, nw (for now ...) 2013-07-11 23:10:25 +00:00
Curt Coder
5919be052a (MESS) pc1640: Added ISA card for integrated video. (nw) 2013-07-11 21:54:37 +00:00
David Haywood
d8909f1cac more (nw) 2013-07-11 21:21:50 +00:00
David Haywood
283997b282 better splitting of the 4x device. (nw) 2013-07-11 20:22:12 +00:00
Scott Stone
817df6f79e another missing from konicdev split (nw) 2013-07-11 17:54:40 +00:00
Scott Stone
ed4fb24e53 .. stragglers (nw) 2013-07-11 17:15:55 +00:00
Scott Stone
17f7b70131 Split up in their own files the remaining modernized devices contained in konicdev.c. [Osso] 2013-07-11 17:11:27 +00:00
David Haywood
8948677561 further preparation (nw) 2013-07-10 17:01:34 +00:00
David Haywood
b41c1dcbea this one too. (nw) 2013-07-10 14:25:45 +00:00
David Haywood
db35c0db6d I'll need this split out to look at Tasman properly too. (nw) 2013-07-10 13:30:50 +00:00
David Haywood
3ff7f06008 preparing for some work on Tasman
yes, the filename is a bit ugly, but it's what it represents, I'll see if it can be further split into components later.

all users have been given a brief testing
2013-07-09 17:59:28 +00:00
Curt Coder
2a835a4f28 (MESS) c64: Moved cartridges to their own subdirectory. (nw) 2013-07-09 09:46:14 +00:00
David Haywood
11416b9d26 split out the roadgen (nw) 2013-07-08 21:32:44 +00:00
smf-
f968147ce4 Renamed file, thanks to David Haywood for the report (nw) 2013-07-08 14:54:46 +00:00
David Haywood
f4e18367db more useful filenames for the igs protection sims. (nw) 2013-07-08 01:09:27 +00:00
David Haywood
208b502dab skeleton of a skeleton of a skeleton
(if we're doing placeholders for notes on PC based systems we may as well, there is no driver, or dump.)
2013-07-07 19:16:52 +00:00
Miodrag Milanovic
5d8c75464c Force number to be unsigned so it can compile (nw) 2013-07-07 08:12:08 +00:00
Olivier Galibert
bcb0bba370 lindbergh: Skeleton of a skeleton [The Guru, O. Galibert] 2013-07-07 07:53:01 +00:00
Olivier Galibert
c169906fc0 plaeholder 2013-07-07 07:52:37 +00:00
David Haywood
ada9617e4d also untangle the skeleton 68340. where the code ends up is TBD.
the actual core type of the 68340 is CPU32, so it is now derived from that.
2013-07-05 14:32:16 +00:00
David Haywood
1300de18e0 now that we're modern treat the 68307 like other modern CPUs by using a derived type with the peripherals in emu/machine instead of being glued into the CPU core. 2013-07-05 13:17:11 +00:00
Robbbert
9b897a698b (MESS) mbee : converted to modern fdc, still doesn't work though. (nw) 2013-07-05 11:16:08 +00:00
Wilbert Pol
0a71ecb681 arm7.c: Modernized cpu core. (nw) 2013-07-04 20:17:04 +00:00
Miodrag Milanovic
73dfc95f42 (MESS)bml3: Add stub variants bml3mk2 (for MB-6891) and bml3mk5 [jedwidz]
(for MB-6892). For now these behave the same as bml3 (MB-6890).
Refactor disk controllers and kanji ROM as slot devices. This allows
switching between MP-1802 and MP-1805 disk controllers. MP-1805 disk
controller now works. Kanji ROM now works.
Keyboard scanning in 'counter disabled' mode now works.

imgtool: Add bml3 driver, supporting both single-density (MP-1805
controller) and double-density (MP-1802 controller) disks in D88 format.

mc6843: Work around floppy_get_device() not finding drives attached to a
slot device.Store all 8 bits in CTAR current track register, rather than
excluding bit 7 (needed for bml3 MP-1805 boot)
2013-07-04 10:43:00 +00:00
Michaël Banaan Ananas
d847b7e81d (renamed taito_type_x.c) 2013-07-01 22:07:02 +00:00
mariuszw1
b8ef801a4e Sea Battle: added most of the graphics hardware and I/O [Mariusz Wojcieszek] 2013-07-01 21:10:10 +00:00
mahlemiut
1d8e3862e9 de_3: implemented DECO DMD Type 1 (128x16) display. There are various issues with communication to and from this DMD, so some games have issues, or won't even start properly. 2013-06-30 08:42:53 +00:00
Wilbert Pol
4e6b6d3eb2 Removed unneeded file (nw) 2013-06-29 12:17:18 +00:00
David Haywood
796f54597a type x skeleton.
I have no interest in this *at all* but I keep getting bugged about it so I'm giving people a place to pt notes.

From an objective point of view we at least need somewhere to establish details and proper documentation about the hardware and what the original platform consists of in both terms of PC side, software side and original security side before the there is no hope at all due to the travesty being created by all the hacked to run on PC dumps or 'files copied from mounted encrypted partitions' type junk.  That at least I feel is our duty because nobody else is going to care.
2013-06-27 17:10:28 +00:00
Angelo Salese
37a97133d6 Driver file 2013-06-25 15:28:29 +00:00
Curt Coder
93800ee497 (MESS) ibm5150: Keyboard WIP. (nw) 2013-06-24 21:23:34 +00:00
mahlemiut
150c9b7193 de_3: hooked up enough stuff so that games will boot. Implemented DMD Type 2 device and hooked that up to those games that use it. 2013-06-24 10:57:12 +00:00
Fabio Priuli
f07afceb6b (MESS) gb: misc lcd & includes cleanups. nw. 2013-06-24 09:56:09 +00:00
Curt Coder
0999cde96f (MESS) ibm5170: Added skeleton for the IBM PC/AT and 3270PC keyboards. [John Elliot, Curt Coder] 2013-06-23 19:26:07 +00:00
Olivier Galibert
a8255e1d0b placeholder test for Curt 2013-06-22 21:12:59 +00:00
Curt Coder
158bd9f20e (MESS) Added skeleton driver for Ithaca InterSystems DPS-1. [Al Kossow, Curt Coder] 2013-06-21 17:22:43 +00:00
Fabio Priuli
5363a89597 (MESS) bml3: added software list for floppy disks. [Anna Wu] 2013-06-21 17:19:47 +00:00
Curt Coder
0787f1e2a0 (MESS) ibm5150: Added skeleton for the IBM PC/XT 83-key keyboard. [John Elliot, Curt Coder] 2013-06-21 16:44:45 +00:00
Miodrag Milanovic
1615025734 makemak wip (nw) 2013-06-21 07:22:13 +00:00
Oliver Stöneberg
0c2201318c added pngcmp to tools (nw) 2013-06-20 10:08:31 +00:00
Oliver Stöneberg
619b0109b1 added copy_hd_1 test case (nw) 2013-06-20 09:56:17 +00:00
Miodrag Milanovic
7debccdfe7 placed back things just in mame.lst not to give wrong ideas (nw) 2013-06-20 08:34:20 +00:00
smf-
243b823635 Added vt83c461, which is currently implemented as a 32 bit chip. This allows hooking up to the jaguar driver without any glue, but primal rage 2 does as the io bus it's connected to is only 16 bit. (nw) 2013-06-19 18:48:00 +00:00
Oliver Stöneberg
3e3f3aad8c added createld_avi_uyvy_3_frames_no_audio unit test (nw) 2013-06-19 16:19:06 +00:00
Oliver Stöneberg
218932e2df renamed chdman unit test from createld_avi_3_frames_no_audio to createld_avi_yuv2_3_frames_no_audio (nw) 2013-06-19 16:18:49 +00:00
Miodrag Milanovic
1953d6cf08 (MESS)-bml3: split into three variants (bml3, bml3a and bml3b) according to floppy disk support. Only bml3a (5.25" disk) is considered working. [jedwidz]
-m6809: Initially setting S with a 'TFR *,S' evidently should enable NMI [jedwidz]

-mc6845: Add rudimentary support for 'interlace and video' mode [jedwidz]
2013-06-19 13:23:20 +00:00
Oliver Stöneberg
af723576bd removed unused exmaples from zlib folder (nw) 2013-06-19 12:09:13 +00:00
smf-
f89f73561b Added ata_interface_device, ide_controller_device is now only for pc register mapping. Renamed ide_mass_storage_device to ata_mass_storage_device. Changed ide_hdd_device so it only picks up it's image from the harddisk_image_device, which does a lookup to see if there is a region itself. (nw) 2013-06-19 10:35:43 +00:00
Fabio Priuli
d8bf9eaac5 (MESS) sms: Converted SMS inputs to use slot devices. You now select
controllers in the Slot Devices menu of the internal UI, not in the Driver
Configurations anymore. [Enik]
2013-06-19 06:50:07 +00:00
Miodrag Milanovic
c61f39538e deleted forgotten file (nw) 2013-06-18 14:38:27 +00:00
Miodrag Milanovic
e44c5d1298 Renamed one more include of .c in h file, and updated makemak (nw) 2013-06-18 14:11:02 +00:00
Miodrag Milanovic
6125d95e1d Made includes of C files in drivers section to use .inc instead, and also renamed galdrvr.c into galaxian.inc and neodrvr.c to neogeo.inc since it makes more sense (nw) 2013-06-18 14:01:12 +00:00
Oliver Stöneberg
8886da8e86 added createld unit test (nw) 2013-06-18 13:34:13 +00:00
Oliver Stöneberg
e489dd16cf added unit tests for createhd with .raw input and tests for each HD compression (nw) 2013-06-18 00:42:31 +00:00