kieranhj / stnicc-beeb

Port of STNICCC-2000 for the BBC Micro.

Home Page:https://bitshifters.github.io/posts/prods/bs-beeb-niccc.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stream runs out of data in low quality mode

kieranhj opened this issue · comments

Can’t quite complete the sequence - crash on frame &653 when swapping to final disc. Our stream read ptr catches the load to ptr. It’s running too fast!!

I added a quick check only for when the frame aligns back to the start of the stream buffer to see if we're still loading that memory and block if so. It fixes the low quality buffer problem but still get glitches in wireframe mode as it's consuming data too fast not just when the frame aligns.

This blocks on a real floppy at low quality when switching to the last disc. It's not terrible and it doesn't crash. Might improve if/when we shift where the drive switches take place.

Still bust in medium quality for me in b2 (haven't tested on my Master). High and low quality run to completion.
image