djcouchycouch wrote:
I often check out the repository. But unless I'm looking at the wrong thing, the last commit was on Sep 20, 2012?
http://code.google.com/p/sgdk/source/list
The changes you did for the Window plane haven't been committed yet?
True.. i have to admit i do not commit a lot more that i am doing new releases of SGDK so that won't really help here.
I should commit on a regular basis, that could help users who want to test last changes and beta test stuff !
Anyway as i mentioned in another post, the only change i made for the window is the WPLAN define and the vdp registers initialization (i now use the 'define' instead of direct values for plan addresses).
Maybe once SGDK matures it might be a good idea to do pass where certain important functions are converted to assembler. (if it's not the case already) I think it's important to have a C interface for users, but internally I'd lean towards getting it to run as fast as possible.
Of course that make sense, actually for critical parts i try to use optimized C code when we don't have assembly code. And more and more convert some methods to assembly when needed. The 68k is maybe faster than a 6502 but still it is a very old cpu and we cannot waste cycles
But so far I'm pretty satisfied with its current performance.
Thanks
I think it is also important to keep the code "readable" as users would have a look at it to learn. The hard part is to find the good compromise between readability and performance, so far, SGDK is not that bad for that
Of course users feedback is important, i remember someone mentioned poor performance of setPalette(..) methods which should be fast... i switched to ASM code and now they should be fast.