Initial cpu and instruction parsing

This commit is contained in:
2025-01-30 16:27:27 -07:00
parent 945b82a3ca
commit cd588671c4
12 changed files with 303 additions and 11 deletions

View File

@ -7,11 +7,6 @@
#include <cpu.h>
#include <cart.h>
START_TEST(test_nothing) {
bool b = cpu_step();
ck_assert_uint_eq(b, false);
} END_TEST
START_TEST(test_cart) {
bool b = cart_load("../../roms/cpu_instrs.gb");
ck_assert_uint_eq(b, true);
@ -29,7 +24,6 @@ Suite *stack_suite() {
Suite *s = suite_create("emu");
TCase *tc = tcase_create("core");
tcase_add_test(tc, test_nothing);
tcase_add_test(tc, test_cart);
suite_add_tcase(s, tc);