aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-07 21:11:06 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-07 21:11:06 +0100
commitbf8dff5a1d157cc536643cb2284b11ae22695133 (patch)
treefcfa9b06dee3d71968b937c555f5b4171c56756b
parent757f906f81a86e5358e2fb55f528c972231c89e2 (diff)
downloadgold-mine-run-bf8dff5a1d157cc536643cb2284b11ae22695133.tar.gz
gold-mine-run-bf8dff5a1d157cc536643cb2284b11ae22695133.zip
Not using the timer
-rw-r--r--src/main.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main.c b/src/main.c
index 89ae860..6945726 100644
--- a/src/main.c
+++ b/src/main.c
@@ -5,24 +5,16 @@
#include <crt0.h>
#include "keyb.h"
-#include "timer.h"
#include "vga.h"
#include "data.h"
/* disable paging because our int handlers are written in C */
int _crt0_startup_flags = _CRT0_FLAG_LOCK_MEMORY;
-void free_all()
-{
- timer_free();
- keyb_free();
-}
-
int main(int argc, char *argv[])
{
- timer_init();
keyb_init();
- atexit(free_all);
+ atexit(keyb_free);
/* set VGA 320x200, 256 col */
set_mode(0x13);