Commit Graph

58 Commits

Author SHA1 Message Date
Fabio Priuli
d69ad9d29f (MESS) fds/famitwin: attach the disk controller device directly
to the machines, without the intermediate cartslot. This is more
accurate for famitwin and it also avoids the possible 
misunderstanding about the -cart switches in these systems
(+ avoids possible misconfigurations). nw.
2014-10-03 18:59:59 +00:00
Fabio Priuli
488c57a9e0 fixed famitwin bios usage. nw. 2014-09-12 12:11:00 +00:00
Fabio Priuli
af7242fcb4 (MESS) famicom: converted the disk system add-on to be a cart
in the softlist. The official syntax to launch disk games is now
  mess famicom -cart disksys -flop gamename
which corresponds to inserting the RAM expansion cart with
connected the disk drive into the cartslot and the desired disk
in the disk drive (exactly like you would have done with the
real thing). In this way, you cannot mount anymore both a cart and 
a disk in the Family Computer (as in a real unit). 
Users that cannot cope with this limitation and/or with the new 
syntax can still use the famitwin driver (which offers both cart and 
disk options) or the newly added driver fds which emulates a
famicom with the expansion always inserted: in both latter cases
the old syntax
  mess famitwin -flop gamename
will launch the game, as previously. [Fabio Priuli]

(MESS) famicom: fixed disk system IRQ latch clear in Kaettekita
Mario Bros. based on investigations by FHorse. [Fabio Priuli]


Out of whatsnew: For the moment I gave up the original plan to 
also modernize the floppy drive and the disk format. If anyone 
wants to look into these, be my guest :-)
2014-09-11 21:01:45 +00:00
Miodrag Milanovic
5d7e1fcc62 Cleanups and version bump 2014-07-22 06:14:55 +00:00
Miodrag Milanovic
22457cd9ce cassette config moved inline (nw) 2014-05-02 17:19:09 +00:00
Miodrag Milanovic
0ac942c9b8 Cleanup of image device interfaces (nw) 2014-05-02 12:10:55 +00:00
Fabio Priuli
af800c1155 nes_apu: converted to use inline config. nw. 2014-04-11 07:18:48 +00:00
Fabio Priuli
b9a4a2a853 (MESS) removed an unused interface from NES carts. nw. 2014-04-08 15:24:11 +00:00
Fabio Priuli
3d7311706d nes ppu: converted to use inline config + removed some unused config values. nw.
vsnes/playch10: reduce tagmap lookups at runtime. nw.
2014-04-08 09:28:25 +00:00
Miodrag Milanovic
b5a348c7c1 Made palette settings for screen explicit and mandatory for ind16 mode (nw) 2014-03-14 14:39:34 +00:00
Miodrag Milanovic
69e33bcb5e snes and nes slot devices moved into bus folder (nw) 2014-03-10 08:29:46 +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
Fabio Priuli
b40ea2dac4 (MESS) nes: properly implemented Aladdin Deck Enhancer as a
pass-through cart. Correct syntax to launch e.g. Dizzy The Adventurer
is now "mess nes -cart ade -cart2 dizzyadv". Moved Aladdin minicart
dumps to a separate softlist (but you can load in -cart2 iNES files from
fullpath, if you like) [Fabio Priuli]
nes_camerica: simplified emulation of the BF9096 board and fixed 
emulation of GoldenFive board (used by the Polish Pegasus 5 in 1
cart). [Fabio Priuli]

