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

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

revision 19 by dpavlin, Mon Oct 8 16:19:11 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_bt459.c,v 1.60 2005/10/26 14:37:03 debug Exp $   *  $Id: dev_bt459.c,v 1.61 2005/11/13 00:14:08 debug Exp $
29   *     *  
30   *  Brooktree 459 vdac, used by TURBOchannel graphics cards.   *  Brooktree 459 vdac, used by TURBOchannel graphics cards.
31   */   */
# Line 649  void dev_bt459_init(struct machine *mach Line 649  void dev_bt459_init(struct machine *mach
649          d->interrupt_time_reset_value = 500;          d->interrupt_time_reset_value = 500;
650    
651          memory_device_register(mem, "bt459", baseaddr, DEV_BT459_LENGTH,          memory_device_register(mem, "bt459", baseaddr, DEV_BT459_LENGTH,
652              dev_bt459_access, (void *)d, MEM_DEFAULT, NULL);              dev_bt459_access, (void *)d, DM_DEFAULT, NULL);
653    
654          if (baseaddr_irq != 0)          if (baseaddr_irq != 0)
655                  memory_device_register(mem, "bt459_irq", baseaddr_irq, 0x10000,                  memory_device_register(mem, "bt459_irq", baseaddr_irq, 0x10000,
656                      dev_bt459_irq_access, (void *)d, MEM_DEFAULT, NULL);                      dev_bt459_irq_access, (void *)d, DM_DEFAULT, NULL);
657    
658          machine_add_tickfunction(machine, dev_bt459_tick, d, BT459_TICK_SHIFT);          machine_add_tickfunction(machine, dev_bt459_tick, d, BT459_TICK_SHIFT);
659    

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

  ViewVC Help
Powered by ViewVC 1.1.26