Hello
Last time i was wondering how fast is Gigatron.
I implemented algorithm draw lines by Bresenham's method.
This is only for tests and nothing else.
Second bline2.gt1 file draw only horizontal lines and is see how much times is needed for one line.
Change color says about end of the frame.
64k version.
http://blabla.ppa.pl/ftp/usr/Phibrizzo/ ... /bline.lha
Draw lines [tests]
Forum rules
Be nice. No drama.
Be nice. No drama.
Re: Draw lines [tests]
In my emulator, timing errors are reported at the end of each sweep for both versions. Also version 2 try's to write to address 0.
Re: Draw lines [tests]
Yes, i forgot about loop, now i ok. (strange, on real hardware with DEVROM is autoloop running program)
And I did one optimalization and now is very little bit faster.
Link the same.
And I did one optimalization and now is very little bit faster.
Link the same.
Re: Draw lines [tests]
Yeah, that's better, no more timing issues and definitely noticeably faster as well, also runs fine on my new version of ROMvX0.
Re: Draw lines [tests]
I did some optymalizations (demoscene perverts, and how says my mentor: "Algorythm non-optimal is always wrong").
Now algorythm is shorter (182 bytes) and little bit faster too.
Link the same.
Now algorythm is shorter (182 bytes) and little bit faster too.
Link the same.