Commit Graph

2011 Commits

Author SHA1 Message Date
Curt Coder
9956b7002f CDP1802:
- refactored the Q and DMA callbacks to use devcb
2009-07-16 12:19:43 +00:00
Aaron Giles
6519412d59 Cleanups and version bump. 2009-07-16 07:37:54 +00:00
Aaron Giles
061280b057 From: David Haywood [neohaze@nildram.co.uk]
Sent: Friday, July 10, 2009 11:02 AM
To: Aaron Giles; Angelo Salese
Subject: Otenami Haiken Final (V2.07JC)

Note, I've talked this one through with him, and this is correct.  Taito
sold this on a 64Mb CF card, it *requires* the V2 bios which is where CF
card support was added (it might be the reason the V2 bios exists)  The
supported bios is dumped from the PCB, I know we have the actual upgrade
kit, but afaik MAME can't upgrade it properly.  Only the new game uses
this bios, as it's actually a less featured bios aside from the CF support.

New Games added
--------------------

Otenami Haiken Final (V2.07JC) [Joerg Hartenberger]

Other changes
--------------

- Added flashv2.u30 (v2 bios) to the taitogn driver [Joerg Hartenberger]
- Added IDE Lock mechanism to the IDE Driver in MAME, so games on gnet
v2 bios are working correct now (idectrl.c / idectrl.h) & taitogn.c
[Joerg Hartenberger]
2009-07-16 06:14:18 +00:00
R. Belmont
2ce6e69018 ARM7 updates [R. Belmont, Ryan Holtz]
- Prepped to support multiple architecture versions
- Added ARM9 CPU type (ARMv5TE)
- Added mostly-stubbed system coprocessor/MMU support
2009-07-16 05:09:35 +00:00
Angelo Salese
b9f5e9d728 Reverted svn r6097 as per Aaron suggestion 2009-07-15 22:01:03 +00:00
Angelo Salese
6fd96d4954 Added 16-bits wide access function for the ymz280b sound chip core, needed by the upcoming Colorama driver submission [Angelo Salese] 2009-07-15 21:31:22 +00:00
Aaron Giles
5f0436a948 Fix crasher in burnin code. 2009-07-14 23:14:45 +00:00
Fabio Priuli
1e5f2af24f Fixed remaining occurrences of crsshairpath 2009-07-14 07:06:24 +00:00
Aaron Giles
f5c134ee2a Made pr8210 serial processing a little more robust. 2009-07-14 05:56:32 +00:00
Aaron Giles
ba6c280210 Added basic support in bitmap.c for 64-bit indexed bitmaps. As a
result, you will need a full recompile with this change, since the
bitmap formats enum was altered.

Introduced new feature -burnin, which can be used to generate a PNG
that represents the overall brightness seen during the course of
running a game. This PNG can be used as a fake "bezel" that overlays
the screen via the artwork systems (with a low alpha, say 0.1 or 0.2)
to simulate running a game with a monitor that has been burned in
from another game.

Fixed the -crsshairpath option to be spelled properly.
2009-07-13 22:34:43 +00:00
Aaron Giles
9db0a2d281 Added mechanism for the laserdisc core to return 0 for the
philips codes if video is squelched. Updated the Gottlieb
and Cliff Hanger drivers to request it this way, since they
decode externally.

Made a couple of minor tweaks to the Cliff Hanger driver.
Fixed interrupt timing (was not taking into account 
interlacing) to fix up glitches in playback and ensure the
disk test passes. Added SHA1 and marked the game as working.

New games marked working:
Cliff Hanger [Aaron Giles, Warren Ondras, Ernesto Corvi]
2009-07-13 18:56:09 +00:00
Curt Coder
3bf122986c Intel 8255A PPI:
- Added a new implementation of the I8255A device. Rewritten from scratch to properly support handshaking in modes 1 and 2.
- Refactored sg1000a.c to use the new implementation.
2009-07-10 13:26:54 +00:00
Aaron Giles
41065e7646 Fix for MSVC compile. 2009-07-10 05:47:32 +00:00
Aaron Giles
62c9a9d8cb Cleanups and version bump. 2009-07-10 03:10:17 +00:00
Brian Troha
95ce94fbfc Fixed a HD6309 core bug/typo in the divq_im opcode. [Romain Tisserand] 2009-07-09 23:08:05 +00:00
Aaron Giles
7af2304c81 Removed PREDECODE_GFX compile flag, as the on-the-fly decoding seems
to be working reliably.

