Previous 15994 Revisions Next

r9173 Saturday 18th September, 2010 at 11:44:02 UTC by R. Belmont
[PCW16] Compiles with latest intelfsh, doesn't work, no idea if it did before.
[src/mess]mess.mak messdriv.c
[src/mess/drivers]pcw16.c

src/mess/messdriv.c
r9172r9173
346346   DRIVER( pcw9256 )   /* 198? PCW9256  */
347347   DRIVER( pcw9512 )   /* 198? PCW9512 (+)  */
348348   DRIVER( pcw10 )    /* 198? PCW10     */
349//   DRIVER( pcw16 )    /* 1995 PCW16     */
349   DRIVER( pcw16 )    /* 1995 PCW16     */
350350   DRIVER( nc100 )    /* 1992 NC100     */
351351   DRIVER( nc150 )    /* 1992 NC150     */
352352   DRIVER( nc200 )    /* 1993 NC200     */
src/mess/mess.mak
r9172r9173
586586   $(MESS_DRIVERS)/pcw.o      \
587587   $(MESS_VIDEO)/pcw16.o      \
588588   $(MESS_DRIVERS)/pda600.o   \
589   #$(MESS_DRIVERS)/pcw16.o      \
589   $(MESS_DRIVERS)/pcw16.o      \
590590
591591$(MESSOBJ)/apf.a:            \
592592   $(MESS_DRIVERS)/apf.o      \
src/mess/drivers/pcw16.c
r9172r9173
428428      }
429429      else
430430      {
431         intelfsh8_device *flashdev;
432
431433         /* nvram */
432434         if ((bank_id & 0x040)==0)
433435         {         
434            mem_ptr = (unsigned char *)intelflash_getmemptr(0);
436            flashdev = machine->device<intelfsh8_device>("flash0");
435437         }
436438         else
437439         {
438            mem_ptr = (unsigned char *)intelflash_getmemptr(1);
440            flashdev = machine->device<intelfsh8_device>("flash1");
439441         }
442
443         mem_ptr = (unsigned char *)flashdev->space()->get_read_ptr(0);
440444      }
441445
442446   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team