Re: Benchmarking
Posted: Sat Nov 07, 2020 9:03 pm
I have just added data for the Atari 800XL. Its Basic was really slow. It is interesting that Atari enthusiasts have completely rewritten ROM (Altirra ROM Basic, 2014) and this Basic about 160% faster for the ASCII Mandelbrot!
EDIT. It is also worth to mention that there is no way to write 100% portable Basic program. Atari Basic works with strings differently, and it doesn't support the timer. So I had to add or change the next lines.
EDIT. It is also worth to mention that there is no way to write 100% portable Basic program. Atari Basic works with strings differently, and it doesn't support the timer. So I had to add or change the next lines.
Code: Select all
164 DIM C$(19)
166 POKE 82,0 : POKE 83,39 : GRAPHICS0 : REM PROPER MARGINS
170 C$ = ".,'-=+:;[/<&?oxOX# " : REM 'PALLET' LIGHTEST TO DARKEST... - no tilda
290 Q0 = PEEK(20): Q1 = PEEK(19): Q2 = PEEK(18)
460 PRINT C$(CC - 1, CC - 1);
470 NEXT X
490 NEXT Y
505 T0 = PEEK(20): T1 = PEEK(19): T2 = PEEK(18)
510 PRINT ((T2 - Q2)*65536 + (T1 - Q1)*256 + (T0 - Q0)) / 50 : REM 60 FOR NTSC