Deprecated the ROMREGION_DISPOSE flag, as 98% of the use of it no
longer is applicable with on-the-fly decoding, and the remaining
cases are difficult to identify among the others.
2009-07-09 08:03:31 +00:00
Aaron Giles
5201d52344 Expanded address maps from 3 to 4. Moved ADDRESS_SPACE_PROGRAM/DATA/IO
constants to cpuintrf, as those names are really only applicable to 
CPUs. Added new ADDRESS_MAP_0/1/2/3 constants to identify address maps 
more generically. 

Updated memory system to be more general about address map handling.
Added the concept of default address maps (in addition to the already
existing internal memory maps). The difference between internal and
default memory maps is that internal memory maps always override
everything (including user-specified maps), but default memory maps
simply provide a default that can be overridden.

Converted the okim6295 sound driver to use address maps for access.
By default, it defines a ROM address map that overlays its full
region. As a result, the validity checks require all okim6295 regions
to be at least 256k, unless you provide your own address map. Updated
all regions to meet this requirement.

Updated the atarijsa code to use a custom address space for its
okim6295 accesses (which are banked on the first half and static on
the second half), as an example of configuring a device with a
custom address space.

For now, attempts to use okim6295_set_bank_base() will still work,
though banking for the okim chips should be moved to custom address
maps in the drivers eventually. The first time okim6295_set_bank_base()
is called, it will install a banked memory handler over the region
and use memory_set_bankptr() to change the base on subsequent bank
switches.

Moved address map validity checks to be run for each device instead of
just each CPU.
2009-07-09 07:10:40 +00:00
Aaron Giles
2577a0b22d Another step. Moved the address-space related get_info constants
to devintrf (including endianness). Removed space array from the
CPU class header. Made the memory system much more device-neutral.
Various other cleanups along the way.
2009-07-08 16:20:01 +00:00
Aaron Giles
7b28233e47 Move address_map array from cpu_config to device_config. Added
MDRV macros in the device for specifying address maps. Changed
the memory system to fetch the maps from the new location.

This is just a small step toward the end goal of getting address
maps into arbitrary devices.
2009-07-08 14:47:35 +00:00
Curt Coder
54ca1938bc Added xtal for MESS. 2009-07-08 12:42:51 +00:00
R. Belmont
c79dfb05f3 ARM (26-bit): TST/TEQ should only update flags
This eliminates the need for patches in poizone/ertictac, all deco32 games 
still run (including hvysmsh), and it better matches the documentation.
2009-07-05 17:32:15 +00:00
Angelo Salese
66ff5a084a Added very basic SCC68070 implementation, currently is just a basic m68k with 32-bits of address lines.
The plan is to add the on-chip peripherals on the magicard.c driver then, when I get some consistency, hardwire it to the cpu core.

