Previous 15994 Revisions Next

r1521 Wednesday 16th January, 2008 at 10:41:54 UTC by Dirk Best
[LISA] Got rid of empty ROM region warning
[src/mess/drivers]lisa.c
[src/mess/machine]lisa.c

src/mess/machine/lisa.c
r1520r1521
10871087   lisa_features.floppy_hardware = sony_lisa2;
10881088   lisa_features.has_double_sided_floppy = 0;
10891089   lisa_features.has_mac_xl_video = 0;
1090   
1091   bad_parity_table = auto_malloc(0x40000);  /* 1 bit per byte of CPU RAM */
10901092}
10911093
10921094DRIVER_INIT( lisa210 )
r1520r1521
10961098   lisa_features.floppy_hardware = sony_lisa210;
10971099   lisa_features.has_double_sided_floppy = 0;
10981100   lisa_features.has_mac_xl_video = 0;
1101   
1102   bad_parity_table = auto_malloc(0x40000);  /* 1 bit per byte of CPU RAM */
10991103}
11001104
11011105DRIVER_INIT( mac_xl )
r1520r1521
11051109   lisa_features.floppy_hardware = sony_lisa210;
11061110   lisa_features.has_double_sided_floppy = 0;
11071111   lisa_features.has_mac_xl_video = 1;
1112   
1113   bad_parity_table = auto_malloc(0x40000);  /* 1 bit per byte of CPU RAM */
11081114}
11091115
11101116static void lisa2_set_iwm_enable_lines(int enable_mask)
r1520r1521
11471153   parity_error_pending = FALSE;
11481154
11491155   bad_parity_count = 0;
1150   bad_parity_table = memory_region(REGION_USER1);
1151   memset(bad_parity_table, 0, memory_region_length(REGION_USER1));   /* Clear */
1156   memset(bad_parity_table, 0, 0x40000);   /* Clear */
11521157
11531158   /* init video */
11541159
src/mess/drivers/lisa.c
r1520r1521
208208
209209   ROM_REGION(0x100,REGION_GFX1,0)      /* video ROM (includes S/N) */
210210   ROM_LOAD( "vidstate.rom", 0x00, 0x100, CRC(75904783) SHA1(3b0023bd90f2ca1be0b099160a566b044856885d))
211
212   ROM_REGION(0x040000, REGION_USER1, 0)   /* 1 bit per byte of CPU RAM - used for parity check emulation */
213
214211ROM_END
215212
216213ROM_START( lisa210 )
r1520r1521
228225
229226   ROM_REGION(0x100,REGION_GFX1, 0)      /* video ROM (includes S/N) */
230227   ROM_LOAD( "vidstate.rom", 0x00, 0x100, CRC(75904783) SHA1(3b0023bd90f2ca1be0b099160a566b044856885d))
231
232   ROM_REGION(0x040000, REGION_USER1, 0)   /* 1 bit per byte of CPU RAM - used for parity check emulation */
233
234228ROM_END
235229
236230ROM_START( macxl )
r1520r1521
248242
249243   ROM_REGION(0x100,REGION_GFX1, 0)      /* video ROM (includes S/N) ; no dump known, although Lisa ROM works fine at our level of emulation */
250244   ROM_LOAD( "vidstate.rom", 0x00, 0x100, NO_DUMP)
251
252   ROM_REGION(0x040000, REGION_USER1, 0)   /* 1 bit per byte of CPU RAM - used for parity check emulation */
253
254245ROM_END
255246
247
256248static void lisa_floppy_getinfo(const device_class *devclass, UINT32 state, union devinfo *info)
257249{
258250   /* floppy */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team