Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading SCANLINE_L doesn't appear to work like hardware #311

Open
Yazwh0 opened this issue Oct 13, 2024 · 2 comments
Open

Reading SCANLINE_L doesn't appear to work like hardware #311

Yazwh0 opened this issue Oct 13, 2024 · 2 comments

Comments

@Yazwh0
Copy link

Yazwh0 commented Oct 13, 2024

I'm not sure how its not working, as my intent was to read IRQLINE_L, but its def different between the emulator and hardware. Maybe off by one?

@Yazwh0
Copy link
Author

Yazwh0 commented Oct 13, 2024

To give context, I was reading the value adding 2 and storing into IRQLINE_L to get a line interrupt on the next line. This worked on the emulator, but didn't on hardware. Is SCANLINE_L based on the line being rendered into the buffer, vs IRQLINE which is the line being rendered out of the buffer?

@mooinglemur
Copy link
Contributor

Most of the video code was written before hardware prototypes were in the hands of those writing the code. It likely needs a rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants