Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2345

acorn atom and acorn system series • Re: Bugs in MAME System3/5 emulation

$
0
0
Strange because waiting for a keypress and then waiting until the key is released works ......

Code:

;======================================================================; PRSKEY; Wait for keypress and release;======================================================================prskey:bit PORT_Abpl prskeyrelkey:bit PORT_Abmi relkeyrts
But this doesn't work but it looks the same code to me:

Code:

;----------------------------------------------------------------------; KTEST; Check if key in A is pressed; return clc if pressed; return sec if not pressed;----------------------------------------------------------------------ktest:sta tmpbit PORT_Abpl not_pressed; BUG MAME, bit 7 not set ....lda PORT_Acmp tmpbeq pressednot_pressed:secrtspressed:clcrts
The above code always detect a key as not_pressed.

Greetings
Kees

Statistics: Posted by oss003 — Wed Jan 22, 2025 10:28 pm



Viewing all articles
Browse latest Browse all 2345

Trending Articles