Rev 110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 110 | Rev 212 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | 32 | ||
33 | #define VIDEORAM 0xB0000000 |
33 | #define VIDEORAM 0xB0000000 |
34 | 34 | ||
35 | void putchar(const char ch) |
35 | void putchar(const char ch) |
36 | { |
36 | { |
37 | __u32 status = cp0_status_read(); |
37 | // __u32 status = cp0_status_read(); |
38 | 38 | ||
39 | cp0_status_write(cp0_status_read() | cp0_status_erl_error_bit); |
39 | // cp0_status_write(cp0_status_read() | cp0_status_erl_error_bit); |
40 | *((char *) VIDEORAM) = ch; |
40 | *((char *) VIDEORAM) = ch; |
41 | cp0_status_write(status); |
41 | // cp0_status_write(status); |
42 | } |
42 | } |