/[gxemul]/trunk/src/devices/dev_malta_lcd.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_malta_lcd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11 by dpavlin, Mon Oct 8 16:18:27 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_malta_lcd.c,v 1.1 2005/06/20 08:19:58 debug Exp $   *  $Id: dev_malta_lcd.c,v 1.2 2005/07/30 20:01:57 debug Exp $
29   *   *
30   *  Malta (evbmips) LCD thingy.   TODO: This is just a dummy device.   *  Malta (evbmips) LCD thingy. Mostly a dummy device.
31   */   */
32    
33  #include <stdio.h>  #include <stdio.h>
# Line 68  void dev_malta_lcd_tick(struct cpu *cpu, Line 68  void dev_malta_lcd_tick(struct cpu *cpu,
68                  d->display_modified = 2;                  d->display_modified = 2;
69                  return;                  return;
70          }          }
71          fatal("[ malta_lcd:  ");          debug("[ malta_lcd:  ");
72          for (i=0; i<LCD_LEN; i++)          for (i=0; i<LCD_LEN; i++)
73                  if (d->display[i] >= ' ')                  if (d->display[i] >= ' ')
74                          fatal("%c", d->display[i]);                          debug("%c", d->display[i]);
75          fatal("  ]\n");          debug("  ]\n");
76          d->display_modified = 0;          d->display_modified = 0;
77  }  }
78    

Legend:
Removed from v.11  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26