|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
#include "common/hardware/dma.h"#include "common/hardware/gpu.h"#include "common/hardware/hwregs.h"#include "common/hardware/irq.h"#include "common/syscalls/syscalls.h"#include "exotic/cester.h"#include "raster-helpers.h"#include "status.c"
Macros | |
| #define | CESTER_NO_SIGNAL |
| #define | CESTER_NO_TIME |
| #define | EXIT_SUCCESS 0 |
| #define | EXIT_FAILURE 1 |
| #define | ASSERT_STAT_EQ(expected, mask) |
Functions | |
| CESTER_BODY (static int s_interruptsWereEnabled;#define ASSERT_STAT_EQ(expected, mask)) CESTER_BEFORE_ALL(gpu_command | |
| rasterFullReset () | |
| ramsyscall_printf ("\n=== gpu-command: GP0 env commands reflected in GPUSTAT ===\n") | |
| ramsyscall_printf ("OBS lines carry hardware-truth GPUSTAT values.\n\n") | |
Variables | |
| s_interruptsWereEnabled = enterCriticalSection() | |
| IMASK = 0 | |
| IREG = 0 | |
| #define ASSERT_STAT_EQ | ( | expected, | |
| mask | |||
| ) |
| #define CESTER_NO_SIGNAL |
| #define CESTER_NO_TIME |
| #define EXIT_FAILURE 1 |
| #define EXIT_SUCCESS 0 |
| CESTER_BODY | ( | static int s_interruptsWereEnabled;#define | ASSERT_STAT_EQexpected, mask | ) |
| ramsyscall_printf | ( | ) |
| ramsyscall_printf | ( | "OBS lines carry hardware-truth GPUSTAT values.\n\n" | ) |
| rasterFullReset | ( | ) |
| IMASK = 0 |
| IREG = 0 |
| s_interruptsWereEnabled = enterCriticalSection() |