Jump to content
IGNORED

Stereo upgrade detection - please help!


_Fandal_

Recommended Posts

Hi all!

 

I need your help Atarians!! I'm looking for owners of stereo upgrade to test Raster's stereo detection routine on real HW. We know there's a lot of various stereo upgrades out there and we need to know if we're able to detect them all (or at least most of them). In the attachment you can find Raster's detection program. Please run it and let us know if your stereo upgrade was successfully found or not.

 

Thank you very much for your help!

 

F.

STEREOTS.zip

Edited by _Fandal_
Link to comment
Share on other sites

What method does it use?

 

pokey1 equ $d200
pokey2 equ $d210

STEREODETECTION
  lda pokey1+$09
  beq iss2  ;0 => last key L
;no last key L
  lda pokey2+$09
  beq issyes;0 on second POKEY KEY reg => stereo
issno
  lda #0
  rts
iss2
  ldy #7
iss3
  lda pokey2,y;POT regs
  bne issno   ;some one is not zero
  dey
  bpl iss3
issyes
  lda #1
  rts

 

You should probably look for Pokeys in d5xx as well.

There in d5xx area can be any cartridge hardware. I don't know if any "normal" program (game or demo, not music player sw or system tool) supports stereo at d5xx... :ponder:

(Also it could evoke whatever when you will read/write to d5xx area, depend on inserted cartridge.)

Link to comment
Share on other sites

Hi

 

i tested the program on my stereo 800XL. My "Gumby" upgrade is

selfmade with the second pokey on top of the original one.

 

Your program detected the upgrade correctly. Nice sample ;-)

 

Greets,

Beetle

Link to comment
Share on other sites

If you find your routine doesn't work, maybe try timers?

 

SEI
LDA #0
STA $D21E; disable all IRQs on POKEY #2
STA $D208; AUDCTL
LDA #1
STA $D20E; enable only Timer 1 on POKEY #1
STA $D200; hi freq. interrupt
STA $D209; start timer
WAIT BIT $D20E
BNE WAIT; timer event doesn't take long with AUDF=1
BIT $D21E
BNE YES_POKEY2; IRQ event should not be on POKEY #2 as well
LDA #0
YES_POKEY2 STA POKEY2_FLAG
LDA $10
STA $D20E
CLI
...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...