25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_bt431.c,v 1.8 2005/02/22 12:15:29 debug Exp $ |
* $Id: dev_bt431.c,v 1.10 2005/11/13 00:14:08 debug Exp $ |
29 |
* |
* |
30 |
* Brooktree 431, used by TURBOchannel graphics cards. |
* Brooktree 431, used by TURBOchannel graphics cards. |
31 |
* |
* |
74 |
int on, new_cursor_x, new_cursor_y; |
int on, new_cursor_x, new_cursor_y; |
75 |
#endif |
#endif |
76 |
|
|
77 |
|
if (writeflag == MEM_WRITE) |
78 |
idata = memory_readmax64(cpu, data, len); |
idata = memory_readmax64(cpu, data, len); |
79 |
|
|
80 |
btaddr = ((d->cur_addr_hi << 8) + d->cur_addr_lo) % DEV_BT431_NREGS; |
btaddr = ((d->cur_addr_hi << 8) + d->cur_addr_lo) % DEV_BT431_NREGS; |
81 |
|
|
216 |
d->cursor_xsize = d->cursor_ysize = 8; /* anything */ |
d->cursor_xsize = d->cursor_ysize = 8; /* anything */ |
217 |
|
|
218 |
memory_device_register(mem, "bt431", baseaddr, DEV_BT431_LENGTH, |
memory_device_register(mem, "bt431", baseaddr, DEV_BT431_LENGTH, |
219 |
dev_bt431_access, (void *)d, MEM_DEFAULT, NULL); |
dev_bt431_access, (void *)d, DM_DEFAULT, NULL); |
220 |
} |
} |
221 |
|
|