Commit Graph

44 Commits

Author SHA1 Message Date
Fabio Priuli
c368097095 (MESS) sms: fixed Korean Gam*Boy 2 being detected as a Japanese
machine when a real unit does not. [Enik Land]

New driver added :
- Samsung Gam*Boy I [Enik Land]
2014-03-26 09:36:44 +00:00
Fabio Priuli
fdc538eb29 (MESS) sms.c: fixed behavior of the TH pin in the Japanese SMS consoles. [Enik Land] 2014-03-22 14:18:05 +00:00
Miodrag Milanovic
d131f7fa0c Moved rest of console slot devices to bus folder (nw) 2014-03-10 14:00:01 +00:00
Fabio Priuli
ca72f1cfec (MESS) sms: accurately emulated the behavior when mounting both a cart
and a card in the system, cleaned up RAM accesses, simplified code handling
cart/card/exp enable. [Enik Land]
2014-03-05 05:31:14 +00:00
Miodrag Milanovic
64ac8f6776 Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
2014-02-27 13:35:15 +00:00
smf-
6c5750e667 Converted SN76496 ready to DEVCB2 [smf] 2014-02-11 15:40:52 +00:00
Wilbert Pol
e7b95675bd (MESS) sms.c: Updated some notes and shuffled some code around (Enik Land) (nw) 2014-01-21 19:57:12 +00:00
Wilbert Pol
faed87bd57 (MESS) sms.c: Various changes: [Enik Land]
- adjust/add some comments
- restore complete controller port functions to the japanese SMS version
- isolate some code to their proper consoles
- remove FM support of the sms2kr driver
- remove Reset button of the smsj driver
- add emulation of the japanese Sports Pad model, required by Sports Pad Soccer
- adjust some code of other controller devices.
2014-01-14 19:44:56 +00:00
Wilbert Pol
52bfccb35c (MESS) sms.c: Improved I/O handling for Japanese and Korean drivers (Pause button for sg1000m3, TH input for sg1000m3 and smsj, and output via controller ports for Japanese and Korean drivers) [Enik Land] 2013-09-12 18:48:15 +00:00
Wilbert Pol
930e5b8cd0 (MESS) sms.c: [Enik Land]
- Added expansion slot and implemented the gender adapter to allow 
    regular cartridges to be played through the expansion slot.
    Usage example: mess sms1 -exp genderadp -cart2 wcup90
  - Made the cartridge slot on the sg1000m3 driver to no longer
    be mandatory allowing the driver to also be started with media
    in the cardslot.
2013-09-03 18:48:36 +00:00
Oliver Stöneberg
624ff85a3b fixed more faulty PALETTE_INIT modernizations (nw) 2013-08-09 06:29:09 +00:00
Oliver Stöneberg
1062e2bd39 more PALETTE_INIT modernizations (nw) 2013-08-05 13:38:36 +00:00
Wilbert Pol
5d50b69b62 (MESS) sms.c: Enhancements for Sega Scope and LCD persistence and fix SMS Light Phaser TH read bug. [Enik Land] 2013-08-04 20:28:30 +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
Wilbert Pol
4254bc0d11 (MESS) sms.c: Converted TH line callbacks to use write_line. [Enik Land] 2013-07-15 18:30:25 +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
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
Fabio Priuli
f97247cfd5 (MESS) marked Game Boy, Game Boy Color, Game Boy Advance, Game Gear, Intellivision,
Lynx, Master System, MegaDrive / Genesis, NES / Famicom, Neo Geo Pocket, Neo Geo 
Pocket Color, PV-1000, Super Cassette Vision, Super NES / Super Famicom, Wonderswan 
and Wonderswan Color as supporting save states. PC-Engine supports save states too, but
only for HuCard games and not for CDs. Please report issues with save and restore in these 
systems, if any, to MameTesters. [Fabio Priuli]
2013-06-08 06:31:26 +00:00
smf-
459b30be0f Moved default card config, device inputs and clock off the slot interface so they can be specified for all cards [smf] 2013-05-29 13:52:16 +00:00
Fabio Priuli
af6d6ee63e (MESS) sg1000: fixed RAM in a few games and added support for the Othello PCB (ROM + 2K RAM). nw. 2013-05-27 05:27:08 +00:00
Fabio Priuli
5b3ba478c9 (MESS) sms: added backward compatibility to SG-1000 Mark III, for SG-1000 games. [Fabio Priuli]
Only supported from fullpath for the moment
2013-05-24 09:45:28 +00:00
Fabio Priuli
47b76af436 (MESS) added sega cards to smssdisp too and cleaned up the memory handlers. nw. 2013-05-23 08:10:14 +00:00
Fabio Priuli
9784c1b3c7 (MESS) sms.c: added support for the card slot to Master System I console; use the -card switch
to load Sega Card/MyCard dumps in the emulated system. [Fabio Priuli]


