Post Reply 
New Saturn asm "add loop" benchmark for the HP48G
11-06-2023, 05:26 PM
Post: #28
RE: New Saturn asm "add loop" benchmark for the HP48G
(11-05-2023 02:49 PM)Jonathan Busby Wrote:  [snip]...something is stealing about (392325/60)*49 ~ 320398 cycles/sec . I know TIMER2, when running, steals a small amount of cycles for the purposes of keyboard polling every 1mS.

I think keyboard polling may be the culprit : (320398/1024) ~ 313 -- which means that each keyboard poll takes about 313 cycles.

Quote:Also, the card detect circuitry steals cycles while it's enabled.

Actually, although I'm not completely sure, I think this isn't the case.

Quote:I'm dubious as to whether the aforementioned cumulative overhead steals ~320398 cycles/S, but I'm not sure. If the lower performance of my code can't be explained by taking the above into account, then we have a mystery.

The only way to determine this for sure is to use a hardware Saturn bus analyzer.

Regards,

Jonathan

Aeternitas modo est. Longa non est, paene nil.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: New Saturn asm "add loop" benchmark for the HP48G - Jonathan Busby - 11-06-2023 05:26 PM



User(s) browsing this thread: 2 Guest(s)