display: Update 340 simulation to use sim_ws.

This commit is contained in:
Lars Brinkhoff 2019-01-11 18:41:55 +01:00
parent a989770656
commit 6d68a1180e
2 changed files with 3 additions and 3 deletions

View file

@ -144,12 +144,12 @@ ty340_set_dac(ty340word addr)
#endif
ty340word
ty340_reset(void)
ty340_reset(void *dptr)
{
struct type340 *u = UNIT(0);
#ifndef TY340_NODISPLAY
if (!u->initialized) {
display_init(DIS_TYPE340, 1, u); /* XXX check return? */
display_init(DIS_TYPE340, 1, dptr); /* XXX check return? */
u->initialized = 1;
}
#endif

View file

@ -46,7 +46,7 @@ typedef unsigned int ty340word;
/*
* calls from host into type340.c
*/
ty340word ty340_reset(void);
ty340word ty340_reset(void *);
ty340word ty340_status(void);
ty340word ty340_instruction(ty340word inst);
void ty340_set_dac(ty340word addr);