Re: CPU Speed Benchmarking

From: Nathan Smith (stryyker16_at_hotmail.com)
Date: 2001-09-21 05:43:49

----- Original Message -----
From: <ncoplin@orbeng.com>
To: <cbm-hackers@cling.gu.se>
Sent: Friday, September 21, 2001 12:56 PM
Subject: CPU Speed Benchmarking


| Hi All,
|
| I have the need to benchmark how fast code is running on a CPU emulation.
| The problem of course I have is the apparant "speed" of an asynchronous
| emulator is dependent upon how the instructions are synthesised.
| A JMP can be very quickly calculated as it doesn't affect too many other
| variables (just the PC). An arithmetic calc can be *long* because flags
etc
| have to be checked /changed.
|
| Some questions:
|
| 1) does anybody know of a good 6502 benchmarking program that has a good
mix
| of operations.... source code appreciated.
|
| 2) which part of the C64 kernal is executed in a endless loop if no
| interrupt source is active when the machine is booted. I assume the kernal
| does the normal set-ups, then sits somewhere to wait... if no IRQ, then no
| cursor flash, but which routine is it in?
It jumps to the BASIC interpreter. I guess that doesn't help though :) Maybe
just get VICE or something and keep freezing it and will will find which
areas are common in the $a000-$bfff in the PC and just follow them.
|
| Thanks,
| Nick
|
|
| PLEASE TAKE NOTE:
|
| The contents of this email (including any attachments) may be
| privileged and confidential. Any unauthorised use of the contents
| is expressly prohibited. If you have received this email in error,
| please advise us immediately (you can contact us by telephone
| on +61 8 9441 2311 by reverse charge) and then permanently
| delete this email together with any attachments. We appreciate
| your co-operation.
|
| Whilst Orbital endeavours to take reasonable care to ensure
| that this email and any attachments are free from viruses or other
| defects, Orbital does not represent or warrant that such is explicitly
| the case
|
| (C) 2000: Orbital Engine Company (Australia) PTY LTD and its
| affiliates
|
|
|        Message was sent through the cbm-hackers mailing list
|

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.