Finished CPU instructions and created ui window.

This commit is contained in:
2025-01-31 14:39:38 -07:00
parent 83c5a7cbe6
commit 9a6dc67c3e
12 changed files with 265 additions and 33 deletions

View File

@ -92,4 +92,12 @@ void cpu_set_reg8(reg_type rt, u8 val) {
cpu_registers *cpu_get_regs() {
return &ctx.regs;
}
u8 cpu_get_int_flags(){
return ctx.int_flags;
}
void cpu_set_int_flags(u8 value){
ctx.int_flags = value;
}