CPU Speed Benchmarking

Date: 2001-09-21 04:56:10

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?



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

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.