Commit Graph

55 Commits

Author SHA1 Message Date
Greg Shuflin
1ca9426ab6 Sprites??? Not working tho' 2022-06-17 20:00:00 -07:00
Greg Shuflin
63f37f69af Use DMA 2022-06-17 14:37:10 -07:00
Greg Shuflin
1c6fdd3468 Introduce NMIs 2022-06-16 14:33:46 -07:00
Greg Shuflin
a5d8084260 Constants for controller input 2022-06-16 13:40:58 -07:00
Greg Shuflin
f1d3f2f6b6 Read from joypad 2022-06-15 11:30:27 -07:00
Greg Shuflin
8f947ae232 Draw another tile 2022-06-15 11:14:37 -07:00
Greg Shuflin
0de9c89162 Go back to tile 0 2022-06-15 11:10:07 -07:00
Greg Shuflin
33bd61d62a Use tile 1 for entire background 2022-06-15 11:08:30 -07:00
Greg Shuflin
26d66e9b8d Change sprite layout 2022-06-15 11:06:58 -07:00
Greg Shuflin
db5a2c1b32 Fix color descriptions 2022-06-15 11:06:47 -07:00
Greg Shuflin
06f267b208 Add comments to justfile 2022-06-15 09:10:13 -07:00
Greg Shuflin
14b496ae1c Manually clear screen
If I don't do this I get gibberish in most emulators
(apparently not SNES9x)
2022-06-13 18:06:18 -07:00
Greg Shuflin
f6efec6961 Justfile: run with mesen-s 2022-06-13 18:02:47 -07:00
Greg Shuflin
379d1c88fc Revert "Temporarily change color to green"
This reverts commit 8ff3cb63da.
2022-06-13 17:12:37 -07:00
Greg Shuflin
8ff3cb63da Temporarily change color to green
To make sure the tile is changing
2022-06-13 17:12:24 -07:00
Greg Shuflin
7e8671c071 Part 2 2022-06-13 17:09:27 -07:00
Greg Shuflin
9794d93fb0 Change color 2022-06-13 16:00:41 -07:00
Greg Shuflin
dba3191aa2 tutorial part 1 2022-06-13 16:00:17 -07:00
Greg Shuflin
6c2e4cee5a Delete Makefile 2022-01-30 01:28:57 -08:00
Greg Shuflin
d3a383951f Get rid of tic_tac code 2022-01-30 01:28:46 -08:00
Greg Shuflin
76fe4ad877 Move greenspace to legacy dir 2022-01-30 01:27:54 -08:00
Greg Shuflin
2354e92eaf Move test_gfx rom to subdir
The test_gfx rom is doing some kind of blinking light thing, move it to
a subdir.
2022-01-30 01:26:42 -08:00
Greg Shuflin
d032df88d8 Move register_notes to docs dir 2022-01-30 01:23:42 -08:00
Greg Shuflin
1b0835b963 Move greenspace stuff into separate directory 2022-01-30 01:21:12 -08:00
Greg Shuflin
68af657f0f Move doc pdf into docs dir 2022-01-30 01:17:37 -08:00
Greg Shuflin
fca39d9f67 Start modernizing
Add justfile, improve README
2022-01-30 00:43:56 -08:00
greg
771628a1ab VBlank increments counter in memory
And changes palette based on that
2016-12-16 00:43:24 -08:00
greg
5b00976269 Lol had a bug in the Load_Palette_Color 2016-12-15 20:14:46 -08:00
greg
67ccdc3052 Responds to NMI 2016-12-15 01:23:37 -08:00
greg
d8ddf3bba6 Enable NMI 2016-12-15 01:22:31 -08:00
greg
ab8f986fe6 Added a bit more to tile map
Plus using tile-flipping
2016-12-15 01:01:56 -08:00
greg
21968ae8ef DMA write to tile map
DMA write was always working, I just had the wrong tile data format
Tile data is two bytes, not wrong

Also keep around previously-working tile-load loop for prosterity
2016-12-15 00:01:32 -08:00
greg
23bdc734bb Trying to get VRAM DMA to work
For tile map
2016-12-14 11:05:38 -08:00
greg
3ef2eee4b0 Draw grid of faces 2016-12-14 03:42:46 -08:00
greg
861a99e494 Remove test_gfx.smc when cleaning 2016-12-14 03:19:49 -08:00
greg
00bafe811a Fix comment
also changing the tile map offset stored to $2116 changes where I write
the tile
2016-12-07 02:14:42 -08:00
greg
da806439a5 SUCCESS!
Have successfully written a background tile to screen!
2016-12-07 01:13:29 -08:00
greg
2c6631c87e Added more things to macros in my_custom 2016-12-06 02:51:01 -08:00
greg
79d7ecf19e Add some helpful macros 2016-12-06 02:11:21 -08:00
greg
e406386507 Add entire debugger to version control
lol
2016-12-05 19:25:00 -08:00
greg
ba8662055f Add test_gfx rom-building infrastructure 2016-12-05 19:24:36 -08:00
greg
833e9f842a Make spin loop time shorter 2016-12-05 01:23:18 -08:00
greg
c5638c0b66 Goddamn it that's how macros work ._. 2016-12-04 22:18:14 -08:00
greg
313850ca84 Add file explaining registers 2016-12-04 21:13:31 -08:00
greg
8dfef93067 Further experimenation 2016-12-04 21:13:18 -08:00
greg
5fe21fa5a1 Use my custom compiled version of wla 2016-12-04 16:49:55 -08:00
greg
802c9ff499 MOre notes and experimentation 2016-12-04 16:49:45 -08:00
greg
a5c3313651 Add a spin loop that does something
Namely, poke register $2100 to set the brightness
2016-12-04 03:16:15 -08:00
greg
3a4cca2c33 Explanatory color comments 2016-12-03 14:44:13 -08:00
greg
32e29650fe Working tic tac toe demo
from
https://wiki.superfamicom.org/snes/show/Making+a+Small+Game+-+Tic-Tac-Toe

minus the input parts, but showing a thing on the screen
2016-12-03 00:02:01 -08:00