Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
snes9x2002
Commits
af430c24
Commit
af430c24
authored
Nov 13, 2015
by
aliaspider
Browse files
can display some stuff now.
parent
bd755bbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.common
View file @
af430c24
...
...
@@ -18,7 +18,6 @@ SOURCES += $(CORE_DIR)/dsp1.c
SOURCES
+=
$(CORE_DIR)
/fxemu.c
SOURCES
+=
$(CORE_DIR)
/fxinst.c
SOURCES
+=
$(CORE_DIR)
/globals.c
SOURCES
+=
$(CORE_DIR)
/ppu.c
SOURCES
+=
$(CORE_DIR)
/dma.c
SOURCES
+=
$(CORE_DIR)
/memmap.c
SOURCES
+=
$(CORE_DIR)
/cpu.c
...
...
@@ -40,6 +39,8 @@ ifeq ($(ARM_ASM), 1)
SOURCES
+=
$(CORE_DIR)
/spc700a.s
SOURCES
+=
$(CORE_DIR)
/spc_decode.S
SOURCES
+=
$(CORE_DIR)
/ppu.c
SOURCES
+=
$(CORE_DIR)
/mode7new.c
SOURCES
+=
$(CORE_DIR)
/mode7.c
SOURCES
+=
$(CORE_DIR)
/mode7add.c
...
...
@@ -70,6 +71,7 @@ SOURCES += $(CORE_DIR)/os9x_65c816_spcc.s
SOURCES
+=
$(CORE_DIR)
/os9x_asm_cpu.c
else
SOURCES
+=
$(CORE_DIR)
/ppu_.c
SOURCES
+=
$(CORE_DIR)
/gfx.c
SOURCES
+=
$(CORE_DIR)
/tile.c
endif
...
...
src/ppu_.c
View file @
af430c24
...
...
@@ -218,7 +218,7 @@ void S9xSetPPU(uint8 Byte, uint16 Address)
case
0x2104
:
// Sprite register write
REGISTER_2104
(
Byte
,
&
Memory
,
&
IPPU
,
&
PPU
);
REGISTER_2104
(
Byte
);
break
;
...
...
@@ -405,13 +405,13 @@ void S9xSetPPU(uint8 Byte, uint16 Address)
case
0x2118
:
// VRAM write data (low)
IPPU
.
FirstVRAMRead
=
TRUE
;
REGISTER_2118
(
Byte
,
&
Memory
,
&
IPPU
,
&
PPU
);
REGISTER_2118
(
Byte
);
break
;
case
0x2119
:
// VRAM write data (high)
IPPU
.
FirstVRAMRead
=
TRUE
;
REGISTER_2119
(
Byte
,
&
Memory
,
&
IPPU
,
&
PPU
);
REGISTER_2119
(
Byte
);
break
;
case
0x211a
:
...
...
@@ -459,7 +459,7 @@ void S9xSetPPU(uint8 Byte, uint16 Address)
break
;
case
0x2122
:
REGISTER_2122
(
Byte
,
&
Memory
,
&
IPPU
,
&
PPU
);
REGISTER_2122
(
Byte
);
break
;
case
0x2123
:
...
...
@@ -840,7 +840,7 @@ void S9xSetPPU(uint8 Byte, uint16 Address)
#endif // SPCTOOL
break
;
case
0x2180
:
REGISTER_2180
(
Byte
,
&
Memory
,
&
IPPU
,
&
PPU
);
REGISTER_2180
(
Byte
);
break
;
case
0x2181
:
PPU
.
WRAM
&=
0x1FF00
;
...
...
@@ -947,7 +947,7 @@ void S9xSetPPU(uint8 Byte, uint16 Address)
default:
Memory
.
FillRAM
[
Address
]
=
Byte
;
if
(
Address
>=
0x3100
)
FxCacheWriteAccess
(
Address
,
&
GSU
);
FxCacheWriteAccess
(
Address
);
break
;
}
#endif
...
...
@@ -1636,7 +1636,7 @@ void S9xSetCPU(uint8 byte, uint16 Address)
else
CPU
.
FastROMSpeed
=
SLOW_ONE_CYCLE
;
Memory
.
FixROMSpeed
();
FixROMSpeed
();
}
/* FALL */
case
0x420e
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment