OK this is CPU bound, much precalculating required
This commit is contained in:
parent
f3913286eb
commit
bd47027b4a
6
main.c
6
main.c
|
@ -30,7 +30,10 @@
|
||||||
#include "bun.h"
|
#include "bun.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This barely gets 50fps on an A1200 but I'm leaving it for now. Potential improvements:
|
* This barely gets 50fps on an 020 but I'm leaving it for now.
|
||||||
|
* The demo is definitely CPU bound.
|
||||||
|
*
|
||||||
|
* Potential improvements:
|
||||||
*
|
*
|
||||||
* [ ] Precalculate even more of bun.c. This may get 50fps on an A500 if I do this.
|
* [ ] Precalculate even more of bun.c. This may get 50fps on an A500 if I do this.
|
||||||
* It would require more significant caching of as much stuff as possible.
|
* It would require more significant caching of as much stuff as possible.
|
||||||
|
@ -374,6 +377,7 @@ int main(void) {
|
||||||
if (i > FRAMES_FOR_SCREEN) i = 0;
|
if (i > FRAMES_FOR_SCREEN) i = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// somthing in here causes an A500 in KS 1.3 to crash
|
||||||
giveBackSystem();
|
giveBackSystem();
|
||||||
teardownKeyboard();
|
teardownKeyboard();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue