trunk/src/mame/drivers/coolridr.c
| r21420 | r21421 | |
| 540 | 540 | /* 0x00000 - 0x1ffff = screen 1 */ |
| 541 | 541 | /* 0x20000 - 0x3ffff = screen 2 */ |
| 542 | 542 | /* 0x40000 - 0xfffff = ? */ |
| 543 | /* |
| 544 | vregs are setted up with one of DMA commands (see below) |
| 545 | 0x3e09b80 screen 1 base, 0x3e9bc0 screen 2 base |
| 546 | [+0x1c] ---- ---- ---- ---- ---- ---- ---- -x-- disabled on screen 1, enabled on screen 2 (tile offset start?) |
| 547 | [+0x1c] ---- ---- ---- ---- ---- ---- ---- ---x Enabled on bike select screen in tandem with +0x3c, solid pen fill? |
| 548 | [+0x2c] ---- -xxx xxxx xxxx ---- --yy yyyy yyyy scrolling registers |
| 549 | [+0x34] 1111 1111 2222 2222 3333 3333 4444 4444 - Almost surely Sega "map" registers |
| 550 | [+0x38] 5555 5555 6666 6666 7777 7777 8888 8888 / |
| 551 | [+0x3c] ---- ---- ---- ---- xxxx xxxx xxxx xxxx 0x11b8 on bike select, solid pen value? |
| 552 | (everything else is unknown at current time) |
| 553 | */ |
| 554 | |
| 543 | 555 | UINT32 coolridr_state::screen_update_coolridr(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, int which) |
| 544 | 556 | { |
| 545 | 557 | /* planes seems to basically be at 0x8000 and 0x28000... */ |
| 546 | | #if 1 |
| 547 | 558 | UINT32 base_offset; |
| 548 | 559 | int tile,color; |
| 549 | 560 | int scrollx; |
| r21420 | r21421 | |
| 575 | 586 | } |
| 576 | 587 | } |
| 577 | 588 | |
| 578 | | #endif |
| 579 | 589 | if (which==0) |
| 580 | 590 | { |
| 581 | 591 | // will probably need a custom function |
| r21420 | r21421 | |
| 1802 | 1812 | if(g < 0) { g = 0; } |
| 1803 | 1813 | if(b < 0) { b = 0; } |
| 1804 | 1814 | } |
| 1805 | | else if(rgb_setting == 0x920) /* at bike select, addition */ |
| 1815 | else if(rgb_setting == 0x920) /* at bike select / outside tunnels, addition */ |
| 1806 | 1816 | { |
| 1807 | 1817 | r += rgb_gradient; |
| 1808 | 1818 | g += rgb_gradient; |