/[gxemul]/trunk/src/devices/dev_lpt.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_lpt.c

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

revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 40 by dpavlin, Mon Oct 8 16:22:11 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2007  Anders Gavare.  All rights reserved.
3   *   *
4   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
5   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: dev_lpt.c,v 1.9 2006/03/04 12:38:47 debug Exp $   *  $Id: dev_lpt.c,v 1.11 2007/04/20 11:17:24 debug Exp $
29   *   *
30   *  LPT (parallel printer) controller.   *  LPT (parallel printer) controller.
31   */   */
# Line 59  struct lpt_data { Line 59  struct lpt_data {
59  };  };
60    
61    
62  /*  DEVICE_TICK(lpt)
  *  dev_lpt_tick():  
  */  
 void dev_lpt_tick(struct cpu *cpu, void *extra)  
63  {  {
64          /*  struct lpt_data *d = extra;  */          /*  struct lpt_data *d = extra;  */
65    
# Line 70  void dev_lpt_tick(struct cpu *cpu, void Line 67  void dev_lpt_tick(struct cpu *cpu, void
67  }  }
68    
69    
 /*  
  *  dev_lpt_access():  
  */  
70  DEVICE_ACCESS(lpt)  DEVICE_ACCESS(lpt)
71  {  {
72          uint64_t idata = 0, odata=0;          uint64_t idata = 0, odata=0;

Legend:
Removed from v.24  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26