did some restructuring, got multitasking almost working

This commit is contained in:
2026-06-26 20:05:01 -05:00
parent 57d7d34c6d
commit 43bc0df81a
35 changed files with 481 additions and 307 deletions

View File

@@ -9,8 +9,6 @@
.global ps2_write_data
.global ps2_flush_output_buffer
.extern io_wait
# helpers
ps2_wait_input_empty: #(void) -> void
push %ebp

View File

@@ -1,4 +1,5 @@
#include <stdint.h>
#include <drivers/ps2/ps2.h>
extern void ps2_wait_input_empty(void);

View File

@@ -16,4 +16,10 @@
#define SELF_TEST_SUCCESS 0x55
#define PORT_TEST_SUCCESS 0x00
#ifndef __ASSEMBLER__
#include <stdint.h>
int init_ps2();
uint8_t ps2_read_data();
#endif
#endif