Commit Graph

3128 Commits

Author SHA1 Message Date
Aaron Giles
94233e688d Fix bad bug in scheduler quantum code. 2008-11-05 16:37:40 +00:00
Aaron Giles
a33640f46d Added concept of scheduling quanta to the timer system. Also added
means of setting the minimum useful scheduling quantum, and clamping
all quanta to that value.

Changed interleave/boost handling to use scheduling quanta instead
of timers.

Added machine parameter to cpu_boost_interleave.

Updated cpuexec to compute the "perfect" interleave value taking into
account the minimum number of cycles per instruction specified by the
CPU core. Updated Z80 core to indicate that the minimum cpi is 2. Fixed
incorrect minimum cpi in the 68020+ cores.

Simplified a bit of logic in cpuexec_timeslice.
2008-11-05 16:04:56 +00:00
Couriersud
82c3ffc153 "Pointer-ified" the mcs51 core 2008-11-05 00:10:21 +00:00
Couriersud
94e16603c5 "Pointer-ified" the mcs48 core 2008-11-04 23:19:16 +00:00
Angelo Salese
62195dc9a0 Fixed coinage in Speed Attack! and cleaned-up the driver to current standards.
(And added a re-write note to Speed Attack and Yumefuda drivers)
2008-11-04 20:41:25 +00:00
Aaron Giles
62d7168295 Pointer-ified the R3000 core. 2008-11-04 15:24:49 +00:00
Aaron Giles
d060c4694b "Pointer-ified" the Z80 core as an example for testing. 2008-11-04 14:57:03 +00:00
Curt Coder
7d4023e2c4 [MC6845] Reverted all changes. 2008-11-04 11:52:42 +00:00
davidhay
6fb55dfbf7 added 32x rendering 'mode 2' (15bpp) 2008-11-04 08:40:41 +00:00
Aaron Giles
79f8cc1cf8 From: Micko [mailto:mmicko@gmail.com]
Sent: Sunday, November 02, 2008 1:04 AM
To: Aaron Giles
Subject: Z80 CPU change

Hello Aaron,
 
For a long time there was undiscovered internal register (MEMPTR) inside Z80 CPU which was visible by using BIT n,(HL) instruction in undocumented bits of flag, in
last few months lot of things have been discovered by team of Russian programmers. There was a test on real machine which showed status of flags after each instruction.
I am sending you now patch for Z80 with MEMPTR implemented, there is also one more bug fixed (BIT 6,(XY+o) was not implemented good it used BIT 4,(XY+o) code).
 
As a proof that things are now valid, I am sending screens before patch on Z80 cpu core, and after with compare of results on real machine.
I am also sending you a TZX file (for ZX Spectrum) since tests are done inside that driver.
 
Please inform me about status. Hope this could fix some issues in drivers using Z80, since some games used this flags.
 
Regards,
Miodrag Milanovic
2008-11-04 06:10:20 +00:00
Aaron Giles
7d291c792f Re-inlined core attotime functions. This makes a significant difference
when running with high interleaves (~2x speed running Dig Dug at perfect
interleave).
2008-11-04 05:45:54 +00:00
Couriersud
807a9b1014 Hooked up 6845
* Hooked up 6845 in a daisy chain way into existing "6845 emulation"
* Clocks from schematics
* Video size issues - 6845 code related, discussion started on list
2008-11-03 23:49:51 +00:00
Couriersud
bf4bfe8b86 Removed some printf debugging and added some more DS5002FP code 2008-11-03 23:08:38 +00:00
stephh
ac727bcca6 Added Dip locations for 'exprraid' and clones.
Added Dip locations for 'gyruss' and clones.
2008-11-03 18:27:28 +00:00
Pierpaolo Prazzoli
ac65d98ddb Fixed bug 02618: samuraia and clones: No SFX sound 2008-11-03 18:20:57 +00:00
Aaron Giles
c6a7299b4e 02544: Dip Condition / Port Include limitation 2008-11-03 10:01:43 +00:00
Curt Coder
086cc0d047 [MC6845] Fixed display enable. 2008-11-03 09:56:09 +00:00
Aaron Giles
7038a72e76 Converted toobin to RGB32 to allow for mid-screen palette updates.
Also added correct video timing and full memory map, and connected
watchdog.
2008-11-03 09:41:03 +00:00
Aaron Giles
abf8eafc47 02607: frogs: Taking a screenshot in Frogs (Gremlin) exits the game with an error. 2008-11-03 08:31:39 +00:00
Yasuhiro Ogawa
bf4f376e9b allows YM2203C to be heard by default.
Credit Jim H.
2008-11-03 03:08:08 +00:00
R. Belmont
8d3e0e1ba2 Small Naomi update
AICA: fix missing instruments in DTPK driver games [R. Belmont, Deunan Knute, kingshriek]

