Commit Graph

7798 Commits

Author SHA1 Message Date
R. Belmont
6ec1f9c3a4 Missed another one (no whatsnew) 2010-01-16 18:58:37 +00:00
R. Belmont
c1acc8696e One more PPC GCC fix that I missed committing. (no whatsnew) 2010-01-16 18:54:33 +00:00
Angelo Salese
6cfacff97b Some minor improvements 2010-01-16 18:35:35 +00:00
Angelo Salese
a7ede53591 Fixed sprite height 2010-01-16 17:03:47 +00:00
Paul Priest
e6c8cc813d More likely implementation for line zoom in psikyosh. No whatsnew. 2010-01-16 16:36:56 +00:00
Paul Priest
5ba7e63961 Add support for per-scanline scroll/zoom and per-column effects. This is adds a significant performance penalty when enabled. Removed warning flag from s1945ii and s1945iii. s1945iii needs confirmation of correctness and x-zoom is a guess. [PsikyoFan]
This can be seen on:
* s1945ii level 7 intro, level 8 boss. (Hold PL1 Button 1 which hitting F2 for stage select).
* s1945iii level 7 intro, level 7 main, level 8 intro, level 8 boss (Enter "8-1-6-5-0" as code in test mode for stage select).

Note that this is slow. Suggestions for speeding it up are welcome.
Rendering each tilemap to an ARGB bitmap, including applying the per-pen or fixed alpha.
Extracting an entire scanline from the bitmap, transforming it and then blending the ARGB scanline.
Obvious optimisations for transparency and fixed alpha in place.

Alternative is to just try and draw with drawgfx directly and fiddle with cliprects, but zooming makes that impossible to get nice without fudging the scaling/positioning slightly and unlikely to be faster.

