|
Post by eslapion on Jul 24, 2016 2:57:52 GMT
C128Man Now try this program (on the 128 in 64 mode): 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,27 Please tell me the result...
|
|
|
Post by 8bitheaven on Oct 31, 2016 19:58:48 GMT
After running this code I get A=2.00041079;T=34; What are you trying to show?
|
|
|
Post by eslapion on Jun 10, 2019 15:01:28 GMT
After running this code I get A=2.00041079;T=34; What are you trying to show? The pokes will turn off the display then activate the 2MHz mode even if you're in C64 mode. This should give you a C64 which runs at twice the speed when the display is disabled. Compare to: T=34 is indeed faster than 73... even faster than the C128 in fast mode with 41.
|
|
|
Post by hydrophilic on Jun 13, 2019 8:13:21 GMT
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.
|
|