some random fixes.

This commit is contained in:
2025-02-19 21:35:26 -07:00
parent 435a4c5ebe
commit 5da4219f09
10 changed files with 70 additions and 10 deletions

View File

@ -120,3 +120,7 @@ void cpu_set_ie_register(u8 ie){
void cpu_request_interrupt(interrupt_type t) {
ctx.int_flags |= t;
}
cpu_context *cpu_get_context() {
return &ctx;
}