Please check this modification asap (should be fine, but I haven't compiled with a clean build)
2009-07-03 18:43:09 +00:00
Aaron Giles
e60576e96d Cleanups and version bump. 2009-07-02 07:52:54 +00:00
R. Belmont
f9cff0ed71 PPCDRC: Generate some FPSCR flags [Phil Bennett] 2009-07-02 05:48:07 +00:00
Aaron Giles
35f7dd5c6d Cleaned out remaining generic drawgfx usage. Removed the
TRANSPARENCY_* constants, cleaning up vestigial usages.
2009-07-02 05:45:07 +00:00
Aaron Giles
02df84f38a Part 1 of the drawgfx changes. [Atari Ace] 2009-07-02 04:46:21 +00:00
Aaron Giles
a896b459e0 From: Duke [mailto:startaq@gmail.com]
Sent: Monday, June 29, 2009 3:58 AM
To: submit@mamedev.org
Subject: Patch for i86.c to fix an assert

Hello,

attached is a small patch for i86.c that fixes an assert when the
80188 CPU is used.

--Dirk
2009-07-02 04:40:07 +00:00
Scott Stone
539602fc42 Bugfix for 03185: All games using Lightguns: [debug] Bitmap memory Leak [Oliver Stöneberg] 2009-06-28 17:23:09 +00:00
R. Belmont
4d92bb5a12 One more FMULx fix. 2009-06-28 14:24:41 +00:00
Phil Bennett
3302f3c512 Really fix FMULx this time 2009-06-28 13:44:22 +00:00
Wilbert Pol
8bb520d0ec Some small tms0980 bug fixes. 2009-06-28 08:06:19 +00:00
R. Belmont
badb1141c4 PPCDRC: fix flags on STWCX and fix FMULS to use the correct registers 2009-06-28 04:59:14 +00:00
Angelo Salese
f656435cbc mc68hc11: fixed a register r/w to allow Skeet Shooter to put some gfxs 2009-06-27 14:06:40 +00:00
Curt Coder
bfd13a93a0 Added default monochrome amber and green palettes. 2009-06-26 21:35:28 +00:00
Angelo Salese
0b0d5876cb mc68hc11: fixed the I/O system by changing the has_io flag with a has_extended_io flag (switch between 0x40 and 0x100 I/O registers), the latter is used by the Taito JC HC11 CPU only at the current time. 2009-06-26 19:46:06 +00:00
Angelo Salese
77330f38ee mc68hc11: Fixed a bug with TAP opcode
Fixed internal RAM/internal I/O start-up state, and updated Hit Poker driver to use it like it should.
Taito JC driver seems unaffected by this change.

======================================================================================================

http://mamedev.emulab.it/kale/fast/files/memory_map.png
2009-06-26 19:22:46 +00:00
Angelo Salese
604e49b303 mc68hc11: added STX DIR, STY DIR opcodes 2009-06-26 18:41:04 +00:00
Wilbert Pol
75ce6af133 Added TMS0980 cpu core. 2009-06-26 17:49:45 +00:00
Curt Coder
f49b0d4ffa Added XTAL for MESS. 2009-06-25 17:00:43 +00:00
Aaron Giles
c8e552b3df Cleanups and version bump. 2009-06-25 08:21:41 +00:00
Aaron Giles
e692918b34 Added casts to ensure proper values are passed to the ctype.h functions.
[Juergen Buchmueller]
2009-06-25 08:04:39 +00:00
Angelo Salese
da2b0e3e8c Fixed breakpoints in the TMS9900 CPU core [Olivier Galibert] 2009-06-24 22:39:23 +00:00
Phil Bennett
6c791836fa Fixed PPCDRC incorrect instruction checksum order [Phil Bennett, R Belmont] 2009-06-24 17:31:17 +00:00
Angelo Salese
dc3b29f1b7 mc68hc11: added user-selectable configs, and hooked up in both drivers 2009-06-23 16:36:28 +00:00
Angelo Salese
30f95d2ce2 MC68HC11: Added STX INDX, STX INDY, STY INDY 2009-06-23 15:36:21 +00:00
Angelo Salese
28d0dcb67e mc68hc11: Added DEC INDX, DEC INDY, INC INDX, INC INDY, SBCA IMM, SBCB IMM, SUBA INDY, SUBB INDY, SUBA EXT, SUBB EXT, NEG EXT, NEG INDX, NEG INDY, SBA
Catched a silly bug with SUBA DIR
Made many fixes with Hit Poker, finally got something that isn't just text...
2009-06-22 23:33:36 +00:00
Angelo Salese
b0d558544f mc68hc11: Added SWI, WAI, STOP, RORA, RORB 2009-06-22 19:12:34 +00:00
Angelo Salese
e0473bb579 mc68hc11: Added LSRA, LSRB, DEC EXT, BLS, NEGA, NEGB, BHI 2009-06-21 23:19:14 +00:00
Angelo Salese
23d8a23308 Small bug-fix 2009-06-21 21:25:36 +00:00
Angelo Salese
d24aa76fdf mc68hc11: hooked up very basic IRQ support. 2009-06-21 21:15:02 +00:00
Angelo Salese
341cb728cd mc68hc11: Added BRCLR DIR, BRSET DIR, RTI, COMA, COMB, CLV [Angelo Salese]
Fixed gfx decoding in Hit Poker [David Haywood]
Made some logic fixes to Hit Poker, it now gets to a "Test IRQ" msg [Angelo Salese]
2009-06-21 20:23:12 +00:00
Angelo Salese
d2d36ebe02 mc68hc11: Added ROLA, ROLB, SUBD INDX, SUBD INDY, SBCA INDX, SBCA INDY, SBCB INDX, SBCB INDY, added basic hook-up for TEST opcode. 2009-06-21 14:54:33 +00:00
Angelo Salese
38cc1f2cc9 mc68hc11: Documented all the remaining missing opcodes, they are 91 out of 310. 2009-06-21 13:30:20 +00:00
Angelo Salese
70cb45d062 mc68hc11: Fixed a CPY IMM DASM bug, added BRCLR INDX, BRSET INDX, BCLR INDX, BSET INDX, CLC, NOP, SUBB DIR, SUBA DIR, SUBA INDX, SUBB INDX, SUBD IMM 2009-06-20 19:48:16 +00:00
Angelo Salese
8a3509b125 mc68hc11: Added LSRD, STX EXT, STY EXT, IDIV, CPY DIR, CPY EXT, CPY INDX, CPY INDY 2009-06-20 16:52:39 +00:00
Ryan Holtz
c2965b8335 Added extremely rudimentary Atmel 8-bit AVR CPU core, missing most opcodes and any attempt at proper cycle counts. [MooglyGuy] 2009-06-20 12:13:48 +00:00
Angelo Salese
41b154bf46 Fixed incorrect MUL number of cycles 2009-06-19 19:44:06 +00:00
Angelo Salese
f6943c73e9 mc68hc11: Added SEC & SEV.
Added some basic video emulation to Hit Poker, to let it show "9rror / 3hut 5own -achine"

=========================================================================================

http://mamedev.emulab.it/kale/fast/files/0013_1049739007.png
2009-06-19 19:14:27 +00:00
Angelo Salese
39a1c1804d mc68hc11: Added TBA, ASLA, ASLB, DECA, DECB, STY INDX, MUL, got to the point that it wants an irq. 2009-06-19 17:40:23 +00:00
Angelo Salese
d635ed70fb mc68hc11: Added SUBA IMM, SUBB IMM, INCB, INC EXT, CBA.
Fixed Hit Poker vram accessing.
2009-06-19 16:46:34 +00:00
Angelo Salese
318d6bfd3c mc68hc11: Added JMP INDX, JMP INDY, changed a reg_w assert to a logerror since this game writes 0xff to 0x00-0x3f I/O ports.
Fixed CMPA INDY wrong opcode bug.
2009-06-19 15:21:23 +00:00
Angelo Salese
e3fab21720 mc68hc11: added TXS, TYS, TSX, TSY 2009-06-19 14:54:40 +00:00
Angelo Salese
2fdf957bd5 mc68hc11: added BCC, BVC, BRN, BMI, BVS opcodes 2009-06-19 14:27:50 +00:00
Aaron Giles
5129896754 Cleanups and version bump. 2009-06-18 05:57:56 +00:00
Aaron Giles
cd8f2fb7ce From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Tuesday, June 16, 2009 7:09 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Pointerify minx cpu

Hi mamedev,

I noticed that the minx CPU was never pointerified.  It's only used by
MESS, which might be why it wasn't noticed.

~aa
2009-06-18 04:00:44 +00:00
Angelo Salese
5c25f1ce66 Implemented a new DECO CPU-16 opcode, used by Express Raider for V-BLANK bit and a bunch of liberate.c games for TILT bit.
Converted Express Raider to use the DECO CPU-16 core instead of the plain M6502. [Angelo Salese]
2009-06-15 20:53:42 +00:00
Fabio Priuli
120c82b89f Fix for bug 3262 2009-06-15 09:21:11 +00:00
Angelo Salese
fe6c204d5c Fixed a DECO16 CPU core bug that was causing issues with Pro Bowling part of Pro Sports [Angelo Salese] 2009-06-14 23:48:14 +00:00
Angelo Salese
1c07ac88cc Disabled an heavy logerror msg. 2009-06-13 17:03:27 +00:00
Wilbert Pol
145186f9f8 Made the 8237 dma controller emulation more accurate by implementing it as a state machine.
Deprecated the dma8237_run_transfer function.
2009-06-13 15:16:25 +00:00
Curt Coder
47a829e307 [MC6845] Refactored to use devcb and added cursor callback (for MESS). 2009-06-11 21:36:04 +00:00
R. Belmont
f94776a815 One more GCC 4.4 fix
How did this work before?
2009-06-10 21:52:08 +00:00
R. Belmont
2561e0d8cd More GCC 4.4 fixes.
Using an editor with visual brace-matching helps a lot with these.
2009-06-10 21:45:49 +00:00
Curt Coder
d732a752ff Added SP0256 pinout. 2009-06-10 10:51:07 +00:00
Curt Coder
d21d684862 [PPI8255] Fixed mode 2 input mask. 2009-06-09 08:11:47 +00:00
Curt Coder
7f060d3bca [PPI8255] Fixed handshaking signals for modes 1/2. 2009-06-08 13:30:09 +00:00
Aaron Giles
31d3633838 Cleanups and version bump. 2009-06-08 07:28:13 +00:00
Aaron Giles
ef0a31ca13 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, June 07, 2009 9:54 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] "Regularize" some interfaces in MAME

