diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-17 19:43:59 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-17 19:43:59 +0200 |
| commit | d98828d08eb1f6c1394f38a1df69c73fef0cfefa (patch) | |
| tree | 31df37430733c906b235b88c2cfa14d835af4bec /terminal/vt52.h | |
| parent | 29ea3208b004f15dafa48ae29a75ba7f0c093a74 (diff) | |
working on vt52 and some cleanup
Diffstat (limited to 'terminal/vt52.h')
| -rw-r--r-- | terminal/vt52.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/terminal/vt52.h b/terminal/vt52.h index 557c247..cdc62bd 100644 --- a/terminal/vt52.h +++ b/terminal/vt52.h @@ -7,13 +7,13 @@ // REQUIREMENTS // * kballoc // block wise in-kernel allocation - -typedef struct term_screen_struct +typedef struct term_out_struct { - + void (*put_char)(uint8_t c,uint8_t color, uint32_t x, uint32_t y); + void (*update_cursor)(uint32_t col,uint32_t row); -}term_screen; +}term_out; typedef struct vt52_tty_struct { @@ -23,11 +23,11 @@ typedef struct vt52_tty_struct uint32_t x; uint32_t y; uint32_t *data; // screen data - term_screen *screen; + term_out *screen; }vt52_tty; -vt52_tty vt52_init(term_screen *screen); +vt52_tty vt52_init(term_out *screen); void vt52_put(vt52_tty *tty, uint8_t c); #endif |
