Rev 3234 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3234 | Rev 3844 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | .write = msim_write, |
56 | .write = msim_write, |
57 | .read = msim_do_read, |
57 | .read = msim_do_read, |
58 | }; |
58 | }; |
59 | 59 | ||
60 | /** Putchar that works with MSIM & gxemul */ |
60 | /** Putchar that works with MSIM & gxemul */ |
61 | void msim_write(chardev_t *dev, const char ch) |
61 | void msim_write(chardev_t *dev, const char ch, bool silent) |
62 | { |
62 | { |
- | 63 | if (!silent) |
|
63 | *((char *) MSIM_VIDEORAM) = ch; |
64 | *((char *) MSIM_VIDEORAM) = ch; |
64 | } |
65 | } |
65 | 66 | ||
66 | /* Called from getc(). */ |
67 | /* Called from getc(). */ |
67 | void msim_enable(chardev_t *dev) |
68 | void msim_enable(chardev_t *dev) |