Cpu speed test rom (md+scd)

Announce (tech) demos or games releases

Moderator: Mask of Destiny

Chilly Willy
Very interested
Posts: 2784
Joined: Fri Aug 17, 2007 9:33 pm

Re: Cpu speed test rom (md+scd)

Post by Chilly Willy » Tue Mar 19, 2019 3:05 pm

Very interesting. You might add more speed tests for the sub cpu showing the speed in program ram vs word ram vs communication regs.

Ti_
Very interested
Posts: 82
Joined: Tue Aug 30, 2011 7:50 am

Re: Cpu speed test rom (md+scd)

Post by Ti_ » Tue Mar 19, 2019 9:11 pm

I made it from VRAM...
(filled all vram with code:
add_tacts
add.l d2,d0
bra.s add_tacts).
also 'rte' after v-int, was replaced with manual returing (in 50% happens returning to $c00002 but with first opcode?)
test non-repeatable , goes only 2 seconds: , after I load numbers to vram to show result.

5,414
also 2,435 if display is on:
Attachments
vram_disp_off.png
vram_disp_off.png (87.07 KiB) Viewed 1102 times
test_cpu_(VRAM).7z
(4.02 KiB) Downloaded 26 times

Chilly Willy
Very interested
Posts: 2784
Joined: Fri Aug 17, 2007 9:33 pm

Re: Cpu speed test rom (md+scd)

Post by Chilly Willy » Tue Mar 19, 2019 11:32 pm

Funny. Yeah, I've seen web pages discussing using vram for code - mainly for trying to break emulators on their games. Most emulators won't handle setting the VDP to allow reading code from the vram with the emulated cpu. Not sure how some of the newer ones like exodus handle that.

Ti_
Very interested
Posts: 82
Joined: Tue Aug 30, 2011 7:50 am

Re: Cpu speed test rom (md+scd)

Post by Ti_ » Sun Mar 24, 2019 7:32 am

Stef wrote:
Tue Mar 19, 2019 8:35 am
Would be nice to have a version showing speed from different area :
ROM / RAM / comm registers... :)
Chilly Willy wrote:
Tue Mar 19, 2019 3:05 pm
You might add more speed tests for the sub cpu showing the speed in program ram vs word ram vs communication regs.
Here's a new version, now can select different areas:
Also sub-cpu now shows correct value.

I don't see difference for sub-cpu between prg/ram/com. But it's a bit slower in word-ram 'm1 mode'.

When select prg-ram for main-cpu, any sub-cpu test is disabled. When select word-ram for main-cpu, or non-prg-ram for sub-cpu - asic test is disabled.
Combination word_ram + word_ram1 currently doesn't work, you will get an error screen.
Attachments
2_(com+com).jpg
2_(com+com).jpg (40.5 KiB) Viewed 1046 times
test_cpu_screenshots.7z
(126.92 KiB) Downloaded 29 times
test_cpu_5g.7z
(4.49 KiB) Downloaded 36 times

Stef
Very interested
Posts: 2982
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: Cpu speed test rom (md+scd)

Post by Stef » Sun Mar 24, 2019 10:08 pm

Awesome, thanks ! What would be even more awesome is to have a final summary results table displaying speed from different areas s we could easily compare :D

Post Reply