eflake Posted December 8, 2017 Share Posted December 8, 2017 Running atari emulator 3.0.0 the dot isn't smooth. using color 65/plot x,10 then color 0/plot x,10 to clear it. Trying to remember, should it be smoother on a real atari? Or is there a smoothness setting for the emulator? Quote Link to comment Share on other sites More sharing options...
+Nezgar Posted December 8, 2017 Share Posted December 8, 2017 Are you doing this in a basic program? Which Graphics mode? if Graphics 8, maybe you're seeing emulated artifacting? Quote Link to comment Share on other sites More sharing options...
eflake Posted December 8, 2017 Author Share Posted December 8, 2017 Here it is.. had to put into Altirra emulator as copy and paste works well there. There is a little less flicker with altirra but still has a little. 10 GRAPHICS 3+16 20 FOR X=0 TO 39 30 COLOR 65 40 PLOT X,10 50 FOR T=1 TO 50:NEXT T 60 COLOR 0 70 PLOT X,10 80 NEXT X 90 GOTO 20 Quote Link to comment Share on other sites More sharing options...
Rybags Posted December 9, 2017 Share Posted December 9, 2017 (edited) Since Basic is slow it'll flicker. Can be made more bearable - stack statements on lines for a bit of speedup. Put the once used stuff before the loop in a subroutine around 1000 to speed up loops. For your program there, remove lines 60, 70. Then change: 30 COLOR 0 : PLOT XP,YP : COLOR 1 : PLOT X,10 : XP=X : YP = 10 Gr. 3 only has 4 colours (0-3) so no point trying for color 65. Edited December 9, 2017 by Rybags Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted December 9, 2017 Share Posted December 9, 2017 (edited) 10 GRAPHICS 3+1620 FOR Z=0 TO 39:PLOT X,10:COLOR 1:PLOT Z,10:X=Z30 FOR T=0 TO 47:NEXT T:COLOR 0:NEXT Z40 GOTO 20 OR 10 GRAPHICS 3+1620 FOR Z=0 TO 39:PLOT X,10:COLOR 1:PLOT Z,10:X=Z:FOR T=0 TO 47:NEXT T:COLOR 0:NEXT Z30 GOTO 20 Edited December 9, 2017 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted December 9, 2017 Share Posted December 9, 2017 (edited) just a little more... 10 GRAPHICS 1920 FOR Z=0 TO 39:PLOT X,10:COLOR 1:PLOT Z,10:X=Z:FOR T=0 TO 47:NEXT T:COLOR 0:NEXT Z:GOTO 20 Edited December 9, 2017 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
+Nezgar Posted December 9, 2017 Share Posted December 9, 2017 (edited) Just tried the original code and The doctors optimized code on real Atari with CRT... The original code has a very barely slight additional flicker compared to the optimized code, but really only because I'm looking for it haha. Interesting to see the optimization of the code. Edited December 9, 2017 by Nezgar Quote Link to comment Share on other sites More sharing options...
eflake Posted December 9, 2017 Author Share Posted December 9, 2017 Thanks, it's better. Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted December 9, 2017 Share Posted December 9, 2017 (edited) now just for fun play with values of T. It can be used to show some tricks depending on monitor and especially lcd tv's.... pick a value of... 7 looks good? now 3.... hey what happened? 15 looks good? now nudge it up or down a number at a time.. the block scoots forward or slides back, intensity may change to your eye 31 etc etc.. This happens because the picture is black during the drawing of our object... the monitor is out of sync with our source... on a real CRT it will be synchronized and drawn as the beam arrives then it persists due to phosphorescence and our own eyes on an LCD if it's not there during processing, it drops it.... so by varying the delay you change the relationship, the plotted point will blink out of existence, appear to jump forward or slide possibly jerk back... even what you perceive as surging or lagging....on a CRT you can kind of get the same results but it's not as easy to do... I really dislike modern displays for so many reasons in order to do justice to any real video, a VGA should refresh at 72 hz that's 3x the cinema 24 rate..... that so much material already exist at 'movies experience' that same rate is why flat panels say motion rate 240... it's 10 time the rate of 24..... why so high.... because anything less can be terrible on an all on all off screen or gets missed during decoding.... even if they output it at some crappy 60 or 120 output rate, it samples it that many time and includes all the changes in the frame that it sends to the lcd matrix... covering up the miss match a little... that's why I look for a true lcd panel rate not the motion rating or such other rating... Edited December 9, 2017 by _The Doctor__ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.