Did a bit of optimizing this morning.
Animating 8000 rabbits in #uxn before at 60 FPS, on a 12 years old laptop. 🐰
This entry was edited (1 year ago)
Did a bit of optimizing this morning.
Animating 8000 rabbits in #uxn before at 60 FPS, on a 12 years old laptop. 🐰
Devine Lu Linvega
Unknown parent • • •fox
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to fox • • •You can see for yourself 😀
https://git.sr.ht/~rabbits/uxn/tree/main/item/projects/examples/demos/bunnymark.tal
~rabbits/uxn: projects/examples/demos/bunnymark.tal - sourcehut git
git.sr.htfox
in reply to Devine Lu Linvega • • •lol at Mastodon gif transcoding 😁
Devine Lu Linvega
in reply to fox • • •Devine Lu Linvega
in reply to fox • • •64kb ;)
atsuko
in reply to Devine Lu Linvega • • •trying to run it on X11 circa 1998 (Solaris 7) and it’s few FPS :< patches are coming. but first, writing my first tal program to scroll an image over a screen to test videospeed
Devine Lu Linvega
in reply to atsuko • • •Devine Lu Linvega
Unknown parent • • •It turned out that this is where the emulator wasted most of its time.
Devine Lu Linvega
Unknown parent • • •#1234 .Screen/x DEO2:
deo(0x28, 0x12)
deo(0x29, 0x34)
the deo function is super heavy to begin with, but not only that, it's just not needed in this case, all we want is to write 2 bytes in memory, no need to call any function because not screen event will trigger anyways.
Devine Lu Linvega
Unknown parent • • •Devine Lu Linvega
Unknown parent • • •flame
in reply to Devine Lu Linvega • • •floatvoid
in reply to Devine Lu Linvega • • •Devine Lu Linvega
in reply to floatvoid • • •