mechaniputer
Experienced Member
- Joined
- May 23, 2015
- Messages
- 59
Hi folks,
I'm working on my Apple II emulator and writing my own monitor ROM from scratch. I have some doubts about how key repeat was done on a real Apple II. Did the hardware prevent too-fast repeats (and take care of debouncing) or was this something that the ROM had to take care of (for instance by timing how long a key is held before starting to repeat it)? In any case, my ROM can do that now, but I wonder if it is really supposed to. I've looked at original ROM listings to try to see how it was done, but I haven't seen the answer jump out at me yet. Which is why I suspect some hardware measures were involved. If that is the case, I'll go back and do it in (simulated) hardware instead. Saves some bytes.
In case it matters, my emulator is intended to match the behaviors of the original 1977 Apple II.
Thanks.
I'm working on my Apple II emulator and writing my own monitor ROM from scratch. I have some doubts about how key repeat was done on a real Apple II. Did the hardware prevent too-fast repeats (and take care of debouncing) or was this something that the ROM had to take care of (for instance by timing how long a key is held before starting to repeat it)? In any case, my ROM can do that now, but I wonder if it is really supposed to. I've looked at original ROM listings to try to see how it was done, but I haven't seen the answer jump out at me yet. Which is why I suspect some hardware measures were involved. If that is the case, I'll go back and do it in (simulated) hardware instead. Saves some bytes.
In case it matters, my emulator is intended to match the behaviors of the original 1977 Apple II.
Thanks.