Previous 15994 Revisions Next

r4615 Sunday 3rd May, 2009 at 06:29:01 UTC by Miodrag Milanović
[VT100] Proper naming and proper char rom
[src/mess/drivers]vt100.c
[src/mess/video]vtvideo.c

src/mess/video/vtvideo.c
r4614r4615
8888   int x, int y,UINT8 scroll_region,UINT8 display_type)
8989{               
9090   UINT8 line=0;
91      int i,b,bit;
91      int i,b,bit,j;
9292    int double_width = (display_type==2) ? 1 : 0;
9393    vt_video_t *vt = get_safe_token(device);
9494
9595   for (i = 0; i < 10; i++)
9696   {
97      if (i==0) j=15; else j=i-1;
9798      switch(display_type) {
9899         case 0 : // bottom half, double height
99                line = vt->gfx[(code & 0x7f)*16 + (i >> 1)+5]; break;
100                line = vt->gfx[(code & 0x7f)*16 + (j >> 1)+5]; break;
100101         case 1 : // top half, double height
101                 line = vt->gfx[(code & 0x7f)*16 + (i >> 1)]; break;
102                 line = vt->gfx[(code & 0x7f)*16 + (j >> 1)]; break;
102103         case 2 : // double width           
103104         case 3 : // normal
104                line = vt->gfx[(code & 0x7f)*16 + i]; break;
105                line = vt->gfx[(code & 0x7f)*16 + j]; break;
105106      }
106107     
107108      for (b = 0; b < 8; b++)
src/mess/drivers/vt100.c
r4614r4615
339339/* ROM definition */
340340ROM_START( vt100 )
341341   ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
342   ROM_LOAD( "23-061e2.bin", 0x0000, 0x0800, CRC(3dae97ff) SHA1(e3437850c33565751b86af6c2fe270a491246d15)) // bug fixed version
343   ROM_LOAD( "23-032e2.bin", 0x0800, 0x0800, CRC(3d86db99) SHA1(cdd8bdecdc643442f6e7d2c83cf002baf8101867))
344   ROM_LOAD( "23-033e2.bin", 0x1000, 0x0800, CRC(384dac0a) SHA1(22aaf5ab5f9555a61ec43f91d4dea3029f613e64))
345   ROM_LOAD( "23-034e2.bin", 0x1800, 0x0800, CRC(4643184d) SHA1(27e6c19d9932bf13fdb70305ef4d806e90d60833))
342   ROM_LOAD( "23-061e2-00.e40", 0x0000, 0x0800, CRC(3dae97ff) SHA1(e3437850c33565751b86af6c2fe270a491246d15)) // version 2
343   ROM_LOAD( "23-032e2-00.e45", 0x0800, 0x0800, CRC(3d86db99) SHA1(cdd8bdecdc643442f6e7d2c83cf002baf8101867))
344   ROM_LOAD( "23-033e2-00.e52", 0x1000, 0x0800, CRC(384dac0a) SHA1(22aaf5ab5f9555a61ec43f91d4dea3029f613e64))
345   ROM_LOAD( "23-034e2-00.e56", 0x1800, 0x0800, CRC(4643184d) SHA1(27e6c19d9932bf13fdb70305ef4d806e90d60833))
346346   ROM_REGION(0x0800, "gfx1",0)
347   ROM_LOAD ("23-018e2.bin", 0x0000, 0x0800, CRC(0e41f551) SHA1(d6762aaa2c8090ac4c0726ef8aeaea1afdc66281)) // needs redump
347   ROM_LOAD ("23-018e2-00.e4", 0x0000, 0x0800, CRC(6958458b) SHA1(103429674fc01c215bbc2c91962ae99231f8ae53)) // needs redump
348348ROM_END
349349
350350/* Driver */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team