My Simple 512K RAM addon, completes this benchmark in 17secs.
Code: Select all
100 ram=RESPR(16): RESTORE 140
110 FOR p=ram TO ram+14 STEP 2: READ x: POKE_W p,x
125 t=DATE: CALL ram
130 PRINT "Test complete in ";DATE-t;" seconds."
140 DATA 28771,29439,20937,-2,20936,-8,28672,20085
Can it stand any good to Trump?
You have a very fast RAM addon
. I got the following results:
Internal RAM (128K): 33 s
Trump Card: 24 s
Gold Card: 5 s
Also try this on your machine after entering A=RESPR(512*1024), the next time you run this your code should get into internal RAM (below $40000) and you should get about 33 s.
That said, I think just altering the timing constants for waiting loops won't solve the issue. The problem is that internal RAM delay because of video RAM access is not constant, but varying since the 8301 will leave the RAM alone for a while during horizontal and vertical retrace, so it can run at full speed for a couple of hundred microseconds. Then the next frame begins and the 8301 has to read the RAM again for the next scan line, and so on. I've seen this while writing code for a cassette tape interface (seriously!) where the signals were generated by software (I'm only talking about a few kHz here, not the 100kHz at which the MDVs operate). Running this in video-accessed RAM produced only distorted signals, not just lower tones as would be the case with constant speed.