display: Update 340 simulation to use sim_ws.
This commit is contained in:
parent
a989770656
commit
6d68a1180e
2 changed files with 3 additions and 3 deletions
|
@ -144,12 +144,12 @@ ty340_set_dac(ty340word addr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ty340word
|
ty340word
|
||||||
ty340_reset(void)
|
ty340_reset(void *dptr)
|
||||||
{
|
{
|
||||||
struct type340 *u = UNIT(0);
|
struct type340 *u = UNIT(0);
|
||||||
#ifndef TY340_NODISPLAY
|
#ifndef TY340_NODISPLAY
|
||||||
if (!u->initialized) {
|
if (!u->initialized) {
|
||||||
display_init(DIS_TYPE340, 1, u); /* XXX check return? */
|
display_init(DIS_TYPE340, 1, dptr); /* XXX check return? */
|
||||||
u->initialized = 1;
|
u->initialized = 1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -46,7 +46,7 @@ typedef unsigned int ty340word;
|
||||||
/*
|
/*
|
||||||
* calls from host into type340.c
|
* calls from host into type340.c
|
||||||
*/
|
*/
|
||||||
ty340word ty340_reset(void);
|
ty340word ty340_reset(void *);
|
||||||
ty340word ty340_status(void);
|
ty340word ty340_status(void);
|
||||||
ty340word ty340_instruction(ty340word inst);
|
ty340word ty340_instruction(ty340word inst);
|
||||||
void ty340_set_dac(ty340word addr);
|
void ty340_set_dac(ty340word addr);
|
||||||
|
|
Loading…
Add table
Reference in a new issue