diff --git a/src/mame/drivers/konamigx.cpp b/src/mame/drivers/konamigx.cpp index a7f30ac65d6..8e53ae13c7f 100644 --- a/src/mame/drivers/konamigx.cpp +++ b/src/mame/drivers/konamigx.cpp @@ -174,7 +174,7 @@ 00000006 000e0002 002e0080 - - Sexy Parodius: sets up p1 as 2 at start of stage 1. Related to missing snow? + - Sexy Parodius: sets up p1 as 2 at start of stage 1, 4 during stage 3A (attract mode), p4 is autoincremented at each gameplay frame. Related to missing effects? */ static struct sprite_entry { @@ -336,6 +336,19 @@ void konamigx_state::sal2_esc(address_space &space, UINT32 p1, UINT32 p2, UINT32 void konamigx_state::sexyparo_esc(address_space &space, UINT32 p1, UINT32 p2, UINT32 p3, UINT32 p4) { // The d20000 should probably be p3 + // TODO: debugging bootcamp, remove once finished + if(p1 != 0) + { + static bool shorter_debug_msg; + + if(machine().input().code_pressed_once(KEYCODE_L)) + shorter_debug_msg = true; + + if(shorter_debug_msg == true) + popmessage("%02x",p1); + else + popmessage("%02x P1 param detected, please drop a note at MAMETesters #06035, press L if you understood and make this message shorter",p1); + } generate_sprites(space, 0xc00604, 0xd20000, 0xfc); } @@ -973,7 +986,8 @@ static ADDRESS_MAP_START( gx_base_memmap, AS_PROGRAM, 32, konamigx_state ) AM_RANGE(0xc00000, 0xc1ffff) AM_RAM AM_SHARE("workram") AM_RANGE(0xd00000, 0xd01fff) AM_DEVREAD("k056832", k056832_device, k_5bpp_rom_long_r) AM_RANGE(0xd20000, 0xd20fff) AM_DEVREADWRITE16("k055673", k055673_device, k053247_word_r, k053247_word_w, 0xffffffff) - AM_RANGE(0xd21000, 0xd21fff) AM_RAM // second bank of sprite RAM + AM_RANGE(0xd21000, 0xd21fff) AM_RAM // second bank of sprite RAM, accessed thru ESC + AM_RANGE(0xd22000, 0xd23fff) AM_RAM // extra bank checked at least by sexyparo, pending further investigation. AM_RANGE(0xd40000, 0xd4003f) AM_DEVWRITE("k056832", k056832_device, long_w) AM_RANGE(0xd44000, 0xd4400f) AM_WRITE(konamigx_tilebank_w) AM_RANGE(0xd48000, 0xd48007) AM_DEVWRITE16("k055673", k055673_device, k053246_word_w, 0xffffffff)