Hi mamedev,

This patch adjusts the code in a few places to be more regular in it
object approach.  It recognizes five idioms.

1.  device_configs should be passed const.  dsp56k.h took a non-const
device_config for no particular reason, necessitating casting where
used.  A few other places cast to non-const, in most cases
unnecessarily.
2.  running_machines should be passed non-const.  A few places used
const in different ways on running_machines, instead of the idiomatic
non-const running_machine.
3.  Eliminate passing running_machine explicitly where it can be
computed.  esrip.c, m37710.c, sfbonus.c had cases where the machine
could easily be eliminated.
4.  Pass the object machine/config first.  In some cases this makes
the interface object oriented, in some cases it simply makes it more
idiomatic with the rest of MAME.
5.  Prefer (screen, bitmap, cliprect) to (machine, bitmap, cliprect).
Fully implementing this would be a large patch, this patch simply does
it for the one core 'device', tms9928a.c.
2009-06-08 06:24:21 +00:00
Aaron Giles
ce83de86a8 The other larger patch adds missing static and const qualifiers, and
fixes up some header files.  In particular, I adjusted const char
*DEVTEMPLATE_SOURCE = __FILE__ to const char DEVTEMPLATE_SOURCE[] =
__FILE__ which makes it actually const and saves a little memory.

