08-03-2019, 06:49 PM
You could always use YS's Easy Extender. Take a look at the graphical speedometer code made by Star (http://mkwii.com/showthread.php?tid=911) Take a look at the source that is using the universal meter address.
It takes the speed, uses a sprintf function, then draws it to screen using what YS had in his original Easy Extender.
There's a couple of small typos on Star's source. Pushing the rtoc on the stack, and 'fabs r1, r1' (suppose to be f1 f1). I imagine the compiler sees that error and still compiles it correctly.
UPDATE
Small edits to source. Compiled code and test. It is working 100%. All i gotta do is move the graphical to the center. I could trim down the code a bit by allocating more stack space and using that to dump the real time there, but i'll just stick to the exception vectors.
It takes the speed, uses a sprintf function, then draws it to screen using what YS had in his original Easy Extender.
There's a couple of small typos on Star's source. Pushing the rtoc on the stack, and 'fabs r1, r1' (suppose to be f1 f1). I imagine the compiler sees that error and still compiles it correctly.
UPDATE
Small edits to source. Compiled code and test. It is working 100%. All i gotta do is move the graphical to the center. I could trim down the code a bit by allocating more stack space and using that to dump the real time there, but i'll just stick to the exception vectors.