debugger work

This commit is contained in:
CocoSimone
2022-08-27 14:42:39 +02:00
parent 631b864641
commit d5743f4dc2
11 changed files with 388 additions and 218 deletions

View File

@@ -28,4 +28,12 @@ using m128 = __m128i;
#define N64_CYCLES_PER_FRAME ((N64_CPU_FREQ) / 60)
#define HALF_ADDRESS(addr) ((addr) ^ 2)
#define BYTE_ADDRESS(addr) ((addr) ^ 3)
#define ASPECT_RATIO ((float)4/3)
#define ASPECT_RATIO ((float)4/3)
#define RD(x) (((x) >> 11) & 0x1F)
#define RT(x) (((x) >> 16) & 0x1F)
#define RS(x) (((x) >> 21) & 0x1F)
#define FD(x) (((x) >> 6) & 0x1F)
#define FT(x) RT(x)
#define FS(x) RD(x)
#define BASE(x) RS(x)