out of whatsnew: this commit completes the recent work about emulating properly the 
different pass-through NES/Famicom devices and their corresponding mini-carts...
there should be no more games requiring non-standard syntax to be launched.
2014-02-21 12:09:38 +00:00
Fabio Priuli
5c2b6036df (MESS) nes: Properly implemented the Bandai Karaoke Studio expansion
slot. The two Senyou Cassettes (Top Hit 20 Vol 1 & Vol 2) have now to be 
loaded with the following commands "mess nes -cart karaoke -cart2 top20v1" 
(or top20v2). This is accurate to the hardware, because these expansions
had to be manually inserted into the body of the main Karaoke Studio cart 
before playing. [Fabio Priuli]
2014-02-19 05:48:54 +00:00
Fabio Priuli
ad550cb7b8 (MESS) nes: Properly implemented the Bandai Datach as a passthru cart.
Datach games have now to be loaded with the following commands
"mess nes -cart datach -cart2 gamename" where gamename can be
either a shortname from the datach softlist, or a fullpath to the iNES files
(or to headerless 256k dump of the Datach minicarts). This is accurate
to the hardware, because Datach carts could not be mounted in the main
Famicom cartridge slot. [Fabio Priuli]
2014-02-13 10:16:44 +00:00
Fabio Priuli
63dd624665 (MESS) nes: added support for Multi-Discrete PCB (aka Mapper 28) used
by Action 53 - Function 16 - Volume ONE - "Streemerz Bundle" homebrew
multicart. [Fabio Priuli]
2014-02-06 17:44:32 +00:00
Fabio Priuli
3b7a999c26 (MESS) nes.c: Added support for NROM368 homebrew PCB. [Fabio Priuli]
nes.c: Fixed support for BMC-12in1 PCB, based on Cah4e3's research. [Fabio Priuli]
2014-02-01 08:05:15 +00:00
smf-
5f073e11ea moved nes_cart from .h to .c (nw) 2013-12-11 18:16:37 +00:00
Jonathan Gevaryahu
a2cb0d6258 make that last commit use the bios system, since we can. Also mark famitwin bios as non-optional since it was an irremovable part of the Sharp twin famicom system (n/w) 2013-11-15 21:04:34 +00:00
Jonathan Gevaryahu
5617ea4b62 (MESS) nes.c: add RP2C33-01 'older' version FDS bios and fix labels of FDS bios roms. [Dead_Body] 2013-11-15 20:25:47 +00:00
Ivan Vangelista
8abb340ad3 Modernize nes_apu device. (nw)
Needs merging with N2A03 cpu core.
2013-11-05 20:38:57 +00:00
Scott Stone
33c524ef61 [MESS] a7800.c - Cleanup of address maps, high score maps added [Robert Tuccitto]
[MESS] nes.c - Documented new PAL NES clone called "Golden China TV Game"  [kaylee]
2013-09-20 18:39:57 +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
Miodrag Milanovic
14629cbcb4 Cleanups and version bump 2013-07-23 07:18:56 +00:00
Fabio Priuli
13251e570a (MESS) nes.c: fixed famicom controller regression due to family trainer addition. nw. 2013-06-17 17:22:36 +00:00
Fabio Priuli
03b20c9bd8 (MESS) nes.c: added emulation of the FC Family Trainer controller,
to be enabled in Expansion Port through the Driver Configuration 
submenu, and mapped by default like the Power Pad. [Fabio Priuli]
2013-06-16 07:52:52 +00:00
Fabio Priuli
3a6394eb99 (MESS) nes.c: added emulation of the NES Power Pad controller,
to be enabled in Controller Port 2 through the Driver Configuration 
submenu, and mapped by default on TY,FGHJ,BN keys for side A
layout and RTYU,FGHJ,VBNM keys for side B. [Fabio Priuli]
2013-06-15 19:15:14 +00:00
Fabio Priuli
ce7fd3a5d4 (MESS) nes.c: emulated microphone input for old famicom controller,
as detected by games (i.e. it only detects voice/no voice, while the actual 
transmission of your voice to the speakers is not emulated). To use it in 
games expecting you to blow or shout in the mic, select the "Gamepad 
(Older Version)" as "P2 Controller" in the Driver Configuration submenu, 
and press "6" when the game requires it. [Fabio Priuli]

