0859eef060
removed (r) from automata'd nintendo logo since its not in the one in bootrom, added compilation flag to skip intro
Daniel Borges2019-01-11 00:20:47 +01:00
51d5e15eae
separated background and sprite tiles, check only lines left in wait for render routine, added build files, rom, git ignore
Daniel Borges2019-01-03 23:43:16 +01:00
635a9f4fb2
clear OAM, set sprite macro, empty tile equ
Daniel Borges2019-01-03 22:42:14 +01:00
bbbff34952
easily toggle rendering from hbl + avoid unnecessary halt after waiting for rendering when hbl render is off
Daniel Borges2019-01-03 19:40:43 +01:00
ea8f0df43d
faster loading of lines left in render routine
Daniel Borges2019-01-03 19:26:44 +01:00
06d426ff3b
only check for lines left, not tiles, when starting render
Daniel Borges2019-01-03 14:12:33 +01:00
fa38bc45e9
swapped HL and DE in render routine so that we can 'inc e' since the video pointer low byte never overflows
Daniel Borges2019-01-03 10:08:17 +01:00
b7b00de3a5
use B and C registers for line and tile counters in rendering
Daniel Borges2019-01-03 01:09:44 +01:00
c21a794db9
share low byte of new/old pointers, compute directly from WRAM without loading in HRAM
Daniel Borges2019-01-03 00:56:04 +01:00
bdaa79be08
faster automata update + restored wait rendering because it's apparently necessary for some reason...
Daniel Borges2019-01-01 23:36:56 +01:00
dc3f21078c
faster pointer increment while loading to hram + don't wait for rendering, update is too slow anyway
Daniel Borges2019-01-01 23:19:53 +01:00
5d4a97c70d
table based branchless automata update resolution. Actually not much faster, but at least has a stable execution time
Daniel Borges2019-01-01 18:36:48 +01:00
6429f8ec92
avoid fully recomputing HL while loading cells to HRAM, 10 => 9 VBLs
Daniel Borges2019-01-01 02:53:41 +01:00
358f0912fc
it's not necessary to load mask into A, and can use direct value too! 11 => 10 VBLs
Daniel Borges2018-12-31 14:26:57 +01:00
1c927caba1
avoid resetting D to HIGH(BitsSet) unnecessarily
Daniel Borges2018-12-31 14:23:56 +01:00
69bba61dcf
faster way of counting bits set. 12 => 11VBLs
Daniel Borges2018-12-31 14:21:49 +01:00
9478fd7e24
use L register to store result, not C, how could that have ever worked huh? I must have forgot to reload the rom when testing... Also, I now use a macro to load neighbors to avoid the loop, much faster. We're now down to "12 VBLs" to update the automata
Daniel Borges2018-12-31 14:01:35 +01:00
6d3db56244
use C register to store 2x2 updated cell, instead of HRAM byte
Daniel Borges2018-12-31 13:34:20 +01:00
ab06a7db5a
use H register instead of HRAM byte to store alive neighbor count
Daniel Borges2018-12-31 02:21:18 +01:00
da8f88d72c
better interrupt handling, rendering in hbl still too slow, much faster automata update by only reading necessary neighbors
Daniel Borges2018-12-31 02:09:14 +01:00
798e11c1d4
split totaltorender into linesleft and tilesleft, makes rendering code simpler and faster
Daniel Borges2018-12-30 16:02:03 +01:00
a92f2dfd17
do not disable screen while computing, wait h-blank before reading to vram. Simple implementation, awfully slow, at least doesn't blink :)
Daniel Borges2018-12-26 16:18:52 +01:00
1bd335dd56
made memory copy a function instead of a macro
Daniel Borges2018-12-26 15:56:35 +01:00