mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
display: Update 340 simulation to use sim_ws.
This commit is contained in:
parent
a989770656
commit
6d68a1180e
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user