| > programmation de jeux > Small Tip in order to improve Oric Speed (for game |
| 2 posts 1 page |  |
LadyWasky (admin) SOS can do everything | Posted Thursday, February 14th 2008 10:50PM |  |
 255 posts | Hello, here a tip I expose to you all, exposed in the first issue of Microric,
If you want to temporarily speed up your Oric-1 (ATMOS) for some computational needs or drawing, you can do so by disabling the Keyboard !!!
Here the algorithm :
1) Disable the Keyboard Polling : CALL #E6CA (#E76A)
2) Drawing or computational Stuff
3) Reenable the keyboard : CALL #E804 (#E93D)
It works great !!!
Try it !!!
For Oric 1
10 CALL #E6CA
20 ....
30 ...
40 ....
50 ....
60 ...
70 CALL #E804
Of course, it works too in C (when you program with the OSDK)
#include <lib.h>
void main()
{
call(0xe6ca);
//some drawing or computations here....
....
//end of job
call(0xe804);
}
 Y'a t'il d'autres oriciennes ? Je me sens seule ! ^^ |
LadyWasky (admin) SOS can do everything | Posted Saturday, April 5th 2008 12:02PM |  |
 255 posts | The addresses given were for Oric-1, Now, atmos values are given too
 Y'a t'il d'autres oriciennes ? Je me sens seule ! ^^ |
| 2 posts 1 page |  |
| > programmation de jeux > Small Tip in order to improve Oric Speed (for game |