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.
Zoom rotator [test]
Forum rules
Be nice. No drama.
Be nice. No drama.
Re: Zoom rotator [test]
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
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
- Attachments
-
- Bildschirmfoto 2023-11-07 um 16.23.59.png (68.56 KiB) Viewed 2864 times
-
- Bildschirmfoto 2023-11-07 um 16.12.47.png (46.1 KiB) Viewed 2864 times
Re: Zoom rotator [test]
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.
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]
Hello
I rewrote all code to vX0 asembler. Now is much faster but without rave
Source: http://changeit.ppa.pl/ftp/rotator_vx0.asm
I rewrote all code to vX0 asembler. Now is much faster but without rave
Source: http://changeit.ppa.pl/ftp/rotator_vx0.asm
- Attachments
-
- rotator_vx0.gt1
- (358 Bytes) Downloaded 38 times
Re: Zoom rotator [test]
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
This is for a dev7 machine with at least 64k.
You can run it on https://www.gigatron128k.com
- Attachments
-
- rotator.tar.gz
- (1.4 KiB) Downloaded 6 times
-
- rotator_dev7_64k.gt1
- (6.98 KiB) Downloaded 6 times
Re: Zoom rotator [test]
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!)
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!)
- Attachments
-
- rotator.tar.gz
- (1.6 KiB) Downloaded 5 times
-
- rotator_dev7_64k.gt1
- (22.93 KiB) Downloaded 4 times
-
- rotator_v6_64k.gt1
- (23.26 KiB) Downloaded 5 times
-
- rotator3.png (48.23 KiB) Viewed 62 times
Re: Zoom rotator [test]
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.
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]
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…
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…