CAESAR Logo

Catalogue of Arcade Emulation Software - the Absolute Reference

Valid XHTML 1.0! Valid CSS!

X-Arcade

X-Arcade

Large CAESAR Logo

cps1.c

0.31 [Paul Leaman]


NOTES:

- 68000 clock speeds are unknown for all games (except where commented in the driver).


VIDEO HARDWARE NOTES:

- Marvel Vs. Capcom: Sometimes currupt gfx are displayed on the 32x32 layer as the screen flashes at the start of super combo moves. The problem seems to be due to tiles being fetched before the first 32x32 tile offset and results in data coming from 16x16 or 8x8 tiles instead.

- SF2: Missing chain in the foreground in Ken's level, and sign in Cun Li's level. Those graphics are in the backmost layer.

- UN Squadron: DOT TEST in service mode shows garbage chars.

- Magic Sword: during attract mode, characters are shown with a black background. There is a background, but the layers are disabled. I think this IS the correct behaviour.

- King of Dragons (World): Distortion effect missing on character description screen during attract mode. The game rapidly toggles on and off the layer enable bit. Again, I think this IS the correct behaviour. The Japan version does the distortion as expected.

- 3wonders: One bad tile at the end of level 1. Writes to output ports 42, 44, 46.

- qad: Layer enable mask incomplete

- wof: In round 8, when the player goes over a bridge, there is a problem with some sprites. When an enemy falls to the floor near the edge of the bridge, parts of it become visible under the bridge.


Bugs:

- Starting in 0.112u3, there is very noticeable static present in the OKI 6295 audio along with a slight decrease in quality, for at least cps1.c games. oki6295static0113u1gre twisty

- cps1 and cps2 games: crash (segmentation fault, or the equivalent on Windows) if you attempt to view graphics page 4 (which shouldn't exist at all--there should only be two sets of 8x8, one set of 16x16 and one set of 32x32) (see Backtrace). cpsgfxpage4_0111red Tafoid / Twisty / AWJ


WIP:

- 0.112u3: MAME Italia forum connected brightness support on the CPS1 board (not just CPS2) after verifying that the real board does support it.

- 0.109: Input port cleanup and additional comments in the CPS1 driver [steph].

- 0.105u1: David Haywood updated CPS-1 driver to more accurately draw tilemaps, based on evidence from a board with mixed ROMs.



- 0.101u1: Philip Bennett corrected CPS1 frequencies based on measurements from a real PCB. Changed Z80 CPU2 clock speed to 3579545 Hz and YM2151 to 3579545 Hz. And changed 68000 CPU1 clock speed to 12MHz and Z80 CPU2 to 8MHz in games with Q-Sound.

- 0.94u2: Aaron Giles fixed QSound routing in cps1/2.c.

- 0.93u1: Aaron Giles fixed OKI frequency to 7576Hz in the CPS1 games and in the QSound games properly remove the YM2151.

- 0.93: Fixed OKI frequency to 6061 Hz.

- 0.73: Fixed some dipswitches in all games.

- 13th December 2002: Stephane Humbert fixed the inputs in the CPS-1 driver.

- 7th May 2001: Chack'n cleaned up the CPS-1 driver romset definitions a little.

- 21st February 2001: Nicola Salmoria added buffering to the keyboard input code, allowing more than two keypresses at the same time. This fixes Zangief's spin in Street Fighter 2.

- 10th January 2001: Paul Leaman added the necessary modifications to the CPS-1 driver to allow CPS-2 emulation, and he added support for Street Fighter Zero.

- 30th September 2000: Darren Olafson fixed a bug that prevented sf2accp2 from working.

- 0.37b6: Changed palettesize from 2048 to 4096 colors.

- 27th August 2000: Nicola Salmoria perfected the CPS-1 starfield graphics emulation (used in Forgotten World and Strider).

- 21st August 2000: Nicola Salmoria added preliminary starfield emulation to the CPS-1 driver.

- 10th August 2000: Nicola Salmoria fixed the protection bugs in Slam Masters.

- 14th July 2000: Nicola Salmoria fixed some CPS-1 graphics problems.

- 10th July 2000: Nicola Salmoria fixed the protection problems in Slam Masters.

- 5th June 2000: Paul Leaman added Warriors of Fate to the CPS-1 driver.

- 28th December 1999: Paul Leaman removed another kludge from the CPS-1 video driver.

- 27th December 1999: Paul Leaman added protection work-around to Slam Masters and did some other CPS1 fixes.

- 19th November 1999: CAB fixed some sound related things in CPS-1 driver.

- 0.36b12: Changed Z80 CPU2 clock speed to 6MHz.

- 0.36b8: Nicola Salmoria added vh_eof_callback and Bryan McPhail added VIDEO_BUFFERS_SPRITERAM to the MachineDriver structure. See Bionic Commando, Last Duel or other CPS1 games.

- 18th October 1999: Bryan McPhail sent in a general sprite lag fix, helping CPS-1 games at least.

- 0.36b1: Paul Leaman fixed bad tiles in some CPS1 games.

- 8th July 1999: Paul Leaman sent another CPS1 video driver update with all the garbage hopefully gone.

- 3rd July 1999: Paul Leaman fixed several CPS-1 graphics problems such as the missing van in Punisher and some others.

- 30th June 1999: Paul Leaman sent a new CPS-1 driver with stub functions for the Qsound system. It doesn't play anything yet, but simple sample playing shouldn't be far off.

- 0.35RC1: Brian Lewis and Andrea Mazzoleni added new tweaked VGA modes: 384x240 (for CPS1, Pang etc.), 384x256 (for Lode Runner etc.), 336x240 (for Gauntlet and other Atari games), 320x240 (for NeoGeo and others).

- 23rd February 1999: The CPS1 driver should now have mostly correct row scrollings and priorities.

- 0.35b3: CPS1 games are being worked on, they are temporarily slower but accuracy is improved.

- 13th February 1999: More progress on the CPS1 driver. Some of the later CPS1 games utilizing the Q-sound system are now working (such as Cadillacs & Dinosaurs, Punisher and Warriors of Fate), and a few minor bugs have been fixed. No sound though, because the Q-sound roms are encrypted.

- 0.35b2: Paul Leaman added sound fade timer ports in the CPS1 games (see Willow's Test mode for an example) and improved row scrolling in Street Fighter 2, plus several other fixes to the CPS1 games.

- 0.33b7: Aaron Giles added dynamic palette to the CPS1 games.

- 0.33b2: Paul Leaman improved speed in the CPS1 games.

- 0.31: Added cps1.c driver.