jacobly
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
could also do the graphx thing where we wait on the first draw call, but that still requires calling a function before accessing the framebuffer so seems better to just have the user call it once and save cycles
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
the point is you can still put everything in
render
and get the same behavior as before565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
the upcoming merge will just have
update
that acts like the render
I just described565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
@Robin what's your thoughts on splitting
update
into update
and render
where update
runs concurrently to lcd dma and render
waits for dma to complete before getting called and doesn't start dma until it returns565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
what, whoever created this PR it was not up to date
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
the dma doesn't start until update returns
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
no, not one
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
yeah these display are always portrait (these days), if it's landscape it's rotated
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
that's now how the dma currently works, it probably has something to do with me changing the refresh rate of the lcd
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
ok that's too much for the easy solution
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
how much space do you need btw?
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
the external flash is just connected to cpu pins that can be used for other purposes, so the cpu has no way of knowing if there is flash or not without some code to set it up
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
but the internal flash contains things like the initial stack pointer and instruction pointer, so that kind of has to be able to set itself up without any program code running
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
note that both of the flash types support read/execute from memory addresses
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
it's just a different interface than writing random access bytes
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
flash cells are not physically written the same way ram cells are, so that only works for read/execute not write
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
nobody has written a driver for that either
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
nobody has written a driver for the external flash yet which is what the flash api is supposed to access
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
lol, so there's internal flash on the SoC and an external flash chip as part of the design, those memory regions are just partitions of the internal flash which is used for all read-only sections, such as code, read-only data, and writable data initialization
565 replies
SYCSoftware You Can Love & Zig SHOWTIME
•Created by aurame on 5/14/2024 in #sycl24-activities
Day 1 Tables and Badges
I think you didn't clip y in vline
565 replies