It looks complicated but it’s really not if you break it down into small bits and think of it like you would with a piece of software I.e. abstractions.
It looks complicated but it’s really not if you break it down into small bits and think of it like you would with a piece of software I.e. abstractions.
It covers some things that are rather counterintuitive, especially if you come from a modern programming background.
Now is it complicated? No not really, I read the answer and immediately understood what was going on.
But no modern programmer would ever come up with the solution of addressing x and y positions by setting timers to wake at the times when the point in the scan-line or the scan-line in the frame was reached (although sleep-sort does exist).
If anything, the point of the post is the fact that it's very easy to understand, despite how counterintuitive it may be.
This is also how the video hardware on CPU based consoles and home computers worked. They had counters and used them to either index into a frame buffer or look up hardware sprites, or both. Some machines did it more or less entirely in software (e.g. the ZX-80).
http://blog.tynemouthsoftware.co.uk/2023/10/how-the-zx80-gen...
Of course there are modern programmers who still do this today, bit-banging VGA on little microcontrollers and the like.
>Now is it complicated? No not really, I read the answer and immediately understood what was going on.
Seems like you agree? Not sure why you asked if the parent poster RTFA.
Many come here just for the comment section and the discussions, not the article per se.
Much like he seemed to have missed the point of the post, you seem to have missed my point about him seeming to miss the point of the post.
I'm guessing you'd need to solder on your debugging tools (oscilloscopes?) in parallel, since anything else would completely invalidate anything that you were trying to do.
It honestly sounds like a recipe for Heisenbugs.
I would say it’s only fairly recently we stopped needing to do this - when we moved to graphics mode operation systems (oh god I say fairly recently but thinking now it’s probably close to 30 years ago yikes). I’m thinking Garmin app developer may still need to do it