Hack for daraku is still there, working to get rid of it. Aside from above and MT03663 games are now believed to be pixel-perfect.
2010-01-16 16:18:33 +00:00
Angelo Salese
84b096a805 Redumped sound roms in Cyber Tank [Antonio Gonzalez Jr., Dumping Union] 2010-01-16 16:14:28 +00:00
Scott Stone
d827ebbfe0 crimfght.c - Correct Manufacturer Copy/Paste error (no whatsnew needed) 2010-01-16 16:08:26 +00:00
R. Belmont
cfa1a02096 Add SDLMAME keymaps (no whatsnew) 2010-01-16 14:40:50 +00:00
Couriersud
feb8630108 Autotest for BIGENDIAN. A bit hacked, though. 2010-01-16 13:02:03 +00:00
Aaron Giles
98c015372e Fix memory allocation issue in debug builds. 2010-01-16 11:57:58 +00:00
Phil Bennett
df5863a2d6 Replaced vsnetscr GFX ROMs with correct dumps [Team Japump, Dumping Union] 2010-01-16 11:34:22 +00:00
Phil Bennett
5758be57e9 New games marked as GAME_NOT_WORKING
------------------------------------
King Tut (Australia) [David Haywood]
Money Bank (Australia) [David Haywood]
2010-01-16 11:30:32 +00:00
Aaron Giles
1c38c3eb87 Fix SDL Win32 build to build as unicode. 2010-01-16 05:55:15 +00:00
R. Belmont
c6d4f5faa8 YM2612: More accurate LFO implementation and channel clipping [Eke-Eke, Nemesis, R. Belmont] 2010-01-16 05:01:55 +00:00
Aaron Giles
f373246c42 Fix PTR64 autodetect for Windows 2010-01-16 04:40:55 +00:00
Aaron Giles
aebc07a897 Cleanups and version bump. 2010-01-16 04:12:04 +00:00
Couriersud
f6c832ea90 - testkeys now builds again
- for unix targets, added a depend rule to sdl.mak which builds a .depend file.
2010-01-16 02:20:45 +00:00
Aaron Giles
d35a800134 Added casting operators to the region_info class so you can assign
a region to a generic type pointer and have it automatically convert.
Also added a bytes() method which is safe if the region is NULL
(useful for saying machine->region("foo")->bytes() and not crashing
if foo doesn't exist).

Changed the region field in the device_config to be a region_info *,
and removed the regionbytes field. Updated all users of these fields
to use the new casting operators and bytes() methods instead.

Added subdevice and subregion methods to the device_config class, so
you can easily query for devices and regions that are device-specific.
The device prefix ("devicename:") is automatically prepended.
2010-01-16 00:53:57 +00:00
R. Belmont
51fd1fa822 More PPC GCC warning fixes. 2010-01-15 23:48:40 +00:00
Aaron Giles
971151c8d7 Cheesy autodetect for PTR64 on Windows using standard build tools. 2010-01-15 23:42:49 +00:00
Couriersud
2a0dcc679e Cosmetic changes, no credit 2010-01-15 23:28:30 +00:00
R. Belmont
64c285cf17 More PPC GCC warning fixes. 2010-01-15 23:18:08 +00:00
R. Belmont
c874aa7c85 More fixes for PowerPC GCC (the konamiic ones are actual errors!) 2010-01-15 22:53:58 +00:00
R. Belmont
e4094a6d34 Fix for PowerPC OS X targets. 2010-01-15 22:38:39 +00:00
Couriersud
25b0e97ca1 - Fix TARGETOS detection on OS X.
- Do not try to check TARGETOS when cross-compiling
- For non-windows targets, try to auto-detect PTR64
2010-01-15 22:05:00 +00:00
Jonathan Gevaryahu
4b257e2c66 Fixed period for both sn76489 and sn76489A periodic noise; fixes pitch in 'smooth criminal' demo for colecovision and fixes pitch (but not the waveform, which will require more work) of music in dorunrun; More work is required before the code will be bit accurate due to the way the real LFSR and periodic generator work. [Lord Nightmare, Kold666, PlgDavid] 2010-01-15 21:31:39 +00:00
Couriersud
b998026736 SDLMAME: add BGRA support to -video soft 2010-01-15 21:13:12 +00:00
R. Belmont
9ba62e6bce SDLMAME: improved OS X and SDL 1.3 SVN support, try to autodetect SDLMAME targets [Couriersud] 2010-01-15 21:05:29 +00:00
Dirk Best
3997330a94 i386: Improved accuracy of the various emulated models, makes CPU detection programs detect the correct CPU (in MESS).
- eflags mask added
- Initial values for the EAX and EDX registers fixed
- cpuid values improved
- feature flags improved
- initial value for the cr0 register improved
- changed 486 to not support the cpuid instruction by default
- take a trap on invalid instructions instead of throwing a fatalerror
- emulated the undefined flag behavior for the DIV/IDIV instructions on Intel CPUs
2010-01-15 18:54:23 +00:00
Andrew Gardner
43ce0bbbd1 hng64 : Unified dynamic & explicit palette code. Buriki door is correct now. [Andrew Gardner]
(This seems to work in all cases so far.  It's amazing what a night of sleep will do for ya!)
2010-01-15 16:01:18 +00:00
Andrew Gardner
6351185bd8 hng64 : Makes a palette similarity explicit (no whatsnew needed) 2010-01-15 01:26:25 +00:00
Andrew Gardner
2a5eb70da3 hng64 : Found the 'explicit palette' word in bbust2. Colors are now correct.
Implemented what looks like a 'dynamic palette' bit.  Fixes the colors in sams64 games, 
        but not roadedge or buriki.  [Andrew Gardner]
2010-01-15 00:52:06 +00:00
Angelo Salese
87f6881308 Yet more improvements 2010-01-15 00:02:26 +00:00
Angelo Salese
51b6d19088 More improvements 2010-01-14 23:18:06 +00:00
Couriersud
997a17cc2d Changed all CFLAGS to CCOMFLAGS to be consistent to what windows.mak does 2010-01-14 22:53:04 +00:00
Angelo Salese
3fb01925f6 Added video boundary checks for the blitter 2010-01-14 22:20:19 +00:00
Angelo Salese
1ceb85b680 More improvements, probably needs references ... 2010-01-14 22:08:27 +00:00
Angelo Salese
1e3b9f4bc8 Improved the blitter in Cyber Tank 2010-01-14 20:43:37 +00:00
Phil Bennett
d75d626a43 00660: zoar: The cabinet UPRIGHT dipswitch is not working. [stephh] 2010-01-14 17:31:48 +00:00
Phil Bennett
70c05ee5b2 Verified clocks on Poker Ladies and changed Z80 clock of Mahjong Gakuen from 6Mhz to 8MHz to match the other
Mitchell hardware games [Corrado Tomaselli]
2010-01-14 17:29:50 +00:00
Paul Priest
d8e4571161 Add lots of comments relating to 56-pin Mahjong interface and Psikyo SK-G001 interface pcb based on discussion with alien_mame and documents from other Mahjong PCBs. 2010-01-14 13:52:01 +00:00
Ryan Holtz
8d183da738 Added a mostly-complete SunPlus u'nSP core based on the one in Segher's "Unununium". [Harmony] 2010-01-14 05:35:34 +00:00
Angelo Salese
8c013355f7 Written bare-bones video emulation for the Cyber Tank sprite chip / blitter 2010-01-14 00:02:55 +00:00
Brian Troha
1cac84bddf verified more rom names for the merit.c driver 2010-01-13 22:03:44 +00:00
Aaron Giles
4169b811db Makefile changes:
1. If OSD is not defined, we look for the built-in Windows
environment variable 'OS' and if it is set to 'Windows_NT',
we assume OSD=windows; otherwise we assume OSD=sdl.

2. If TARGETOS is not defined, we look for the same variable
and set TARGETOS=win32 if it is set to 'Windows_NT'.

3. Windows SDL builds have an 'sdl' prefix on the executable
so they can live side-by-side.

The upshot of this is that on Windows systems:

make -> standard Windows build producing mame.exe
make OSD=sdl -> SDL Windows builds producing sdlmame.exe

On non-Windows systems:

make -> SDL build by default (don't need to say OSD=sdl)
2010-01-13 16:27:27 +00:00
R. Belmont
b53bb2c6ac SDLMAME initial import [R. Belmont, Couriersud] 2010-01-13 04:01:20 +00:00
R. Belmont
f8b28bd2f1 Merge makefile with outstanding SDLMAME changes (no whatsnew)
This turns off -Werror on a few OSes and fixes multithreaded version.c building.
2010-01-13 03:49:37 +00:00
Paul Priest
84352b22f3 MT03233: Fix multisession crash in SE3208 affecting crystal.c [anonymous] 2010-01-12 21:26:20 +00:00
Angelo Salese
0b9568ad1c redumped sprite roms [Antonio Gonzalez Jr, The Dumping Union] 2010-01-12 20:59:50 +00:00