trunk/src/mame/drivers/taitowlf.c
| r21803 | r21804 | |
| 95 | 95 | DECLARE_DRIVER_INIT(taitowlf); |
| 96 | 96 | virtual void machine_start(); |
| 97 | 97 | virtual void machine_reset(); |
| 98 | #if !ENABLE_VGA |
| 98 | 99 | virtual void palette_init(); |
| 100 | #endif |
| 99 | 101 | UINT32 screen_update_taitowlf(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); |
| 100 | 102 | IRQ_CALLBACK_MEMBER(irq_callback); |
| 101 | 103 | void intel82439tx_init(); |
| r21803 | r21804 | |
| 480 | 482 | AM_RANGE(0x000f0000, 0x000fffff) AM_ROMBANK("bank1") |
| 481 | 483 | AM_RANGE(0x000f0000, 0x000fffff) AM_WRITE(bios_ram_w) |
| 482 | 484 | AM_RANGE(0x00100000, 0x01ffffff) AM_RAM |
| 485 | // AM_RANGE(0xf8000000, 0xf83fffff) AM_ROM AM_REGION("user3", 0) |
| 483 | 486 | AM_RANGE(0xfffc0000, 0xffffffff) AM_ROM AM_REGION("user1", 0) /* System BIOS */ |
| 484 | 487 | ADDRESS_MAP_END |
| 485 | 488 | |
trunk/src/mess/drivers/casloopy.c
| r21803 | r21804 | |
| 220 | 220 | if (machine().gfx[m_gfx_index] == 0) |
| 221 | 221 | break; |
| 222 | 222 | |
| 223 | for(int i=0;i<0x10000;i++) |
| 224 | m_vram[i] = i & 0xff; |
| 225 | |
| 223 | 226 | machine().gfx[m_gfx_index] = auto_alloc(machine(), gfx_element(machine(), casloopy_4bpp_layout, m_vram, 0x10, 0)); |
| 224 | | machine().gfx[m_gfx_index+1] = auto_alloc(machine(), gfx_element(machine(), casloopy_8bpp_layout, m_vram, 0x10, 0)); |
| 225 | | |
| 227 | machine().gfx[m_gfx_index+1] = auto_alloc(machine(), gfx_element(machine(), casloopy_8bpp_layout, m_vram, 1, 0)); |
| 226 | 228 | } |
| 227 | 229 | |
| 228 | 230 | UINT32 casloopy_state::screen_update_casloopy(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) |
| r21803 | r21804 | |
| 239 | 241 | if(machine().input().code_pressed(KEYCODE_X)) |
| 240 | 242 | test-=0x100; |
| 241 | 243 | |
| 242 | | popmessage("%08x",test); |
| 244 | //popmessage("%08x",test); |
| 243 | 245 | |
| 244 | 246 | #if 0 |
| 245 | 247 | int r,g,b; |
| r21803 | r21804 | |
| 258 | 260 | { |
| 259 | 261 | UINT16 tile = (m_vram[count+1])|(m_vram[count]<<8); |
| 260 | 262 | |
| 261 | | tile &= 0x3ff; //??? |
| 263 | tile &= 0x7ff; //??? |
| 262 | 264 | |
| 263 | 265 | drawgfx_transpen(bitmap,cliprect,gfx,tile,7,0,0,x*8,y*8,-1); |
| 264 | 266 | |
| r21803 | r21804 | |
| 478 | 480 | |
| 479 | 481 | /* video hardware */ |
| 480 | 482 | MCFG_SCREEN_ADD("screen", RASTER) |
| 481 | | MCFG_SCREEN_RAW_PARAMS(8000000, 444, 0, 256, 263, 0, 256) |
| 483 | MCFG_SCREEN_RAW_PARAMS(8000000, 444, 0, 256, 263, 0, 224) |
| 482 | 484 | |
| 483 | 485 | // MCFG_SCREEN_REFRESH_RATE(60) |
| 484 | 486 | // MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) |