vdp2: define N1CHCN bits
This commit is contained in:
parent
45d4d68d23
commit
3e6732e673
@ -8,7 +8,7 @@ AFLAGS = --fatal-warnings
|
||||
|
||||
CARCH = -m2 -mb
|
||||
CFLAGS += -falign-functions=4 -ffunction-sections -fdata-sections -fshort-enums -ffreestanding -nostdlib
|
||||
CFLAGS += -Wall -Werror -Wfatal-errors -Wno-error=unused-variable
|
||||
CFLAGS += -Wall -Werror -Wfatal-errors -Wno-error=unused-variable -Wno-array-bounds
|
||||
DEPFLAGS = -MMD -E
|
||||
LDFLAGS = --gc-sections --print-gc-sections --no-warn-rwx-segment --print-memory-usage --entry=_start --orphan-handling=error
|
||||
CXXFLAGS = -std=c++20 -fno-exceptions -fno-non-call-exceptions -fno-rtti -fno-threadsafe-statics
|
||||
|
6
vdp2.h
6
vdp2.h
@ -336,9 +336,9 @@ enum bgon_bit {
|
||||
// };
|
||||
enum chctla_bit {
|
||||
CHCTLA__N1CHCN__16_COLOR = (0b00 << 12),
|
||||
CHCTLA__N1CHCN__256_COLOR = (0b00 << 12),
|
||||
CHCTLA__N1CHCN__2048_COLOR = (0b00 << 12),
|
||||
CHCTLA__N1CHCN__32K_COLOR = (0b00 << 12),
|
||||
CHCTLA__N1CHCN__256_COLOR = (0b01 << 12),
|
||||
CHCTLA__N1CHCN__2048_COLOR = (0b10 << 12),
|
||||
CHCTLA__N1CHCN__32K_COLOR = (0b11 << 12),
|
||||
|
||||
CHCTLA__N1BMSZ__512x256_DOT = (0b00 << 10),
|
||||
CHCTLA__N1BMSZ__512x512_DOT = (0b01 << 10),
|
||||
|
Loading…
x
Reference in New Issue
Block a user