diff options
author | Christian Cunningham <cc@localhost> | 2021-12-23 18:47:21 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-23 18:47:21 -0800 |
commit | e8b09e02a8326e9d75cab97dfef4ab17ad1d6c1e (patch) | |
tree | 73df4e9a9893929784cb7f99cade1461da3f326c /src/cpu | |
parent | 599af82d6d264c84118cd9407dd03323f0a1cb38 (diff) |
Larger Font
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 1329534..f2b326e 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -12,7 +12,6 @@ extern void disable_irq(void); extern void enable_irq(void); void c_irq_handler(void) { - //disable_irq(); disableirq(); unsigned long source = load32(CORE0_IRQ_SOURCE); if (source & (1 << 8)) { @@ -26,7 +25,7 @@ void c_irq_handler(void) { unsigned int x = g_Drawer.x; unsigned int y = g_Drawer.y; g_Drawer.x = 0; - g_Drawer.y = 7; + g_Drawer.y = 5; write_string(&g_Drawer, "TIMER: "); if(timer_status == 0) { cntfrq = read_cntfrq(); @@ -83,21 +82,19 @@ void c_irq_handler(void) { cmdidx = off; } g_Drawer.x = 0; - g_Drawer.y = 8; + g_Drawer.y = 7; for(int i = 0; i < 128; i++) write_char(&g_Drawer, ' '); g_Drawer.x = 0; - g_Drawer.y = 8; + g_Drawer.y = 7; write_string(&g_Drawer, "> "); write_string(&g_Drawer, cmd); - //enable_irq(); enableirq(); return; } } } else if (source & (1 << 3)) { c_timer(); - //enable_irq(); enableirq(); return; } |