r8658 Saturday 31st July, 2010 at 01:27:40 UTC by Angelo Salese
[BASIC MASTER LV3]: Splitted 24k rom into more logical 8k ones
[src/mess/drivers]bml3.c

src/mess/drivers/bml3.c
r8657r8658
132132//   if(offset == 0xc4) return bml3_cmt_r(space,0); //maybe 0xc4 is the status and 0xc5 the data? d7 and ea seems to be related too
133133   if(offset == 0xc8) return 0; //??? checks bit 7, scrolls vertically if active high
134134   if(offset == 0xc9) return 0x11; //0x01 put 320 x 200 mode, 0x07 = 640 x 375
135//   if(offset == 0xcb) return mame_rand(space->machine);
135136   if(offset == 0xd8) return attr_latch;
136137   if(offset == 0xe0) return bml3_keyboard_r(space,0);
137138
r8657r8658
331332    MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
332333    MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
333334    MDRV_SCREEN_SIZE(640, 480)
334    MDRV_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1)
335    MDRV_SCREEN_VISIBLE_AREA(0, 320-1, 0, 200-1)
335336    MDRV_PALETTE_LENGTH(8)
336337   MDRV_PALETTE_INIT(bml3)
337338
r8657r8658
344345/* ROM definition */
345346ROM_START( bml3 )
346347    ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF )
347   ROM_LOAD( "l3bas.rom", 0xa000, 0x6000, CRC(d81baa07) SHA1(a8fd6b29d8c505b756dbf5354341c48f9ac1d24d))
348//   ROM_LOAD( "l3bas.rom", 0xa000, 0x6000, BAD_DUMP CRC(d81baa07) SHA1(a8fd6b29d8c505b756dbf5354341c48f9ac1d24d)) //original, 24k isn't a proper rom size!
349   /* Handcrafted ROMs, rom labels and contents might not match */
350   ROM_LOAD( "598 p16611.ic3", 0xa000, 0x2000, BAD_DUMP CRC(954b9bad) SHA1(047948fac6808717c60a1d0ac9205a5725362430))
351   ROM_LOAD( "599 p16561.ic4", 0xc000, 0x2000, BAD_DUMP CRC(b27a48f5) SHA1(94cb616df4caa6415c5076f9acdf675acb7453e2))
352   ROM_LOAD( "600 p16681.ic5", 0xe000, 0x2000, BAD_DUMP CRC(fe3988a5) SHA1(edc732f1cd421e0cf45ffcfc71c5589958ceaae7))
348353
349354    ROM_REGION( 0x800, "char", 0 )
350355   ROM_LOAD("char.rom", 0x00000, 0x00800, BAD_DUMP CRC(e3995a57) SHA1(1c1a0d8c9f4c446ccd7470516b215ddca5052fb2) ) //Taken from Sharp X1

Previous 509070 RevisionsNext 50


© 1998-2010 The MESS Team