Previous 15994 Revisions Next

r1201 Tuesday 30th October, 2007 at 16:03:20 UTC by Dirk Verwiebe
[Mephisto. 16/32 Bit]Glasgow
Removed a bug which was introduced with the new keyboard functions.
[src/mess/drivers]glasgow.c

src/mess/drivers/glasgow.c
r1200r1201
6868  lcd_flag=data>>8;
6969  //beep_set_state(0,lcd_flag&1?1:0);
7070  if (lcd_flag == 0) key_selector=1;
71 // The key function in the rom expects after writing to 
72 // the  a value from  the second key row;
7173  if (lcd_flag!=0) led7=255;else led7=0;
7274  logerror("LCD Flag 16  = %x \n  ",data);
7375}
r1200r1201
133135static READ16_HANDLER(read_board)
134136{
135137 UINT16 data;
136  data=board_value^0xff;
138  //data=board_value^0xff;
139  data=0xff;
137140  data=data<<8;
138141  logerror("read board Offset = %x \n  ",offset);
139142  return data;   // Mephisto need it for working
r1200r1201
144147 UINT8 board;
145148 board=data>>8;
146149 board_value=board;
147 if (board==0xff) key_selector=0;
150 if (board==0xff) key_selector=0;   
151 // The key function in the rom expects after writing to 
152 // the chess board a value from  the first key row;
148153  logerror("Write Board   = %x \n  ",data>>8);
149154}
150155 
r1200r1201
287292ADDRESS_MAP_END
288293 
289294 
295 
296 
297 
298 
299 
300 
290301static ADDRESS_MAP_START(amsterd_mem, ADDRESS_SPACE_PROGRAM, 16)
291302   // ADDRESS_MAP_FLAGS( AMEF_ABITS(19) )
292303    AM_RANGE( 0x0000, 0xffff )         AM_ROM
r1200r1201
394405MACHINE_DRIVER_END
395406 
396407 
408 
397409static MACHINE_DRIVER_START(amsterd )
398410   MDRV_IMPORT_FROM( glasgow )
399411   /* basic machine hardware */
r1200r1201
411423MACHINE_DRIVER_END
412424 
413425 
426 
414427/***************************************************************************
415428  ROM definitions
416429***************************************************************************/
r1200r1201
466479***************************************************************************/
467480 
468481 
469 
470482/***************************************************************************
471483  Game drivers
472484***************************************************************************/

Previous 15994 Revisions Next


© 1998-2018 The MESS Team