bootrom mostly works, refactoring and all opcodes added

This commit is contained in:
2024-03-25 01:34:44 -07:00
parent a16a74f146
commit e3ba6359c9
11 changed files with 2513 additions and 399 deletions

View File

@@ -23,7 +23,7 @@
#define T_CLOCK_FREQ 4194304 //2^22
#define DIVIDER_REGISTER_FREQ 16384
#define DIVIDER_REGISTER_FREQ (4194304/16384)
#define BOOTROM_SIZE 0x100
@@ -38,7 +38,6 @@
#define FRAME_DURATION 70224
#define MODE2_DURATION 80
#define MODE3_MIN_DURATION 172
#define MODE0_3_DURATION 376 //mode3 is 172 to 289, mode0 87 to 204
#define H_SYNC 9198
#define V_SYNC 59.73