[Atari Ace]
2009-06-08 05:43:50 +00:00
Aaron Giles
a9807413ea Removed the MDRV_<devtype>_REMOVE macros. A simple DEVICE_REMOVE
works now that device types are not needed.
2009-06-08 05:38:50 +00:00
Aaron Giles
b431953ac1 Added the concept of device contracts. A contract is a well-defined
set of interfaces supported by a device, and identified by a unique
string identifier. A device may support any number of contracts,
described in a list via the DEVICE_CONTRACT_LIST* macros. 

The purpose of contracts is to provide a means for devices to expose 
a standard set of interfaces to other parts of the system. For 
example, the PCI device should expose a contract that includes
functions for configuration register access, and 32-bit I/O. Then
any device with a PCI interface should implement the PCI contract,
so that the PCI bus device can route things appropriately.

(This change is in anticipation of a proper Namco 06xx interface,
which exposes a contract to all devices it is attached to, but I
am still struggling to get it to work reliably.)
2009-06-08 00:41:50 +00:00
Brian Troha
e4df878bd1 fix error as pointed out by Laurent 2009-06-07 16:24:15 +00:00
Brian Troha
03945be4d0 Z80 fixes by "Marshmellow" in emails dated 3/8/2009 to Aaron and verified by Juergen.
Changes cycle counts in cc_xy[0x100] from 9 to 11 for:

0xDD2E 0xFD2E - LD IYL/IXL,n
0xDD26 0xFD26 - LD IYH/IXH,n

Also changes interrupt handling default case from:

z80->icount -= z80->cc_op[z80->PCD] + z80->cc_ex[z80->PCD];

to:

z80->icount -= z80->cc_op[z80->0xff] + z80->cc_ex[z80->0xff];
2009-06-07 15:49:22 +00:00
Olivier Galibert
3ea9b604ca Fix mantis 03013 by hooking strdup into mame's malloc [Atari Ace] 2009-06-07 15:12:07 +00:00
Ryan Holtz
159f54fb67 Fixed a minor typo in the SSEM debugging features. [MooglyGuy] 2009-06-06 19:50:33 +00:00
Aaron Giles
0eed019da7 Cleanups and version bump. 2009-06-04 15:33:42 +00:00
Fabio Priuli
ce4ecc4a78 Fixing NVRAM function name to be the same for devices/non-devices. This makes DT_HAS_NVRAM in devtempl.h work as expected. 2009-06-03 16:10:55 +00:00
Angelo Salese
10ebad43da Fixed compile error 2009-06-02 15:31:08 +00:00
Fabio Priuli
0344ac9306 Converted Motorola 6840PTM to be a MAME device 2009-06-02 15:28:44 +00:00
Fabio Priuli
c0aaf94b4b Removed type member from ADC083x and ADC1213x state structures. 2009-06-02 15:03:20 +00:00
Curt Coder
4094fc396a Added crystals for MESS. 2009-06-02 06:50:17 +00:00
Curt Coder
9eba6f1517 [Z80PIO] Added alternate read/write handlers. 2009-06-02 06:49:59 +00:00
Ryan Holtz
799228d1b4 Corrected a major oversight in the instruction encoding of the SSEM core [MooglyGuy] 2009-06-02 02:18:44 +00:00
Ryan Holtz
7ef80f9393 Added CPU core for the Manchester Small-Scale Experimental Machine (SSEM) from 1948 [MooglyGuy] 2009-06-02 01:11:11 +00:00
Fabio Priuli
871aa59c7c Partially converted NEC uPD4990A RTC to be a MAME device. Moved clock init to device_start. 2009-06-01 22:18:50 +00:00
Olivier Galibert
d5b9e079e5 Digitalker mode 2 fix 2009-06-01 22:14:12 +00:00
Fabio Priuli
3ce62e7831 Fixed problem with derived devices in devtempl.h. Fixed save state issues with adc083x.c and adc1213x.c. Changed adc083x.c & adc1213x.c to use derived devices for various types of converters. 2009-06-01 20:26:12 +00:00
Fabio Priuli
9c53758bcf Fixed save state issues for all but 2 of the devices I converted earlier 2009-06-01 18:51:18 +00:00
Fabio Priuli
fef4e83b4d Converted RP5H01 to be a MAME device. 2009-06-01 16:24:08 +00:00
Fabio Priuli
be7e2a6f37 Converted ADC1213x converters to be MAME devices. Also, made more specific the required functions. 2009-06-01 16:17:56 +00:00
Fabio Priuli
3a12078160 Converted NEC uPD4701 to be a MAME device and hopefully fixed ACD083x device implementation. 2009-06-01 15:04:34 +00:00
Fabio Priuli
f1765e578b Converted Fujitsu MB3773 to be a MAME device 2009-06-01 12:45:22 +00:00
Fabio Priuli
1bcf4e7b9e Converted ADC083x converters to be MAME devices 2009-06-01 10:44:07 +00:00
Fabio Priuli
b5c8272ad8 Converted DS1302 to use devtemplate 2009-06-01 10:39:47 +00:00
Aaron Giles
03061c0142 Changed voodoo to use devtempl.h. 2009-05-31 23:41:10 +00:00
Aaron Giles
c061fc36c8 Added DT_HAS_START to devtempl.h to explicitly specify the presence
of a start routine (so that derived devices can say whether or not
they are overriding the parent). Also converted 6821pia to use 
devtempl.h.
2009-05-31 22:25:55 +00:00
Fabio Priuli
da25d13961 Added configuration settings and analog adjusters to xml output (see e.g. mario or crbaloon). Also, added port categories for MESS. 2009-05-31 22:07:16 +00:00
Aaron Giles
a9d29f2d78 Cleaned up Namco 5xxx docs, listing both MB88xx pin IDs and
Namco custom IDs where appropriate.

