projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
v1.7 spec mostly implemented, mostly untested
[dcpu16]
/
display.h
diff --git
a/display.h
b/display.h
index f6e44614127d1d503df57aa49fd4a29971295fff..fe88cc31264dde1fa0c6072ef10d062c9debf692 100644
(file)
--- a/
display.h
+++ b/
display.h
@@
-3,10
+3,12
@@
#include "dcpu16.h"
#include "dcpu16.h"
-typedef struct
pixel_ DPIX
;
+typedef struct
dcpu16_display_ DCPU16_DISPLAY
;
void display_reset_fn(struct dcpu16 *, dcpu16_acct_event, DCPU16_WORD, void *);
void display_reset_fn(struct dcpu16 *, dcpu16_acct_event, DCPU16_WORD, void *);
+void display_cycle_fn(struct dcpu16 *, dcpu16_acct_event, DCPU16_WORD, void *);
void display_fn(struct dcpu16 *, dcpu16_acct_event, DCPU16_WORD, void *);
void display_fn(struct dcpu16 *, dcpu16_acct_event, DCPU16_WORD, void *);
-DPIX *display_init_pixbuf(void);
+DCPU16_DISPLAY *display_new(const char *);
+void display_free(DCPU16_DISPLAY *);
#endif /* DISPLAY_H_MJYI1IAV */
#endif /* DISPLAY_H_MJYI1IAV */