Author
| Poll - 8Mhz expansion
|
ARTRAG msx guru Posts: 2222 | Posted: February 28 2010, 12:24   |
the plain z80 scored 24 dhrystones/sec on HTC v 7.8PL2
Maybe using another compiler... who knows
anyway, the c64 with 36 dhrystones/sec is a true shock ;-)
Are u sure u ported the code correctly?
|
|
Leo msx professional Posts: 852 | Posted: February 28 2010, 12:34   |
i see z80 ranks around 150 on some other benchmark , and Tr 1000 , that strange so much difference . i see on bluemsx it ranks 28 with this dhryston v1.1.
i guess number have to be understood in relative index , for a given compiled source the scores can be compared between one computer and another
|
|
ARTRAG msx guru Posts: 2222 | Posted: February 28 2010, 12:37   |
NOTE: the msx that gives 24 dhrystones/sec is an msx2 at 60hz
if you redo the test with msx1 at 50Hz you get 30 dhrystones/sec
(always HTC v 7.8PL2)
|
|
Leo msx professional Posts: 852 | Posted: February 28 2010, 15:44   |
we can see in line 172-174 that the code rely on the fact it needs 60 timer increments for one sec.
it seems there is 50/60hz detection but i does not seems to work , it rely on address location 2Bh of bios ...
|
|
ARTRAG msx guru Posts: 2222 | Posted: February 28 2010, 16:27   |
humm...
actually there is something very strange in this C code....
running it repeatidly (both the old .com and my compiled version) I get totally different results....
I get 195 dhrystones/sec or 202 dhrystones/sec (according to the version i run) on plain z80 (NTSC) !!!
O_o
Could the timing code have some bug?
|
|
PingPong msx master Posts: 1286 | Posted: February 28 2010, 16:41   |
My tests: on 60hz machines value is 191 (msx1 e & msx2+) on a 50hz machine got 28..... umh there is some bug
to check, try to modify the source assuming the clock as ALWAYS 60hz. the bug is here....
|
|
Leo msx professional Posts: 852 | Posted: February 28 2010, 17:43   |
|
|
ARTRAG msx guru Posts: 2222 | Posted: February 28 2010, 20:02   |
on msxdos2.2 and r800 the test gives 1298 dhrystones/sec (HTC v 7.8PL2) or 1259 dhrystones/sec (old .com)
|
|
usuario_msx2 msx addict Posts: 297 | Posted: February 28 2010, 22:06   |
|
|
Leo msx professional Posts: 852 | Posted: February 28 2010, 22:20   |
thanks , so it is possible i see
|
|
usuario_msx2 msx addict Posts: 297 | Posted: February 28 2010, 22:23   |
yes, but the proto was not built.
|
|
Leo msx professional Posts: 852 | Posted: March 04 2010, 07:56   |
|
|
|
|
|