Added clocks to the Namco 06xx in anticipation of improved
device interconnection.

Added new file devtempl.h which can be used to generate the
DEVICE_GET_INFO function. Updated all the Namco I/O devices
to use this.

Updated galaga driver to use computed video timing.
2009-05-31 22:04:15 +00:00
Fabio Priuli
818b17bc13 Converted Dallas DS1302 RTC to a device 2009-05-30 04:35:40 +00:00
Ryan Holtz
99c2a35186 Reverting my addition of AM_READONLY, because man, I am just dumber than hell. No whatsnew.txt entry, please, for dignity's sake. 2009-05-29 04:45:38 +00:00
Aaron Giles
ab7d486957 Cleanups and version bump. 2009-05-28 15:59:16 +00:00
Aaron Giles
25895015b2 Made a pass at shuffling/improving the system 16 and 18 bootlegs.
Some games are probably more broken now, but they are better
structured for future improvements. [David Haywood]
2009-05-28 15:17:13 +00:00
Aaron Giles
fc14ac39cc From: William Krick [mailto:bill@3feetunder.com]
Sent: Monday, May 25, 2009 9:31 PM
To: submit@mamedev.org
Subject: DIFF: vertical.ini & horizont.ini

This simple 4 line change (5 if you count the comment) to mame.c adds the
ability to parse vertical.ini and/or horizont.ini files.

I wanted this functionality so that I could specify different resolution
and artwork options for all vertical games in one shot.

I had a MAMEUI user ask that I submit this code to baseline MAME so that
it could be included in MAMEUI GUI without making changes to the core
codebase.

I chose to shorten "horizontal" to "horizont" to make sure that the
ini file falls within 8.3 filename guidelines.

thanks for your consideration
...
Krick
2009-05-28 15:13:53 +00:00
Aaron Giles
57deed92e8 From: Oliver Stoeneberg [oliverst@online.de]
Sent: Sunday, May 24, 2009 4:11 AM
To: submit@mamedev.org
Subject: Compilation fix for ARM7 core

This fixes the compilation with ARM7_DEBUG_CORE. It was actually
found by Reijo Tomperi from the cppcheck team after I issued a bug
report.
2009-05-28 15:12:42 +00:00
Aaron Giles
0c0affd00e Replaced Namco 52xx sound simulation with emulation of the MCU.
Updated polepos and bosco drivers to use the new 52xx sound
emulation, wiring up the output through the discrete mixer that
Derrick had already plumbed but left disabled.

