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

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

revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_px.c,v 1.28 2005/07/19 10:48:06 debug Exp $   *  $Id: dev_px.c,v 1.30 2005/11/13 00:14:09 debug Exp $
29   *     *  
30   *  TURBOchannel Pixelstamp graphics device.   *  TURBOchannel Pixelstamp graphics device.
31   *   *
# Line 567  int dev_px_access(struct cpu *cpu, struc Line 567  int dev_px_access(struct cpu *cpu, struc
567          struct px_data *d = extra;          struct px_data *d = extra;
568          int i;          int i;
569    
570          idata = memory_readmax64(cpu, data, len);          if (writeflag == MEM_WRITE)
571                    idata = memory_readmax64(cpu, data, len);
572    
573          if (relative_addr < 0x0c0000) {          if (relative_addr < 0x0c0000) {
574                  /*                  /*
# Line 819  void dev_px_init(struct machine *machine Line 820  void dev_px_init(struct machine *machine
820          }          }
821    
822          memory_device_register(mem, "px", baseaddr, DEV_PX_LENGTH,          memory_device_register(mem, "px", baseaddr, DEV_PX_LENGTH,
823              dev_px_access, d, MEM_DEFAULT, NULL);              dev_px_access, d, DM_DEFAULT, NULL);
824          machine_add_tickfunction(machine, dev_px_tick, d, 14);          machine_add_tickfunction(machine, dev_px_tick, d, 14);
825  }  }
826    

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

  ViewVC Help
Powered by ViewVC 1.1.26