trunk/src/mame/drivers/seibuspi.c
| r23956 | r23957 | |
| 51 | 51 | TODO: |
| 52 | 52 | - Improve alpha blending. In Viper Phase 1, see the blue "Viper" logo when on the |
| 53 | 53 | "push 1 or 2 players button" screen. Note that the alpha blended red logo on the |
| 54 | | title screen is tiles(that effect is emulated), this blue logo is sprites. |
| 54 | title screen is tiles(that effect is simulated), this blue logo is sprites. |
| 55 | 55 | The current implementation is a crude hack. |
| 56 | * DMA table? can't find any |
| 57 | * data in transparent pen? nope |
| 58 | * color bit 15? nope |
| 56 | 59 | - not sure if sprite priorities are completely right |
| 57 | 60 | |
| 58 | 61 | */ |
| r23956 | r23957 | |
| 944 | 947 | |
| 945 | 948 | |
| 946 | 949 | static ADDRESS_MAP_START( base_map, AS_PROGRAM, 32, seibuspi_state ) |
| 947 | | // AM_RANGE(0x00000104, 0x00000107) AM_WRITENOP // ? |
| 948 | | // AM_RANGE(0x00000108, 0x0000010b) AM_WRITENOP // ? |
| 949 | 950 | AM_RANGE(0x00000414, 0x00000417) AM_WRITENOP // bg gfx decryption key, see machine/seibuspi.c |
| 950 | 951 | AM_RANGE(0x00000418, 0x0000041b) AM_READWRITE(spi_layer_bank_r, spi_layer_bank_w) |
| 951 | 952 | AM_RANGE(0x0000041c, 0x0000041f) AM_WRITE(spi_layer_enable_w) |
| r23956 | r23957 | |
| 957 | 958 | AM_RANGE(0x00000498, 0x0000049b) AM_WRITENOP // ? dma address high bits? (always writes 0) |
| 958 | 959 | AM_RANGE(0x0000050c, 0x0000050f) AM_WRITE16(sprite_dma_start_w, 0xffff0000) |
| 959 | 960 | AM_RANGE(0x00000524, 0x00000527) AM_WRITENOP // SEI252 sprite decryption key, see machine/spisprit.c |
| 961 | AM_RANGE(0x00000528, 0x0000052b) AM_WRITENOP // SEI252 sprite decryption unknown |
| 960 | 962 | AM_RANGE(0x00000530, 0x00000533) AM_WRITENOP // SEI252 sprite decryption table key, see machine/spisprit.c |
| 963 | AM_RANGE(0x00000534, 0x00000537) AM_WRITENOP // SEI252 sprite decryption unknown |
| 961 | 964 | AM_RANGE(0x0000053c, 0x0000053f) AM_WRITENOP // SEI252 sprite decryption table index, see machine/spisprit.c |
| 962 | 965 | AM_RANGE(0x0000054c, 0x0000054f) AM_WRITENOP // RISE10/11 sprite decryption key, see machine/seibuspi.c |
| 963 | 966 | AM_RANGE(0x00000560, 0x00000563) AM_WRITE16(sprite_dma_start_w, 0xffff0000) |
| r23956 | r23957 | |
| 1083 | 1086 | |
| 1084 | 1087 | static ADDRESS_MAP_START( spi_soundmap, AS_PROGRAM, 8, seibuspi_state ) |
| 1085 | 1088 | AM_RANGE(0x4008, 0x4008) AM_DEVWRITE("soundfifo2", fifo7200_device, data_byte_w) |
| 1086 | | AM_RANGE(0x400a, 0x400a) AM_READ_PORT("JP1") |
| 1089 | AM_RANGE(0x400a, 0x400a) AM_READ_PORT("JP1") // is JP1 physically really here? |
| 1087 | 1090 | AM_IMPORT_FROM( sxx2e_soundmap ) |
| 1088 | 1091 | ADDRESS_MAP_END |
| 1089 | 1092 | |