|
Subject: Kool Aid Man compatible detection From: Thomas Jentzsch <tjentzsch@xxxxxx> Date: Sat, 9 Oct 2004 22:45:32 +0200 |
Hi,
while working a little bit on my invaders demo, I wrote this little
piece of code, which identifies if a console is
"Kool-Aid-Man-compatible" or not.
I thought it might be a good idea to share it:
lda #$7f
sta HMP1 ; enable P1
sta ENAM0 ; enable M0
sta GRP1
sta WSYNC
sta RESM0
sta RESP1
sta HMOVE ; HMOVE during RESPx
sta WSYNC ; start new line
sta CXCLR ; clear any collisions
sta WSYNC ; wait one line
lda CXM0P ; if M0/P1 collision then
sta console ; console = Kool Aid Man compatible (bit7=1)
It works on my consoles (I have an incompatible Chinese Jr), maybe you
can verify this. The attached program switches to a red background if
your console is compatible.
Have fun!
Thomas
_______________________________________________________
Thomas Jentzsch | *** Every bit is sacred ! ***
tjentzsch at web dot de |Attachment:
KA_test.bin
Description: Binary data
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [stella] Jumpman: Intermediate , Paul Slocum | Thread | Re: [stella] Kool Aid Man compatibl, Manuel Rotschkar |
| Re: [stella] Jumpman: Intermediate , Paul Slocum | Date | Re: [stella] Kool Aid Man compatibl, Manuel Rotschkar |
| Month |