AGI and Space Taxi spun off into their own projects.
This commit is contained in:
parent
a334d2dd13
commit
92a7c5e49c
1 changed files with 3 additions and 2 deletions
|
|
@ -85,11 +85,12 @@ extern uint8_t gStageMaxWord[SURFACE_HEIGHT];
|
||||||
// per-row bands themselves, so marking has nothing extra to keep in step --
|
// per-row bands themselves, so marking has nothing extra to keep in step --
|
||||||
// unlike the IIgs's gStageDirtyGroup below, which exists only because the
|
// unlike the IIgs's gStageDirtyGroup below, which exists only because the
|
||||||
// 65816 has no 32-bit load. gStageMinWord is aligned(2), which x86 (and a
|
// 65816 has no 32-bit load. gStageMinWord is aligned(2), which x86 (and a
|
||||||
// 68000 long load) accepts.
|
// 68000 long load) accepts; the type says so (aligned(2)), so a long read at
|
||||||
|
// a 2-byte boundary is defined C, not just something the CPUs tolerate.
|
||||||
#define STAGE_DIRTY_GROUP4_SHIFT 2
|
#define STAGE_DIRTY_GROUP4_SHIFT 2
|
||||||
#define STAGE_DIRTY_GROUP4_ROWS (1u << STAGE_DIRTY_GROUP4_SHIFT)
|
#define STAGE_DIRTY_GROUP4_ROWS (1u << STAGE_DIRTY_GROUP4_SHIFT)
|
||||||
#define STAGE_DIRTY_GROUP4_ALL_CLEAN 0xFFFFFFFFul
|
#define STAGE_DIRTY_GROUP4_ALL_CLEAN 0xFFFFFFFFul
|
||||||
typedef uint32_t __attribute__((may_alias)) StageBandGroupT;
|
typedef uint32_t __attribute__((may_alias, aligned(2))) StageBandGroupT;
|
||||||
#define STAGE_DIRTY_GROUP4_CLEAN(_g) (((const StageBandGroupT *)(const void *)gStageMinWord)[_g] == STAGE_DIRTY_GROUP4_ALL_CLEAN)
|
#define STAGE_DIRTY_GROUP4_CLEAN(_g) (((const StageBandGroupT *)(const void *)gStageMinWord)[_g] == STAGE_DIRTY_GROUP4_ALL_CLEAN)
|
||||||
|
|
||||||
// Present-path telemetry (NATIVE-PERF Phase 6 W0, IIgs added W2).
|
// Present-path telemetry (NATIVE-PERF Phase 6 W0, IIgs added W2).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue