Re: Long term dev plan
Posted: Tue Apr 08, 2025 5:50 pm
I think it does work, but I don't think it's valid c++. It's part of c99.I don't like the idea of using a zero-sized array for the data block; this is an extension in GNU C but I'm not sure it would necessarily work in Visual C++.
We can use data[1] instead, and that is legal c++. This should be fine because the the minimum size that can be written is 1 anyway.
Do you know what the reserved memory address range is? There must be a chunk that is reserved for writing these memory updates. If I can get my head around how these update buffers were working I can fix the frame timing which currently starts off vblank randomly half way through the frame lol.