Previous 199869 Revisions Next

r21804 Monday 11th March, 2013 at 19:28:01 UTC by Angelo Salese
Some minor changes, it definitely draws a Casio logo in AnimeLand
[src/mame/drivers]taitowlf.c
[src/mess/drivers]casloopy.c

trunk/src/mame/drivers/taitowlf.c
r21803r21804
9595   DECLARE_DRIVER_INIT(taitowlf);
9696   virtual void machine_start();
9797   virtual void machine_reset();
98   #if !ENABLE_VGA
9899   virtual void palette_init();
100   #endif
99101   UINT32 screen_update_taitowlf(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
100102   IRQ_CALLBACK_MEMBER(irq_callback);
101103   void intel82439tx_init();
r21803r21804
480482   AM_RANGE(0x000f0000, 0x000fffff) AM_ROMBANK("bank1")
481483   AM_RANGE(0x000f0000, 0x000fffff) AM_WRITE(bios_ram_w)
482484   AM_RANGE(0x00100000, 0x01ffffff) AM_RAM
485//   AM_RANGE(0xf8000000, 0xf83fffff) AM_ROM AM_REGION("user3", 0)
483486   AM_RANGE(0xfffc0000, 0xffffffff) AM_ROM AM_REGION("user1", 0)   /* System BIOS */
484487ADDRESS_MAP_END
485488
trunk/src/mess/drivers/casloopy.c
r21803r21804
220220      if (machine().gfx[m_gfx_index] == 0)
221221         break;
222222
223   for(int i=0;i<0x10000;i++)
224      m_vram[i] = i & 0xff;
225
223226   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));
226228}
227229
228230UINT32 casloopy_state::screen_update_casloopy(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
r21803r21804
239241   if(machine().input().code_pressed(KEYCODE_X))
240242      test-=0x100;
241243
242   popmessage("%08x",test);
244   //popmessage("%08x",test);
243245
244246   #if 0
245247   int r,g,b;
r21803r21804
258260      {
259261         UINT16 tile = (m_vram[count+1])|(m_vram[count]<<8);
260262
261         tile &= 0x3ff; //???
263         tile &= 0x7ff; //???
262264
263265         drawgfx_transpen(bitmap,cliprect,gfx,tile,7,0,0,x*8,y*8,-1);
264266
r21803r21804
478480
479481   /* video hardware */
480482   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)
482484
483485//   MCFG_SCREEN_REFRESH_RATE(60)
484486//   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))

Previous 199869 Revisions Next


© 1997-2024 The MAME Team