diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-07 21:11:06 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-07 21:11:06 +0100 |
commit | bf8dff5a1d157cc536643cb2284b11ae22695133 (patch) | |
tree | fcfa9b06dee3d71968b937c555f5b4171c56756b /src | |
parent | 757f906f81a86e5358e2fb55f528c972231c89e2 (diff) | |
download | gold-mine-run-bf8dff5a1d157cc536643cb2284b11ae22695133.tar.gz gold-mine-run-bf8dff5a1d157cc536643cb2284b11ae22695133.zip |
Not using the timer
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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); |