Naomi: unmapped words in the AICA address range must read as zero [R. Belmont]

With these changes Toy Fighter's music is much better.
2008-11-03 02:58:59 +00:00
Couriersud
f9029d88a5 Irem M10: first results from schematics
* Updated video timing and cpu/pixel clocks
* Rewrote irq for m10/m11 to use two 74LS123
2008-11-03 01:19:51 +00:00
Couriersud
17b6c56de9 74123 Fixes:
* Clear behaviour to follow datasheet.
* Avoid recursive calls when setting a/b/clear lines from callback
2008-11-03 01:16:39 +00:00
davidhay
b29e06704b added 32x DRAM clear, needed by 32x tempo, pitfall, primal rage 2008-11-03 00:50:46 +00:00
davidhay
45a29c2c22 added RLE mode to 32x renderer, needed by brutal intro 2008-11-02 23:06:53 +00:00
stephh
4f157ee1b4 Fixed Dip Switches for all games in halleys.c driver.
Added Dip locations for 'halleys' and clones.
2008-11-02 22:33:19 +00:00
Couriersud
ec60d29846 Changed 74123 into a device 2008-11-02 21:55:06 +00:00
davidhay
b11d133ccc current 32x code 2008-11-02 21:21:46 +00:00
Aaron Giles
a769919540 Missed file from AtariAce. 2008-11-02 03:15:38 +00:00
Aaron Giles
0c35694668 Oops, not ready for these yet. 2008-11-02 03:15:03 +00:00
Aaron Giles
ffc97bd35d Cleanups and version bump. 2008-11-02 03:11:19 +00:00
Aaron Giles
8dac65b955 I changed the coinage settings and swapped coin A mech with coin B to
match the behaviour of Chelnov (world) pcb
[Corrado Tomaselli]
2008-11-02 02:48:28 +00:00
Aaron Giles
a69e703854 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 4:14 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Toaplan2 save state fix

Hi mamedev,

I realized after sending my toaplan2 save state patch that I had
ignored the implications of memory_set_bankptr (grrr).  This followup
patch fixes the most significant case of that, I'll fix up the
remaining ones later.  Alternately, you can drop the patches for now
and I'll resubmit them later.

~aa
2008-11-02 02:45:04 +00:00
Aaron Giles
ae0c3e8811 From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, November 01, 2008 11:29 AM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] State save support for toaplan2

Hi mamedev,

Attached is a small patch to add a toaplan2.h include file and save
state support for the driver.  A number of variables changed from int
to specific sizes to support this, and I also fixed a harmless typo in
the mem_mask size.

~aa
2008-11-02 02:44:33 +00:00
Aaron Giles
9e9ebc19a6 From: abcd efgh [mailto:cix_999@yahoo.it]
Sent: Sunday, October 26, 2008 3:01 PM
To: submit@mamedev.org
Subject: expro02

Hi folk!
Another work in expro02 drive:
-  Fixed dips in all galsnew sets and  fantasia.
- Added dips  location.
- A little drive clean up.
Bye Sonikos
2008-11-02 02:41:52 +00:00
Aaron Giles
4e80367366 Here's another MAME tidy patch. This one adds missing const/statics,
adds/removes entries in header files, and fixes a few potential
multisession issues by explicitly adding initializers.  asic65.c has
significant changes to accomodate using a struct instead of 16
variables, otherwise the changes in this patch are modest and obvious.

