screen 8 smooth horizontal scrolling

Pagina 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |

Van max_iwamoto

Hero (644)

afbeelding van max_iwamoto

19-02-2022, 23:17

ARTRAG wrote:

Same kind of corruption?

Yes, very similar. And different timings do not change much.

Van PingPong

Enlighted (4140)

afbeelding van PingPong

20-02-2022, 00:25

maybe can i suggest another approach?
the idea:
1) launch a vram fill command with one solid color at full screen. (high speed)
2) wait for a scanline begin
3) issue, with a regular interval R18 updates for exactly no more than an entire scanline, the regular interval could be 14 z80 cycles, so a bunch of out (c),a with c=0x98
4) if there is a safe period, maybe the distribution of corrupted pixels can give us some hint about the problem.

For example, if we see a even distribution for the entire scanline we know that there is no good interval to do this R18.
Maybe there could be some area where corruption do not occour opening the door to some ideas

Van ARTRAG

Enlighted (6935)

afbeelding van ARTRAG

20-02-2022, 15:43

Do you have a test code to propose?

Van ARTRAG

Enlighted (6935)

afbeelding van ARTRAG

27-02-2022, 14:58

For those curious on the original subject
https://github.com/artrag/SDCC-msx2-side-scrolling-platform-...

Graphics are placeholders

Pagina 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |