Commit Graph

7976 Commits

Author SHA1 Message Date
Couriersud
10bee5ce78 The return of the "misc"
- Added sdlmisc_<targetos>.c again. This was necessary since
  certain tools create stubs for e.g. osd_break_into_debugger.
  If we do not have this in a separate file, the link stage may
  break.
- Applied OS/2 patch [Credit: KO Myung-Hun]
- Cleaned up #includes. Removed stdlib.h were possible.
- More malloc to osd_malloc rename.
- SDL monitor modes are read now when they are needed. This is now consistent across platforms.
2010-01-21 22:54:49 +00:00
Couriersud
a63d3b5de4 malloc ==> osd_malloc, free ==> osd_free 2010-01-21 20:12:33 +00:00
Curt Coder
b05bd546aa CIA 6526: Fixed serial port transfer. 2010-01-21 18:30:50 +00:00
Andrew Gardner
83e4bf73d8 hng64 : Partially decodes translation-only geometry type 0102 [Andrew Gardner]
This makes the road appear in the racing games, the edge of the ring in buriki, and
a hallway during the buriki attract.
2010-01-21 16:37:19 +00:00
Phil Bennett
5238b7944b Replaced drgninja set with one dumped from a genuine Data East PCB [dlfrsilver]
Added MEC-M1 PCB layout to the dec0 driver and updated some clocks and ROM names [Guru]
2010-01-21 10:57:44 +00:00
Aaron Giles
771a8b4ecc Whoops, typo. 2010-01-21 06:21:26 +00:00
Aaron Giles
1a2c20441f Remove some aliases between CPUINFO_ and DEVINFO_ to help clarify
usage.

Also converted a few more places to use the new accessors.
2010-01-21 06:05:57 +00:00
Aaron Giles
a5668c2eb9 Made direct accessors for device configuration state. Currently they
just call through to the get info function. Removed old macros that
wrapped calls.
2010-01-21 03:56:53 +00:00
Scott Stone
c12ffe8e5f naomi.c - Fixed gamenames to match title screen for a couple sets. No whatsnew needed 2010-01-21 03:30:15 +00:00
mariuszw1
8683a494e9 New games marked as NOT_WORKING
-------------------------------
Penguin Adventure (bootleg) [Mariusz Wojcieszek]

Game is playable, but coin system is missing, so I left NOT_WORKING flag.
2010-01-20 22:15:23 +00:00
Couriersud
8611469df7 Fix a typo 2010-01-20 17:37:23 +00:00
Aaron Giles
c6cd01a95d Make an actual enum type for endianness. 2010-01-20 17:24:42 +00:00
Miodrag Milanovic
87e0102733 Fixed listmedia dependent code (no whatsnew needed) 2010-01-20 15:29:00 +00:00
Curt Coder
aa31b23824 CIA 6526: fixed serial transfer 2010-01-20 13:55:42 +00:00
Phil Bennett
8faa7d02ae Fixed a typo in pgm.c that was causing a memory test error and corrected some comments [XingXing]
---------- Forwarded message ----------
From: Lei Wu <lanewu@hotmail.com>
Date: Mon, Jan 18, 2010 at 8:28 AM
Subject: pgm update [XingXing]
To: submit@mamedev.org


