5 POKE53265,11:POKE53296,253 10 T=TI 20 A=2 30 FOR I=1 TO 20 40 A=SQR(A) 50 NEXT I 60 FOR I=1 TO 20 70 A=A*A 80 NEXT I 90 PRINT "A=";A 100 PRINT "TIME=";TI-T 110 POKE53296,252:POKE53265,27Please tell me the result...
Several commercial "C64" games/apps would 'POKE' the VIC register (like your example) to gain 2MHz speed for short periods of time... this would only benefit C128 users in 64-mode.
Since this has already been done (it is 'trick' so old it has become a 'technique'), I am curious why you (eslapion) are asking about this?
Yes, T=34 is faster in C64 mode than T=41 in C128 mode (when using 2MHz trick), but this is because BASIC v2 of C64 is simpler (faster) compared to BASIC v7 of C128. If the program was written in assembly (instead of BASIC), there should be no significant difference.