Some minor changes

This commit is contained in:
Angelo Salese 2013-07-12 15:41:40 +00:00
parent 84e555f1a1
commit bfdf6f3ca7
2 changed files with 30 additions and 10 deletions

View File

@ -407,7 +407,7 @@ static ADDRESS_MAP_START( goodejan_map, AS_PROGRAM, 16, goodejan_state )
AM_RANGE(0xc0000, 0xfffff) AM_ROM
ADDRESS_MAP_END
/*totmejan CRT is at 8000-804f,goodejan is at 8040-807f(808f but not tested)*/
/* totmejan CRTC is at 8000-804f,goodejan is at 8000-807f */
static ADDRESS_MAP_START( common_io_map, AS_IO, 16, goodejan_state )
AM_RANGE(0x9000, 0x9001) AM_WRITE(goodejan_gfxbank_w)
AM_RANGE(0xb000, 0xb003) AM_WRITENOP

View File

@ -55,27 +55,48 @@ preliminary memory map:
List of default vregs (title screen):
*Sengoku Mahjong:
8000: 000F 0013 009F 00BF 00FA 000F 00FA 00FF
8000: 000F 0013 009F 00BF 00FA 000F 00FA 00FF (320 x 240 -> 16 - 256 V res)
8010: 007D 0006 0000 0002 0000 0000 0000 0000
8020: 0000 0000 0004 0000 0000 0000 0040 01FF
8030: 003E 01FF 003F 01FF 0040 0001 0034 0035
8040: 0000 A8A8 0003 1C37 0001 0000 0000 0000
*Tottemo de Jong
8000: 000F 000F 009F 00BF 00FA 000F 00FA 00FF
*Tottemo E Jong
8000: 000F 000F 009F 00BF 00FA 000F 00FA 00FF (256 x 224 -> 16 - 240 V res)
8010: 0076 0006 0000 0002 0000 0002 0006 0000
8020: 0000 0000 0000 0000 0000 0000 01C0 01FF
8030: 003E 01FF 003F 01FF 00C0 01FF 0034 003F
8040: 0000 A8A8 0003 1830 0001 0000 0000 0000
*Good e Jong
8040: 000F 000F 009F 00BF 00FA 000F 00FA 00FF
*Good E Jong
8040: 000F 000F 009F 00BF 00FA 000F 00FA 00FF (256 x 224 -> 16 - 240 v res)
8050: 0076 0006 0000 0002 0000 0002 0006 0000
8060: 0000 00FA 0000 0000 0000 0000 01C0 01FF
8070: 003E 01FF 003F 01FF 00C0 01FF 0034 003F
8080: 0000 0000 0000 0000 0000 0000 0000 0000
8000: 0000 A8A8 0003 1830 0001 0000 0000 0000
*SD Gundam Sangokushi Rainbow Tairiku Senki (320 x 224 normal, @ service mode)
*Raiden (256 x 224 -> 16 - 240 V res)
0D040: 000F 000F 00B2 00D7 00FB 000F 00FC 00FF
0D050: 0076 0006 0000 0002 0000 0002 0000 0000
0D060: 0000 0000 0000 0000 0000 0000 01D8 0000
0D070: 01DA 0000 003F 01FF 00C0 0000 0034 0025
0D080: 0000 A8A8 0003 1830 0001 0000 0000 0000
*SD Gundam Psycho Salamander no Kyoui (320 x 224 -> 0 - 224 v res)
0C0000: 000F 0013 009F 00BF 00FA 000F 00FA 00FF
0C0010: 0076 0006 0000 0002 0000 0000 0000 0000
0C0020: 0000 0000 0000 0000 0000 0000 0040 01FF
0C0030: 0040 01FF 0040 01FF 0040 01FF 0034 003F
0C0040: 0000 A8A8 0003 1C37 0009 0000 0000 0000
*D-Con (320 x 224 -> 0 - 224 v res)
0C0000: 000F 0013 009F 00BF 00FA 000F 00FA 00FF
0C0010: 0076 0006 0000 0002 0000 0000 0000 0000
0C0020: 0000 0000 0000 0000 0000 0000 FFC0 FFEF
0C0030: FFC2 FFEF FFC1 FFEF FFC0 FFEF 0034 003F
0C0040: 0000 A8A8 0013 1C37 0009 0000 0000 0000
*SD Gundam Sangokushi Rainbow Tairiku Senki (320 x 224 normal -> 16 - 240 v res, @ service mode)
100600: 000F 0013 00A7 00C7 00E0 000F 00E7 00F3
100610: 007E 01FE 0000 0002 0000 0000 0017 0000
100620: 0000 0000 0000 0000 0000 0000 01C8 01FF
@ -135,7 +156,7 @@ const device_type SEIBU_CRTC = &device_creator<seibu_crtc_device>;
static ADDRESS_MAP_START( seibu_crtc_vregs, AS_0, 16, seibu_crtc_device )
AM_RANGE(0x001c, 0x001d) AM_WRITE(layer_en_w)
AM_RANGE(0x0020, 0x002b) AM_WRITE(layer_scroll_w)
AM_RANGE(0x0000, 0x004f) AM_RAM
AM_RANGE(0x0000, 0x004f) AM_RAM // debug
ADDRESS_MAP_END
WRITE16_MEMBER( seibu_crtc_device::layer_en_w)
@ -150,7 +171,6 @@ WRITE16_MEMBER( seibu_crtc_device::layer_scroll_w)
m_layer_scroll_func(offset,data,mem_mask);
}
//**************************************************************************
// LIVE DEVICE
//**************************************************************************