-fixed a typo in pgm.c that caused memory test error
-corrected comments
2010-01-20 13:02:48 +00:00
Phil Bennett
f6f342c06b Speed up triangle rasterisation 2010-01-20 09:47:04 +00:00
Aaron Giles
093637cc29 Exit from the unhandled exception filter cleanly now.
Use SetErrorMode() to disable the appearance of dialog boxes
when crashes occur.
2010-01-20 06:59:01 +00:00
Aaron Giles
d53b15ac67 Fix ddenlovr crashes due to querying config_ints instead of runtime_ints. 2010-01-20 06:40:09 +00:00
Aaron Giles
e88d57494d Replace bank installs with RAM installs, since the banks were never changed. 2010-01-20 06:39:47 +00:00
Aaron Giles
392f02e3ff Fix bug that mistook a non-NULL token to mean that a device was started.
Fixes -video ddraw issue.
2010-01-20 06:11:44 +00:00
Aaron Giles
9dd322ab7f Mark these virtual before I forget and later waste time debugging it. 2010-01-20 03:42:17 +00:00
Aaron Giles
4aa2483e57 Attempt to fix OS X debugger. 2010-01-20 03:41:48 +00:00
Couriersud
6815e7cf8f It's late, last fix for today to avoid introducing new ones. 2010-01-20 01:32:08 +00:00
Couriersud
eb9ed61a68 OpenBSD support in makefile/sdl.mak
Fix XBSD detection of PTR64 (uses amd64)
Cosmetic change to sdlprefix.h
2010-01-20 01:18:35 +00:00
Couriersud
0328f34acb Autodetection of PTR64 can be inhibited now by specifying PTR64=0.
On mixed 32bit/64bit targets identifying themselves as 64bit this can be used to build a 32bit executable.
2010-01-19 22:09:45 +00:00
Couriersud
98b6824982 sdl.mak updates
- On targets supporting "-m64" and "-m32" use them.
- On unix ppc targets, add -Dpowerpc automatically
2010-01-19 21:58:26 +00:00
Couriersud
d991c43b73 Add OS/2 autodetect to makefile 2010-01-19 21:53:06 +00:00
Miodrag Milanovic
50b784c99e pool.c calls renamed so they can me used by MAMEUI and MESS (no whatsnew needed) 2010-01-19 15:42:30 +00:00
Aaron Giles
409add88bb Convrted the rest of devintrf to classes and moved management
functions into methods of those classes. The most wide-ranging
change was converting device_reset() to device->reset(). Apart
from that it was mostly internal shuffling in the core.
2010-01-19 15:08:18 +00:00
Fabio Priuli
576dfd4d9d Added back the hook to -listmedia option used by MESS 2010-01-19 14:37:52 +00:00
Curt Coder
2244f9274d Refactored the CIA 6526 interface, adding SP/CNT callbacks. 2010-01-19 14:26:51 +00:00
Scott Stone
c6c534dbb6 Minor documentation change. No whatsnew needed. 2010-01-19 14:20:11 +00:00
Curt Coder
22f672af59 Fixed compilation error. 2010-01-19 14:14:59 +00:00
Curt Coder
6ff116e204 Added Guru(TM)-readme. 2010-01-19 13:42:19 +00:00
Miodrag Milanovic
04875f17b7 - Added MESS dependent code missing in emu.h
- Fixed compiling CPU core of V30MZ (only used by MESS)
- Fixed MESS dependent code of wave.c
- Added include of emu.h in sid (used only by MESS)

no whatsnew needed
2010-01-19 13:00:22 +00:00
Phil Bennett
e635ab33e3 New games added or promoted from NOT_WORKING
--------------------------------------------
Versus Net Soccer (5 sets) [David Haywood]



--------------------------------------------

Date: Mon, 18 Jan 2010 20:33:36 +0000
From: David Haywood <neohaze@nildram.co.uk>
To: Philip Bennett <p.j.bennett@gmail.com>
Subject: Vs. Net Soccer improvements part 2

with this I think it works well enough to mark as working.

Sound is still bad, and the Roz layer doesn't wrap properly, and the 
sprite DMA timing needs work which currently causes some one frame 
errors, but those don't really impact the playability so imperfect sound 
/ graphics flags are best at this point.
2010-01-19 11:00:58 +00:00
Andrew Gardner
32bad734d7 hng64 : Reverted tilemap enable bit implementation. [Andrew Gardner]
(It might be partially correct, so i left the comments.)
2010-01-19 06:11:33 +00:00
Andrew Gardner
7542f6019c hng64 : Hooked up a potential tilemap enable bit.
Patched out a segfault caused by a poorly-drawn triangle in bbust2.  [Andrew Gardner]
2010-01-19 05:35:07 +00:00
Couriersud
81e85ffd7a Bring sdl in line with windows 2010-01-18 23:55:14 +00:00
Jim Stolis
dd6f5fb5bb New games added or promoted from NOT_WORKING
--------------------------------------------
Fortune I (PK485-S) Draw Poker [Jim Stolis]

