4 ms·
If so, “sprite location could be calculated right up until the moment the first row was drawn to the screen” is a tad optimistic. In theory, you could, but on
by Someone 6y ago
If so, “sprite location could be calculated right up until the moment the first row was drawn to the screen” is a tad optimistic.
In theory, you could, but on the Atari 2600, during screen drawing, the CPU cycle budget for each line was 76 cycles (see https://cdn.hackaday.io/files/1646277043401568/Atari_2600_Programming_for_Newbies_Revised_Edition.pdf https://cdn.hackaday.io/files/1646277043401568/Atari_2600_Pr...). Rounding up, that’s 40 instructions, and if the current line is different from the previous one, you’d have to update memory from that same budget.
Because of that, reading of user input and updating of player/object positions typically/always was done during the vertical blank interval.