input is recognized both by BASIC (peeking at $4016) and by Raid on Bungeling Bay 2P mode, so I think it's correct...
2013-06-15 18:04:29 +00:00
Fabio Priuli
1ebbe17e7f (MESS) NES input cleanup, part 5 and last (Simplified FC input too, added Arkanoid FC paddle
emulation, fixed P3 & P4 inputs in Jpn games using them). nw.

paddle now works in Chase HQ too (the NES one don't because of the different protocol), 
3rd & 4th players can enter inputs in Technos games, and it turned out that Lightgun was 
actually working (I had probably tested with a non-clean compile), so that at last all selectable 
input devices are finally working :-)
2013-06-15 16:30:05 +00:00
Fabio Priuli
5bc13ef7f6 (MESS) NES input cleanup, part 4 (Simplified NES input reads and fixed Arkanoid paddle
emulation which has been broken for long time, probably more than 6 years). nw.
2013-06-15 11:53:20 +00:00
Fabio Priuli
4a673c07aa (MESS) famicom: added support for loading/saving BASIC programs from/to
cassette. wav files supported only. [Fabio Priuli]

(MESS) Added software list for BASIC programs saved to tape [Anna Wu, UglyJoe, Fabio Priuli]

If anyone has more Family BASIC tapes or other cassettes for Famicom games or add-ons (e.g. Bandai Karaoke or Fukutake Study Box) 
or for some chinese clones (ABM, or Bridge, or any other), please contact us.
2013-06-15 08:42:49 +00:00
Fabio Priuli
cdda6a9f58 (MESS) NES input cleanup, part 3 (Moved some FC controllers to the Expansion port, since
they were attached there. This temporarily breaks Lightgun and Multitap in Famicom, but in
reality they were never working in Japanese-exclusive games, only in worldwide games who 
supported NES protocol, so just use the NES driver to have previous functionality until I add
support for the FC protocol. Standard pads, keyboards and mj panel work as before). nw.
2013-06-14 16:11:34 +00:00
Fabio Priuli
d12877b475 (MESS) NES input cleanup, part 2 (Crazy Climber "controller" was just a set of sticks to
put on the standard controls and it was Japan-only + Famicom supported a single lightgun). nw.
2013-06-14 10:22:58 +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
Scott Stone
df66d235b2 (MESS) NES: Switched button arrangement to match left to right order from actual gamepad. Mike Tyson's Punchout plays a little more logically now. (nw) 2013-04-25 00:26:05 +00:00
Fabio Priuli
c1540080a1 (MESS) nes.c: major refactoring and improvements of NES/FC cart emulation: [Fabio Priuli]
- converted carts, mappers and pcbs to use slot devices
- fixed starting of Famicom, Famicom Twin and Dr. PCJr
- fixed handling of "no disk" in FDS so that the system displays Mario and Luigi 
  jumping around as expected
- added AY8910 sound to Sunsoft-5B (Gimmick JPN sfx)
- added YM2413 to VRC-7 (Lagrange Point OST)
- added support for recorded samples to Jaleco sport titles and to Bandai Family Trainer
  Aerobics Studio, thanks to notes by hap and egoh, and recordings by Pongbashi 
  (samples are needed because these games use a currently undumpable speech chip)
- added support for NES-EVENT pcb used by Nintendo World Championship 1990,
  including dipswitches
- added support for Galoob Game Genie real usage (in addition to the codes which
  Puggsy added to his cheat collections): when you load ggenie, a second cartslot 
  becomes available to load another game attached to the cheat device (e.g. with
  "mess.exe nes -cart ggenie -cart2 smb") and you can enter the cheat codes as in a
  real NES
- added support for Nantettatte!! Baseball lock-on mechanism, based on the tests
  performed by naruko on his carts: when you load nantbb, a second cartslot 
  becomes available to load one of the two update minicarts (91 Hen or OB Hen)