This required several MB88xx changes/fixes:
 - internal timer support now works; prescaler is guessed based
    on Pole Position sample playback frequency
 - external counter support works
 - a basic mechanism for reading serial input has been added; it
    is not sufficient for a full implementation, but good enough
    to sample the SI pin at startup
 - fixed TSTS/TSTV to clear their respective flags
 - fixed CI and CYI to compute imm-reg instead of reg-imm
 - added masking of the PA register upon RTI/RTS to prevent bogus
    PC values
2009-05-28 09:15:09 +00:00
smf-
c96c490060 preliminary work on beatmania iidx, still lots to do but I didn't want to waste anyones time. 2009-05-28 07:13:38 +00:00
Aaron Giles
27e2aac0fe Added internal memory maps and internal clock divider to the MB88xx
CPUs. Removed now-redundant memory maps from drivers and removed
explicitly-specified clock dividers.
2009-05-27 14:18:44 +00:00
Yasuhiro Ogawa
47112c063b many DIPSW fixes [kanikani]
- added DIPLOCATION to scontra and thunderx
- added some DEF_STRs (Difficult, Very Difficult, etc.) and modified drivers using them
2009-05-27 08:15:29 +00:00
Aaron Giles
adffaf795b Split out Namco 51xx and 53xx into separate modules.
Converted Namco 51xx and 53xx into proper devices. The MB84xx is not
yet emulated, but is now present.

Converted 51xx and 53xx interfaces to use the devcb system for 
port I/O callbacks.

Dig Dug is known to be somewhat broken at the moment.
2009-05-26 15:16:58 +00:00
Aaron Giles
ca0bee02b5 Converted Namco 54xx to a device. The interface now specifies the name
of the target discrete sound object and the base node, rather than
making assumptions.
2009-05-26 05:43:32 +00:00
Aaron Giles
44eb499a4a Converted Namco 52xx to a device. Note the MB8842 for this is still
not emulated yet, but it is now present and disabled, and the ROMs
centrally loaded via the device.
2009-05-26 05:11:46 +00:00
Aaron Giles
996de3e466 Converted the Namco 50xx into a proper device.
Extended the Namco 60xx and namcoio_init() interfaces to accept 
a device name string in addition to an interface struct, until 
all the interfaces are replaced with devices.

Added DERIVED_CLOCK() macro which can be used by sub-devices to
derive their clock from the parent device.

Tweaked some of the laserdisc interfaces to use ROM_NAME() and
MACHINE_DRIVER_NAME() macros.
2009-05-26 04:35:01 +00:00
Ryan Holtz
1fa3febc6b Eliminated SMH_* usage in all memory maps in drivers beginning with A and B. [MooglyGuy] 2009-05-25 23:16:26 +00:00
Aaron Giles
8581fc7b28 CPUs actually take some time to reset. Changed the 68000/68010 to
eat an appropriate number of cycles after a reset.
2009-05-25 23:13:36 +00:00
Aaron Giles
64b527f6ec 2009/5/16 Mike Green <mikedx@gmail.com>:
> Here is a small patch for the touchmaster driver
>
> This removes the pulse input on the touchscreen for the touchmaster
> drivers, making centipede returns (tm4k), breakout3k (tm3k),
> wordsearch (tm8k) and possibly other games playable do to the need for
> "dragging" the screen. An example of this is the word search game
> where it is necessary to drag from the start letter to the end to
> highlight the selection, which is not possible with a pulse input.
>
> Best regards
>
> Mike
2009-05-25 01:07:07 +00:00
Aaron Giles
446c154bb1 From: Oliver Stoeneberg [oliverst@online.de]
Sent: Friday, May 15, 2009 9:13 AM
To: submit@mamedev.org
Subject: Unused Variables - second try

This is a new version of the patch, that disables some unused
variables. It fixes some warnings, that came up in an optimized build
and adds a few more things.
2009-05-25 01:03:10 +00:00
Brian Troha
90d2e8e705 Corrected the 202 entry in the LFO Frequency Table (and comments for it) for the YMF271 based on a formula by Olivier Galibert. (Brian Troha, Roman Scherzer) 2009-05-19 01:37:45 +00:00
R. Belmont
a59e2337ea H8 series MCU updates
- Implemented 8-bit timers and free-running counter for H8/3334
- Added bld #imm, @Rd instruction
- Improvements to interrupts and the serial ports
2009-05-18 03:55:28 +00:00
Wilbert Pol
bc5d8587c4 Moved the configuration of m6502-family callbacks to the cpu configuration. 2009-05-15 19:28:52 +00:00
Aaron Giles
3fd14bb4f9 Fix CPS3 regression. 2009-05-15 06:02:23 +00:00
Aaron Giles
de269aeb45 Sent: Monday, May 11, 2009 10:32 PM
To: submit@mamedev.org
Subject: LSHIFT/<< expression diff fix

