0 Members and 3 Guests are viewing this topic.
Cls0->AWhile A<1000A+1->ABlack Locate 1,1,AWend
Clrhomefor(A,0,1000disp Aend
Prizm Code: [Select]ClsFor 0 -> A To 1000 Black "ANext
ClsFor 0 -> A To 1000 Black "ANext
Quote from: z80man on December 31, 2010, 03:30:52 pmPrizm Code: [Select]ClsFor 0 -> A To 1000 Black "ANextOptimized for ya
For 1000 ->A To 0 Step -1
It seems weird, but if you don't give a color command in a basic draw instruction the default color is green. Also a ran a speed test on the Prizm basic vs. a TI 84+ SE on basic. When the Prizm finished the 84 was only up to 230. I have yet to figure out the for loop on the Prizm.Prizm Code: [Select]Cls0->AWhile A<1000A+1->ABlack Locate 1,1,AWendTi 84+ SECode: [Select]Clrhomefor(A,0,1000disp Aend
Weird about the color. Nice to see loops are faster on the Prizm, though. Did you try with For instruction?
Sorry if this was already answered, but do we know the speed and type of processor that the Prizm has?
Quote from: Hot_Dog on December 31, 2010, 05:01:38 pmSorry if this was already answered, but do we know the speed and type of processor that the Prizm has?SuperH 3, running at 29 MHz (speed can be increased).
Quote from: DJ Omnimaga on December 31, 2010, 04:12:23 pmWeird about the color. Nice to see loops are faster on the Prizm, though. Did you try with For instruction? I did try the for instruction, but it is only a little faster than a while loop. After optimizing the 84's code the Prizm was actually slower by about 25%.
Quote from: JosJuice on December 31, 2010, 05:15:36 pmQuote from: Hot_Dog on December 31, 2010, 05:01:38 pmSorry if this was already answered, but do we know the speed and type of processor that the Prizm has?SuperH 3, running at 29 MHz (speed can be increased).How much can it be increased? 29 MHz is SO SLOW!