-
Notifications
You must be signed in to change notification settings - Fork 30
Adding screenshot feature #355
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
Comments
dd34855 : The dump is incomplete, but looks much better. |
I've made a lot of progress in 6940b69. 400plus is now o 8000 utputting BMP files : However, as you can see, there are some random glitches on those screenshots (which were taken with a 5 sec interval). I think I'll try to dump the whole VRAM to a buffer, and then save it as a BMP file. Anyway, we're approaching our goal 😃 |
Dumping the whole buffer before copying it to the CF card didn't make a difference. Any ideas? |
AFAIK, you are not dumping the VRAM, but a buffer that (eventually) gets written to the VRAM; there is no guarantee that such buffer is clean when you access it, and thus the glitches. I would try to copy the buffer at "display_overlay" to somewhere else in memory, and later dump to the CF. |
The VRAM is double buffered. There is one thing I do not remember. p.s. |
I believe, you can get the pointer the the mirrored buffer by putting some debug in this function: hack_invert_olc_screen(char *dst, char *src, int size). |
Maybe we're missing the color palette, like the one you have on the 5DC ? |
Not to ruin this party (great work 👍, the Wiki could use some screenshots) with an out-of-the box idea: |
This would be really helpful for writing guides. I'm currently working on it, you can follow my progress on the branch screenshots.
So far, I can produce some malformed PPM files :

The text was updated successfully, but these errors were encountered: