summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2011-08-25 17:20:15 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2011-08-25 17:20:15 +0000
commit0bc39743631815eef31ffe95d4d9a1e002d6f322 (patch)
treebf360c5732f343494bdf0d20ad17849a1bfe3c90 /src/mame/drivers
parentd6e61f8d4641dfb9d2f66b92075179920cf0510e (diff)
Moved 3d drawing functions outside of the screen updating function in Taito Air System driver, this should help in preparation of properly fixing the 3d graphics in it [Angelo Salese]
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/taitoair.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/drivers/taitoair.c b/src/mame/drivers/taitoair.c
index 128508dd4aa..b69cb4d27b5 100644
--- a/src/mame/drivers/taitoair.c
+++ b/src/mame/drivers/taitoair.c
@@ -390,10 +390,11 @@ static ADDRESS_MAP_START( airsys_map, AS_PROGRAM, 16 )
AM_RANGE(0x0c0000, 0x0cffff) AM_RAM AM_BASE_MEMBER(taitoair_state, m_m68000_mainram)
AM_RANGE(0x140000, 0x140001) AM_WRITE(system_control_w) /* Pause the TMS32025 */
AM_RANGE(0x180000, 0x187fff) AM_RAM_WRITE(airsys_gradram_w) AM_BASE_MEMBER(taitoair_state, m_gradram) /* "gradiation ram (0/1)" */
- AM_RANGE(0x188000, 0x18bfff) AM_RAM_WRITE(airsys_paletteram16_w) AM_BASE_MEMBER(taitoair_state, m_paletteram)
+ AM_RANGE(0x188000, 0x189fff) AM_MIRROR(0x2000) AM_RAM_WRITE(airsys_paletteram16_w) AM_BASE_MEMBER(taitoair_state, m_paletteram)
AM_RANGE(0x800000, 0x820fff) AM_DEVREADWRITE("tc0080vco", tc0080vco_word_r, tc0080vco_word_w) /* tilemaps, sprites */
AM_RANGE(0x908000, 0x90ffff) AM_RAM AM_BASE_MEMBER(taitoair_state, m_line_ram) /* "line ram" */
AM_RANGE(0x910000, 0x91ffff) AM_RAM AM_BASE_MEMBER(taitoair_state, m_dsp_ram) /* "dsp common ram" (TMS320C25) */
+ AM_RANGE(0x980000, 0x98000f) AM_RAM AM_BASE_MEMBER(taitoair_state, m_backregs)
AM_RANGE(0xa00000, 0xa00007) AM_READ(stick_input_r)
AM_RANGE(0xa00100, 0xa00107) AM_READ(stick2_input_r)
AM_RANGE(0xa00200, 0xa0020f) AM_DEVREADWRITE8("tc0220ioc", tc0220ioc_r, tc0220ioc_w, 0x00ff) /* other I/O */
@@ -424,6 +425,7 @@ static ADDRESS_MAP_START( DSP_map_program, AS_PROGRAM, 16 )
ADDRESS_MAP_END
static ADDRESS_MAP_START( DSP_map_data, AS_DATA, 16 )
+ AM_RANGE(0x3000, 0x3002) AM_WRITE(dsp_flags_w)
AM_RANGE(0x4000, 0x7fff) AM_READWRITE(lineram_r, lineram_w)
AM_RANGE(0x8000, 0xffff) AM_READWRITE(dspram_r, dspram_w)
ADDRESS_MAP_END
@@ -694,9 +696,11 @@ static MACHINE_CONFIG_START( airsys, taitoair_state )
MCFG_SCREEN_SIZE(64*16, 64*16)
MCFG_SCREEN_VISIBLE_AREA(0*16, 32*16-1, 3*16, 28*16-1)
MCFG_SCREEN_UPDATE(taitoair)
+ MCFG_VIDEO_START(taitoair);
MCFG_GFXDECODE(airsys)
MCFG_PALETTE_LENGTH(512*16+512*16)
+ MCFG_PALETTE_INIT(all_black)
MCFG_TC0080VCO_ADD("tc0080vco", airsys_tc0080vco_intf)