Commit Graph

25 Commits

Author SHA1 Message Date
05f231d8ba Add documentation. 2022-11-04 21:44:20 +01:00
a5b5fb17c6 Code finalization for bouncing sprite. 2022-11-04 21:43:50 +01:00
b76ec5e498 Use 16bit TIMER1 to sweep more horizontally. 2022-11-04 21:43:45 +01:00
51fdaab28d Add bouncing sprite. First experiment. 2022-11-04 21:43:24 +01:00
aed259522b Fix comment. 2022-11-01 16:28:19 +01:00
a3fc600996 Rewrite some non-real-time initialization code in C. 2022-10-08 15:11:59 +02:00
d645c1ada2 Add documentation. 2022-10-08 14:03:48 +02:00
6137f21b48 implemented transition mode
if transition_mode pin is high, then images are shown continuosly
(eg the next image is shown as soon as the next_image button is pressed)
but if transition_mode pin is low, then, when you press the button, the
current image disappears, and the next one appears when you press the
button again
2021-08-12 22:53:27 +02:00
826234a93d multiple frames 2021-08-12 18:26:03 +02:00
8de9e10f39 avoid bouncing when starting/resetting 2021-08-11 22:26:35 +02:00
8fde6f1e74 some comments and minor fixes 2021-08-11 21:23:00 +02:00
eaef011cbd generates an hardwired test pattern
This does not work as expected, and I don't understand why.
Clock cycle count seems ok, but if there are no changes in the pixels,
it seems to go faster
2021-08-11 09:04:59 +02:00
5bb884c502 hardwired jump table
This makes the microcontroller very application dependent,
but may save use some headaches.
The idea is to write a program to produce the code to show a
complex drawing.
2021-08-10 09:26:51 +02:00
1764a5f2b3 line buffer dynamic update 2021-07-03 15:44:01 +02:00
9eaf78d6b5 introduced line buffer of 160 pixel 2021-07-03 15:02:01 +02:00
77b1858311 using a prescaler (eg /64) may lead to horizontal offset errors
because 1cycle off actually means many cycles off (eg 64)
2021-07-03 12:05:49 +02:00
2abac03779 semi working timer for skipping back porch 2021-07-03 11:54:31 +02:00
48da25958e back porch skipping, wasting clock cycles, basically 2021-06-28 21:54:25 +02:00
1f3f3f36f2 line, frame as words (16 bit) 2021-06-28 21:38:39 +02:00
0448c64be4 do nothing while not in interrupt 2021-06-27 23:08:47 +02:00
f3ce016a06 vertical line, scrolling from left to right
sufficiently handles the back/front porch without disrupting the sync
signal
todo improvement: compute a sensible amount of cycles to waste during
the porch
2021-06-27 22:37:11 +02:00
14fd0412d4 something strange is happening 2021-06-27 21:57:02 +02:00
97e0ff26fa "diagonal line"
not the whole screen, but vertically locked
actually it has some issues, there is a single dot (at the
end/beginning of a cycle) that messes up the horizontal sync and moves
all the picture... must be fixed
2021-06-26 23:42:23 +02:00
29990cd93a "diagonal line"
not vertically locked, just a test
also not the whole screen, just a bit
2021-06-26 22:34:22 +02:00
b7004a0171 first commit
vertical line at about 1/3 of the horizontal line
2021-06-26 19:15:17 +02:00