Initial cpu and instruction parsing
This commit is contained in:
11
lib/cart.c
11
lib/cart.c
@ -173,4 +173,15 @@ bool cart_load(char *cart) {
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
u8 cart_read(u16 address){
|
||||
//for now ROM ONLY type supported...
|
||||
|
||||
return ctx.rom_data[address];
|
||||
}
|
||||
|
||||
void cart_write(u16 address, u8 value){
|
||||
|
||||
NO_IMPL
|
||||
}
|
Reference in New Issue
Block a user