Page 1 of 1
Zoom rotator [test]
Posted: 28 Oct 2023, 18:24
by Phibrizzo
Hello
I wanted to transfer one demo effect like in this old intro:
https://www.youtube.com/watch?v=_YklhD7 ... e=youtu.be
I did it, but doesn't look impressive
64k needed.
Edit: i did some optymalisations. Now is little bit faster.
Re: Zoom rotator [test]
Posted: 07 Nov 2023, 15:28
by petersieg
Thx.
In gtemuAT67 with ROMv5a it runs. It looks like attached pictures.
In gtemuAT67 with ROMv6 it crashes?
In real hardware, with ROMv6 and 128k RAM, it runs, and looks similiar (but not identical) to attached pictures.
best, Peter
Re: Zoom rotator [test]
Posted: 08 Nov 2023, 09:46
by Phibrizzo
Thanks for testing.
Yes, i dont know why emulator is freezing after 5-10 minutes.
On real hardware is ok. Maybe is something like leak to memory (hit).
I did all tests on ROMv5a/6 and 64 kB.
Re: Zoom rotator [test]
Posted: 28 Nov 2024, 19:46
by Phibrizzo
Hello
I rewrote all code to vX0 asembler. Now is much faster but without rave
Source:
http://changeit.ppa.pl/ftp/rotator_vx0.asm
Re: Zoom rotator [test]
Posted: 05 Dec 2024, 01:40
by lb3361
Here is another one, with adjusted ambitions and a brutal implementation.
This is for a dev7 machine with at least 64k.
You can run it on
https://www.gigatron128k.com
Re: Zoom rotator [test]
Posted: 05 Dec 2024, 23:38
by lb3361
Here is a slightly better one.
The previous one worked by compiling a table of pixel addresses to copy. This one works by generating a vCPU routine to the same effect but twice faster (allowing for a 40% greater image size). It is also a little less robust because it does not scan the image in a spiral (for speed reasons) but always scans left to right or top to bottom. As a result it is easier to overwrite parts of the image than we'll need later. The remedy is to carefully select the rotation angle and the zoom factor. However this changes makes it also work quite well on ROMv6 (or even ROMv4!)
Re: Zoom rotator [test]
Posted: 07 Dec 2024, 22:30
by Phibrizzo
Hello
Your effect is very spectatular
I tested previous version for dev7 on real hardware but not working. Propably i have too old version of this rom.
I hat to use emulator.
Where can i find latest version of dev7 rom?
Second version woking very well on ROMv6.
Re: Zoom rotator [test]
Posted: 08 Dec 2024, 00:46
by lb3361
https://github.com/lb3361/gigatron-rom
I added the leeks/lokea/copys instructions on Oct 19 and also changed the c compiler to take advantage of them. I guess that was the problem…