Add console escape sequences to draw headings
This commit is contained in:
1 parent
601ea50e4b
commit
7632445d43
5 files changed
+69
-3
No files matched your search
@@ -44,6 +44,8 @@ struct Rtc
|
||||
|
||||
public static void initialize()
|
||||
{
|
||||
Klog.writefln("\a3Initializing RTC");
|
||||
|
||||
/* Enable IRQ 8 to receive RTC interrupts. */
|
||||
ubyte sr_b = read_register(REG_SR_B, true);
|
||||
write_register(REG_SR_B, sr_b | SR_B_ENABLE_IRQ, true);
|
||||
|
||||
Reference in new issue
Block a user