- improved emulation of Namcot 163, 175 and 340 boards, based on the tests
  performed by naruko, lidnariq and bootgod on the real hardware
- moved Nantettatte!! Baseball minicarts to a separate list (nes_ntbrom.xml) because 
  they cannot be loaded in the NES directly, but only through the nantbb subslot
- emulated bus conflict (CPU/PRG) in PCBs documented as having it
- partial emulation of open bus, enough to make working the games using it as a sort
  of protection
- fixed crash when loading files using FFE mappers
- fixed mirroring in some boards (Sunsoft DCS and UNL-CC-21) and in some games
  (e.g. Paris Dakar Rally Special and Escape from Atlantis)
- fixed a few bugs in Tengen 800032 emulation (mapper 64), promoting Klax, Xybots 
  and Road Runner to work state
- fixed Tengen 800037 emulation (mapper 158), promoting US Alien Syndrome to work
  state
- added working emulation of many bootleg pcbs used for pirate conversions from FDS
  (Ai Senshi Nicol, Doki Doki Panic, Fuuun Shaolin Kyo, Green Beret, Monty no Doki 
  Doki Daidassou, Tobidase Daisakusen, Super Mario Bros Malee 2 / Genius Merio Bros...)
- improved emulation of many pirate pcb (BMC-GOLDENCARD-6IN1, KS7013B, 
  KS7012, BMC-GHOSTBUSTERS63IN1, UNL-MALISB, MAXI15 and more...)
- improved RacerMate Challenge II emulation, but the game is still not working due to
  unemulated bicycle controller
- added CPU-based IRQ mode in Tengen 800032 emulation (mapper 64), fixing
  Skulls & Crossbones gfx (but the game is still not working)
- fixed many small inaccuracies in the old code, spot during the conversion
- added support for most other known pcbs, even if in most cases emulation is only
  sketchy
- reduced the need of fake alt pbcs for boards which only differed by mirroring handling 
  (these are now recognized through the "mirroring" feature)
- removed fake wram which was added to a lot of partially documented pcbs and 
  re-added it only where actually present, so to more accurately document what was 
  really in the carts

Out of whatsnew: There's still a lot to do (e.g. to clean up the implementation of the pirate pcbs)
but I hope that submitting this now I can get some wider testing help so to catch and fix regressions 
before next release :)
2013-04-21 19:27:29 +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
Miodrag Milanovic
92b8c3739c Fixed nes clones regression (nw) 2013-04-04 06:49:10 +00:00
Miodrag Milanovic
3624e85653 made ppu nmi also delegate and now inline config (nw) 2013-03-28 09:09:49 +00:00
Miodrag Milanovic
0e1f5ad25b Cleanups and version bump 2013-03-19 07:22:20 +00:00
Fabio Priuli
e145f75929 added missing pcbs. nw. 2013-03-18 16:40:48 +00:00
Angelo Salese
41a4ac672c Added mahjong panel support to Famicom 2013-03-15 14:44:00 +00:00
Miodrag Milanovic
9b56feb8b7 nes: fixed non-mandatory cart handling for famicom (nw) 2013-02-11 15:06:05 +00:00
Fabio Priuli
0e937ed6b4 (MESS) nes.c: shuffled around the loading code (very preliminary step towards slotification).
also, temporarily made famicom driver to only support disks.
2013-02-11 10:13:14 +00:00
Wilbert Pol
400b9bcc29 Started moving DEVICE_IMAGE_ functions into driver_device classes. (nw) 2013-02-05 20:54:03 +00:00
Miodrag Milanovic
0e19f641d3 Cleanups and version bump 2013-01-11 07:32:46 +00:00
Nathan Woods
42b6aa8507 [NES MESS] Minor cleanups 2012-11-25 14:40:31 +00:00
Olivier Galibert
fac1ca581b 6502: Rewrite modern, cycle-exact and interruptible [O. Galibert] 2012-11-06 16:27:39 +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