[Atari Ace]
2008-11-02 02:40:46 +00:00
Aaron Giles
d08215d8ee [Pugsy]
There's an issue with the debugger handling of the 6502 instructions as
there's a mismatch between the core and what the debugger shows.
The changes are detailed in the spreadsheets that I've attached that
compares the core to the dasm.


Attachments:

m6502fix.zip contains the diff file
6502 debugger disassembly changes.zip   contains an excel spreadsheet
(in both xls and xml formats) detailing the reasons/changes.
2008-11-02 02:38:50 +00:00
Aaron Giles
1763eae62b Fix NES APU to work with high sample rates (don't know the bug #) 2008-11-02 02:36:52 +00:00
davidhay
272416355e still working on 32x... these require such heavy sync it kills performance :/ 2008-11-02 01:48:46 +00:00
davidhay
7ed79633f9 current 32x backup - some stuff actually boots now...
(again, no impact on MAME)
2008-11-02 00:40:56 +00:00
Aaron Giles
67a5e53e17 From mamesick:
* bbusters.diff:
- Fixed service mode issues enabling extra RAM that was previously unmapped.
- Properly implemented all sound communications.
- Fixed ID 00387. (there are no sound issues, the bug in my opinion is no more valid)

* nmk16.diff
- Fixed ID 00224. (PCB behaviour verified by Corrado Tomaselli)

* renegade.diff
- Fixed ID 01679. (old code was an hack, cpu_getiloops is more acceptable)

* suprnova.diff
- Fixed ID 02042. (no other games are broken)

* twin16.diff
- Cleaned up a bit code to make it more readable.
- Reorganized CPUs order in all games. (main, sub, audio)
- Fixed ID 02268. (guesswork, a PCB is needed to understand how priorities work)
2008-11-02 00:14:17 +00:00
Angelo Salese
8c2c0d0043 Discovered that Virtual Mahjong 2 - My Fair Lady currently works,so changed flags GAME_NOT_WORKING to IMPERFECT_GRAPHICS / IMPERFECT_SOUND
and removed an unnecessary hack from the driver.Probably one of Arbee's SCSP changes fixed it.

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Virtual Mahjong 2 - My Fair Lady

(i.e. Do not credit me on this)
2008-11-01 23:45:47 +00:00
davidhay
c9e94756cc fix mantis 02605 'Wrong colors in Funny Mouse and clone. ' 2008-11-01 11:16:58 +00:00
Roberto Fresca
e03868c87a Ruleta RE-900:
Use pre-defined crystals. Added with notes to xtal.h.
Added missing layout file.
2008-11-01 01:17:55 +00:00
Couriersud
66c3f28e30 Removed dkongx code
* Copy of driver file put on ftp
2008-10-31 23:28:35 +00:00
Couriersud
10b85f1efe More changes to timer 0 split mode 3 and how timer 1 operates than
* Quotes from the documentation added to the source as well
* Started DS5002FP integration
2008-10-31 22:49:33 +00:00
stephh
4791a80745 Fixed Dip Switches for 'gyruss' and clones. 2008-10-31 22:14:29 +00:00
davidhay
5646489864 continued 32x changes. 2008-10-31 08:33:03 +00:00
Roberto Fresca
6f714af5a7 Minor tech notes correction. 2008-10-31 06:12:51 +00:00
Roberto Fresca
aaa8405a51 Improvements to re900.c driver [Roberto Fresca, Grull Osgo]
- Reworked inputs to allow 6 players through a selector.
 - Hooked all lamps (even the ball simulator array).
 - Added a internal layout and support for external artwork.
 - Extended the hardware to support Buena Suerte '94.
 - Cleaned up the driver.


New games added or promoted from NOT_WORKING status
---------------------------------------------------
Buena Suerte '94 [Grull Osgo, Roberto Fresca]
2008-10-31 06:04:36 +00:00