trunk/src/mame/drivers/stv.c
| r25382 | r25383 | |
| 1 | | /************************************************************************ |
| 1 | /************************************************************************************************************************ |
| 2 | 2 | |
| 3 | 3 | stv.c |
| 4 | 4 | |
| r25382 | r25383 | |
| 7 | 7 | |
| 8 | 8 | TODO: |
| 9 | 9 | - clean this up! |
| 10 | - Properly emulate the protection chips, used by several games (check stvprot.c for more info) |
| 10 | 11 | |
| 11 | | ************************************************************************/ |
| 12 | (per-game issues) |
| 13 | - stress: accesses the Sound Memory Expansion Area (0x05a80000-0x05afffff), unknown purpose; |
| 12 | 14 | |
| 15 | - smleague / finlarch: it randomly hangs / crashes,it works if you use a ridiculous MCFG_INTERLEAVE number,might need strict |
| 16 | SH-2 synching or it's actually a m68k comms issue. |
| 17 | |
| 18 | - groovef: ugly back screen color, caused by incorrect usage of the Color Calculation function. |
| 19 | |
| 20 | - myfairld: Apparently this game gives a black screen (either test mode and in-game mode),but let it wait for about |
| 21 | 10 seconds and the game will load everything. This is because of a hellishly slow m68k sub-routine located at 54c2. |
| 22 | Likely to not be a bug but an in-game design issue. |
| 23 | |
| 24 | - danchih / danchiq: currently hangs randomly (regression). |
| 25 | |
| 26 | - batmanfr: Missing sound,caused by an extra ADSP chip which is on the cart.The CPU is a |
| 27 | ADSP-2181,and it's the same used by NBA Jam Extreme (ZN game). |
| 28 | |
| 29 | - vfremix: when you play as Akira, there is a problem with third match: game doesn't upload all textures |
| 30 | and tiles and doesn't enable display, although gameplay is normal - wait a while to get back |
| 31 | to title screen after losing a match |
| 32 | |
| 33 | - vfremix: various problems with SCU DSP: Jeffry causes a black screen hang. Akira's kick sometimes |
| 34 | sends the opponent out of the ring from whatever position. |
| 35 | |
| 36 | ************************************************************************************************************************/ |
| 37 | |
| 13 | 38 | #include "emu.h" |
| 14 | 39 | #include "cpu/sh2/sh2.h" |
| 15 | 40 | #include "cpu/m68000/m68000.h" |
trunk/src/mess/drivers/saturn.c
| r25382 | r25383 | |
| 26 | 26 | - Add the RS232c interface (serial port), needed by fhboxers (accesses some ports in the a-bus dummy range). |
| 27 | 27 | - Video emulation is nowhere near perfection. |
| 28 | 28 | - Reimplement the idle skip if possible. |
| 29 | | - Properly emulate the protection chips, used by several games (check stvprot.c for more info) |
| 30 | 29 | - Move SCU device into its respective file; |
| 31 | | - Split ST-V and Saturn files properly; |
| 32 | 30 | |
| 33 | | (per-game issues) |
| 34 | | - stress: accesses the Sound Memory Expansion Area (0x05a80000-0x05afffff), unknown purpose; |
| 31 | test1f diagnostic hacks: |
| 32 | "chash parge error" test 0x6035d04 <- 0x0009 (nop the button check) |
| 33 | "chase line pearg" test 0x6036964 <- 0x0009 (nop the button check again) |
| 35 | 34 | |
| 36 | | - smleague / finlarch: it randomly hangs / crashes,it works if you use a ridiculous MCFG_INTERLEAVE number,might need strict |
| 37 | | SH-2 synching or it's actually a m68k comms issue. |
| 38 | | |
| 39 | | - groovef: ugly back screen color, caused by incorrect usage of the Color Calculation function. |
| 40 | | |
| 41 | | - myfairld: Apparently this game gives a black screen (either test mode and in-game mode),but let it wait for about |
| 42 | | 10 seconds and the game will load everything. This is because of a hellishly slow m68k sub-routine located at 54c2. |
| 43 | | Likely to not be a bug but an in-game design issue. |
| 44 | | |
| 45 | | - danchih / danchiq: currently hangs randomly (regression). |
| 46 | | |
| 47 | | - batmanfr: Missing sound,caused by an extra ADSP chip which is on the cart.The CPU is a |
| 48 | | ADSP-2181,and it's the same used by NBA Jam Extreme (ZN game). |
| 49 | | |
| 50 | | - vfremix: when you play as Akira, there is a problem with third match: game doesn't upload all textures |
| 51 | | and tiles and doesn't enable display, although gameplay is normal - wait a while to get back |
| 52 | | to title screen after losing a match |
| 53 | | |
| 54 | | - vfremix: various problems with SCU DSP: Jeffry causes a black screen hang. Akira's kick sometimes |
| 55 | | sends the opponent out of the ring from whatever position. |
| 56 | | |
| 57 | | |
| 58 | 35 | ****************************************************************************************************/ |
| 59 | 36 | |
| 60 | 37 | #include "emu.h" |
| r25382 | r25383 | |
| 170 | 147 | } |
| 171 | 148 | |
| 172 | 149 | static ADDRESS_MAP_START( saturn_mem, AS_PROGRAM, 32, sat_console_state ) |
| 173 | | AM_RANGE(0x00000000, 0x0007ffff) AM_ROM AM_SHARE("share6") // bios |
| 150 | AM_RANGE(0x00000000, 0x0007ffff) AM_ROM AM_SHARE("share6") AM_WRITENOP // bios |
| 174 | 151 | AM_RANGE(0x00100000, 0x0010007f) AM_READWRITE8(saturn_SMPC_r, saturn_SMPC_w,0xffffffff) |
| 175 | 152 | AM_RANGE(0x00180000, 0x0018ffff) AM_READWRITE8(saturn_backupram_r, saturn_backupram_w,0xffffffff) AM_SHARE("share1") |
| 176 | 153 | AM_RANGE(0x00200000, 0x002fffff) AM_RAM AM_MIRROR(0x20100000) AM_SHARE("workram_l") |
| r25382 | r25383 | |
| 198 | 175 | // AM_RANGE(0x22000000, 0x24ffffff) AM_ROM // Cartridge area mirror |
| 199 | 176 | AM_RANGE(0x45000000, 0x46ffffff) AM_WRITENOP |
| 200 | 177 | AM_RANGE(0x60000000, 0x600003ff) AM_WRITENOP // cache address array |
| 201 | | AM_RANGE(0xc0000000, 0xc00007ff) AM_RAM // cache data array, Dragon Ball Z sprites relies on this |
| 178 | AM_RANGE(0xc0000000, 0xc0000fff) AM_RAM // cache data array, Dragon Ball Z sprites relies on this |
| 202 | 179 | ADDRESS_MAP_END |
| 203 | 180 | |
| 204 | 181 | static ADDRESS_MAP_START( sound_mem, AS_PROGRAM, 16, sat_console_state ) |
| r25382 | r25383 | |
| 766 | 743 | MCFG_CPU_ADD("audiocpu", M68000, 11289600) //256 x 44100 Hz = 11.2896 MHz |
| 767 | 744 | MCFG_CPU_PROGRAM_MAP(sound_mem) |
| 768 | 745 | |
| 746 | // SH-1 |
| 747 | |
| 748 | // SMPC MCU, running at 4 MHz (+ custom RTC device that runs at 32.768 KHz) |
| 749 | |
| 769 | 750 | MCFG_MACHINE_START_OVERRIDE(sat_console_state,saturn) |
| 770 | 751 | MCFG_MACHINE_RESET_OVERRIDE(sat_console_state,saturn) |
| 771 | 752 | |