Tafoid pointed out that it's currently impossible to use '<<' in a 
cheat xml file, this fix adds an alternate LSHIFT to cheat.c and
express.c and also adds the working '>>' as an alternate RSHIFT to 
express.c (not needed in cheat.c as >> parses fine)

diff file attached
2009-05-15 05:29:09 +00:00
Aaron Giles
4063eeeaca From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Sunday, May 10, 2009 5:41 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Static qualifier update

Hi mamedev,

Here's my periodic static qualifier patch for MAME, mostly adding
static to new code introduced over the past couple of months.

~aa
2009-05-15 05:24:32 +00:00
Aaron Giles
d9f4734cfa From: Xander Xander [mailto:xander85@operamail.com]
Sent: Sunday, May 10, 2009 1:28 AM
To: submit@mamedev.org
Subject: Save state for artmagic.c and runaway.c

I have added the save state to artmagic.c and runaway.c

Xander
2009-05-15 05:14:52 +00:00
Aaron Giles
a5699e8513 > From: atari_ace@verizon.net
> To: submit@mamedev.org
> CC: atariace@hotmail.com
> Subject: [patch] Search all rom sources for merges
> Date: Sat, 18 Apr 2009 20:32:15 -0700
> 
> Hi mamedev,
> 
> The logic for detecting merged roms does not check all the rom sources
> in the parent, leading to cases where roms from devices aren't
> detected as merged (e.g. ldv1000 in superdqs). This fixes it.
> 
> ~aa
2009-05-15 05:13:28 +00:00
Wilbert Pol
7dc342691f fix typo 2009-05-14 16:28:09 +00:00
Aaron Giles
a909ca4b4a Fixed MCS-51 to not access RAM in wraparound fashion.
Hooked up Noboranka MCU (very different from the others).

New games working: Noboranka
2009-05-13 15:53:11 +00:00
Aaron Giles
8125878cfa Fixed misaligned table. 2009-05-13 02:58:21 +00:00
Nathan Woods
4b092a9122 Readded read_vector callback 2009-05-13 02:53:12 +00:00
Jonathan Gevaryahu
2a8f2a9b69 add two crystal values needed for MESS 2009-05-12 19:10:25 +00:00
Aaron Giles
00c5f34211 MCS-51 fixes:
* jb int0,<self> loops are now broken out of if int0 comes and is taken
 * externally-clocked counters only count when enabled

System 1 changes:
 * hooked up 8751 properly
 * removed old 8751 hacks
 * shuffled Shooting Master sets

New Games Marked Working
------------------------
Choplifter (8751 315-5151)
Shooting Master (EVG, 8751 315-5159a)
2009-05-11 09:14:26 +00:00
Angelo Salese
9216688bb1 Added a work-around for the UART FIFO read only status register on the SH-4 to make Tetris Kiwamemichi happy to boot.
It crashes shortly after that like La Keyboard though (jumps to an unmapped address).
2009-05-09 19:18:36 +00:00
Aaron Giles
09d58a6c7f Removed address_map2 items from the CPU config, etc. 2009-05-09 05:30:43 +00:00
Aaron Giles
0f1e0cc8e5 Removed second parameter from MDRV_CPU_PROGRAM_MAP, MDRV_CPU_DATA_MAP,
and MDRV_CPU_IO_MAP. For the remaining drivers that used multiple
address maps, converted them to use AM_IMPORT_FROM to import the base
map.
2009-05-09 04:11:55 +00:00
smf-
1443386e33 fixed visual studio 64 bit compile 2009-05-07 19:43:17 +00:00
Aaron Giles
673ca66750 Cleanups and version bump. 2009-05-07 15:46:14 +00:00
Aaron Giles
d72f98cb3c Fix MCS51 disassembler to work properly when there are two
memory arguments (the second would overwrite the first).
2009-05-07 13:59:46 +00:00
Ryan Holtz
29f46d4576 - Fixed display of the i8085's SP register when in the debugger. [MooglyGuy] 2009-05-06 15:19:41 +00:00
Jonathan Gevaryahu
c713b0ba1a minor update to sn76496.c to make the cycles to ready change made more sane (still not completely right), and document why. 2009-05-05 17:06:28 +00:00
Curt Coder
91a7d9908b Converted the WAVE sound device to stereo (for MESS). 2009-05-04 13:18:58 +00:00
Nathan Woods
298cf8348d Sync with MESS 2009-05-04 11:27:27 +00:00