input latency of BBC Micro? (keypress to mode 7 update)

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
User avatar
BigEd
Posts: 1705
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

input latency of BBC Micro? (keypress to mode 7 update)

Postby BigEd » Mon Jan 01, 2018 5:46 pm

Anyone an idea of how long it takes a Beeb to process a keystroke?

(This article is all about input latency and how the Apple II is much better than a modern PC, and I wondered how the Beeb compares.)

crj
Posts: 830
Joined: Thu May 02, 2013 4:58 pm
Contact:

Re: input latency of BBC Micro? (keypress to mode 7 update)

Postby crj » Tue Jan 02, 2018 4:10 am

Well, the Beeb has a slight disadvantage by having a field rate of 50Hz rather than 60Hz, so the unavoidable display latency is an average of 10ms, compared with the Apple II's 8.3ms. Despite that, I imagine the Beeb would be incredibly fast doing OSWORD 0 in MODE 7. It'll get a key pressed interrupt within (on average 8?) microseconds, which will update the keyboard driver state. After on average 5ms, the 100Hz timer will trigger and perform keyboard handling. That will drop a character into the input buffer, which will be immediately noticed by OSWORD 0 in the foreground.

I'll stick my neck out and say a BBC B will average less than 20ms latency, maybe as low as 16ms.

User avatar
BigEd
Posts: 1705
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: input latency of BBC Micro? (keypress to mode 7 update)

Postby BigEd » Tue Jan 02, 2018 7:46 am

My camera has a 100fps movie mode, but it sounds like that's not fast enough in this case.