(Personal note: I believe this should actually become the parent set of the driver based on the history of the companies involved, but left it for now.)
2010-01-18 22:10:41 +00:00
Aaron Giles
ba36521102 Fix compile error. 2010-01-18 19:51:30 +00:00
Wilbert Pol
5acbd72623 Fix warning 2010-01-18 18:07:25 +00:00
Aaron Giles
6c47c80e04 Fix bug where memory regions were not properly enumerated for the
memory view.

Also, stop creating empty regions for disk regions.
2010-01-18 17:34:04 +00:00
Aaron Giles
bfc69c877f Fix bug introduced with astring changes that caused malformed tokens
when writing out cfg files.
2010-01-18 17:01:31 +00:00
Paul Priest
c080374784 Remove debug trace. Update comments and document some more video registers. No whatsnew. 2010-01-18 13:53:20 +00:00
Aaron Giles
e738b79785 Correct a long-standing design flaw: device configuration state
is now separate from runtime device state. I have larger plans
for devices, so there is some temporary scaffolding to hold
everything together, but this first step does separate things
out.

There is a new class 'running_device' which represents the
state of a live device. A list of these running_devices sits
in machine->devicelist and is created when a running_machine
is instantiated.

To access the configuration state, use device->baseconfig()
which returns a reference to the configuration.

The list of running_devices in machine->devicelist has a 1:1
correspondance with the list of device configurations in
machine->config->devicelist, and most navigation options work
equally on either (scanning by class, type, etc.)

For the most part, drivers will now deal with running_device
objects instead of const device_config objects. In fact, in
order to do this patch, I did the following global search &
replace:

  const device_config -> running_device
  device->static_config -> device->baseconfig().static_config
  device->inline_config -> device->baseconfig().inline_config

and then fixed up the compiler errors that fell out.

Some specifics:

  Removed device_get_info_* functions and replaced them with
  methods called get_config_*.
  
  Added methods for get_runtime_* to access runtime state from
  the running_device.
  
  DEVICE_GET_INFO callbacks are only passed a device_config *.
  This means they have no access to the token or runtime state
  at all. For most cases this is fine.
  
  Added new DEVICE_GET_RUNTIME_INFO callback that is passed
  the running_device for accessing data that is live at runtime.
  In the future this will go away to make room for a cleaner
  mechanism.
  
  Cleaned up the handoff of memory regions from the memory
  subsystem to the devices.
2010-01-18 09:34:43 +00:00
Andrew Gardner
3f87f47a2e hng64 : Implemented low-res texture decoding. All red/green polygons should now be textured. [Andrew Gardner]
(It looks like my half-res UVs are a pixel or two off and the palette's wrong for most of these objects.
 There must be a bit somewhere that says what size of the polygon's palette.
 I believe the reason roadedge still has the wrong colors is due to not having found this bit yet.)
2010-01-18 03:58:27 +00:00
Paul Priest
d526ebe24f psikyosh - virtually completed video rendering. Only flipscreen missing (and conversion to tilemaps one day).
Per-line effects now respect per-line alpha, priority and bank. As a result daraku text works without any hacks.
Added various optimisations to get back all games to a playable speed.
Fixed missing soldivid effect on final boss that was broken due to above daraku hack. [PsikyoFan]
2010-01-18 00:41:23 +00:00
Phil Bennett
1227bbfd0c Converted the following drivers to use a driver_data structure: [Atari Ace]
bigstrkb, mugsmash, pass, sbugger, sderby, shadfrce, shootout,
silkroad, spbactn, sslam, stlforce, taitojc, tunhunt,
welltris, wwfsstar, xyonix


---------- Forwarded message ----------
From: Atari Ace <atari_ace@verizon.net>
Date: Fri, Jan 15, 2010 at 4:21 PM
Subject: [patch] [resubmit] More driver_data conversions
To: submit@mamedev.org
Cc: atariace@hotmail.com


Another driver_data patch, this one converting the following drivers
(same as last submission, minus taitoair):

bigstrkb, mugsmash, pass, sbugger, sderby, shadfrce, shootout,
silkroad, spbactn, sslam, stlforce, taitojc, tunhunt,
welltris, wwfsstar, xyonix

~aa
2010-01-17 21:56:15 +00:00
Phil Bennett
637ec4ede0 Improved vsnet sprite/roz alignment [David Haywood] 2010-01-17 20:50:59 +00:00