diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-02-25 13:08:00 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-02-25 13:08:00 +0100 |
commit | 5850f4ab766256791f72301349e30d4cd304c675 (patch) | |
tree | ae72fb95eb7a028eb0a86fdc07340d97942f285a /src/demo.h | |
parent | 1a2bd8b70c12d497acb2eba548d161b2bfc4f9b6 (diff) |
ppusim done
Diffstat (limited to 'src/demo.h')
-rw-r--r-- | src/demo.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/demo.h b/src/demo.h new file mode 100644 index 0000000..89436b5 --- /dev/null +++ b/src/demo.h @@ -0,0 +1,44 @@ +#pragma once + +#include "ppu/types.h" + +void hh_demo_setup(); +void hh_demo_loop(unsigned long); + +static const hh_s_ppu_loc_sprite HH_DBG_SPRITE_BALL = { + 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, + 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, + 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0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