The support is still preliminary, in the sense that at the moment you can load any SMS dump <= 32K 
in the card slot. Eventually the support will be restricted (at least from softlist) to games which were 
really available as cards.
2013-05-23 06:42:07 +00:00
Fabio Priuli
d5dd4ee116 (MESS) sms/gamegear: Various improvements [Fabio Priuli]
- Converted cart handling and mappers to use slot devices
  - Simplified bios and cart bankswitch mechanism
  - Added save state support to both systems
  - Removed on-cart EEPROM from main gamegear now that
    it can be properly implemented on carts which have it
  - Made LCD persistence hack optional (ON by default, it can
    be turned OFF from Driver Configuration submenu)
  - Reduced tagmap lookups all across the driver
2013-05-21 19:53:31 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Wilbert Pol
79cd4d05ee (MESS) sms.c: Added readme. [Guru] 2013-05-19 14:41:37 +00:00
Wilbert Pol
335de9f804 (MESS) sms.c: Change hcount calculation to use screen timings and move it to the VDP. [Enik Land] 2013-05-14 20:56:54 +00:00
Miodrag Milanovic
10d146a6be changed machine().device("maincpu") with m_maincpu in mess tree part (nw) 2013-04-10 11:31:17 +00:00
Wilbert Pol
fe3e4d8640 315_5124.c: Improved triggering of IRQs. [Enik Land]
(MESS) sms.c:  [Enik Land]
- Fixed master clock speed for PAL machines.
- Improved hcount handling resulting in better results from
  Flubba's VDP timing checks.
2013-03-11 19:28:59 +00:00
Wilbert Pol
871d4c7ac6 Getting rid of DEVICE_IMAGE_START (nw) 2013-02-06 20:32:33 +00:00
Wilbert Pol
400b9bcc29 Started moving DEVICE_IMAGE_ functions into driver_device classes. (nw) 2013-02-05 20:54:03 +00:00
Wilbert Pol
2838333f33 (MESS)sms.c: Mark-III does not have I/O port E and F. (nw) 2013-01-13 13:40:46 +00:00
Wilbert Pol
0e08e2d700 (MESS)sms.c: Keep RAM working normally when no scope is attached. (nw) 2013-01-13 13:36:12 +00:00
Wilbert Pol
0190f8a555 (MESS)sms.c: The Gam*Boy II seems to a bit more strict address descoding; at least the mirrors for I/O ports 3E and 3F do not seem to exist there. Fixes bublboky from the software list. (nw) 2013-01-13 12:51:53 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Wilbert Pol
84e53ca691 (MESS) sms.c: Improved support for '3-D' games. [Enik Land] 2012-12-12 19:44:34 +00:00
Miodrag Milanovic
e52d60b7f8 Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew) 2012-10-03 09:27:22 +00:00
Miodrag Milanovic
d5169298b6 Removed _new from name of modern device (no whatsnew) 2012-10-02 07:24:11 +00:00
Miodrag Milanovic
7f775f2fbe Modernized INPUT_CHANGED in MESS part of tree (no whatsnew) 2012-09-19 13:06:55 +00:00
Miodrag Milanovic
5ddbca3e7a Modernized screen update calls (no whatsnew) 2012-09-17 15:00:31 +00:00
Miodrag Milanovic
219e664785 Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT changed to be members of state classes (no whatsnew) 2012-09-13 11:15:32 +00:00
Aaron Giles
0ef1e6deb4 Closeout on old macros. Retired cputag_set_input_line
and cputag_set_input_line_and_vector, replacing them
with machine.device("tag")->execute().set_input_line[_and_vector].
[Aaron Giles]
2012-09-12 03:35:06 +00:00
Scott Stone
d01ca81899 (MESS) Continuing new device implementation for SN76496 and clones - apricot.c, apricotp.c, coleco.c, m5.c, mz700.c, pc.c, pv2000.c, rx78.c, sms.c, tutor.c [Osso] 2012-08-29 18:04:27 +00:00
Miodrag Milanovic
7285b359d2 Merge of MESS sources (no whatsnew) 2012-08-21 10:41:19 +00:00