_Fandal_ Posted June 20, 2006 Share Posted June 20, 2006 (edited) 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 June 20, 2006 by _Fandal_ Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 20, 2006 Share Posted June 20, 2006 What method does it use? Wouldn't just triggering a Timer event on the resident POKEY be enough - then just compare the conents of the two IRQST registers? Quote Link to comment Share on other sites More sharing options...
classics Posted June 20, 2006 Share Posted June 20, 2006 (edited) This did not detect my stereo Pokey cartridge. You should probably look for Pokeys in d5xx as well. Steve Edited June 20, 2006 by classics Quote Link to comment Share on other sites More sharing options...
raster/c.p.u. Posted June 20, 2006 Share Posted June 20, 2006 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... (Also it could evoke whatever when you will read/write to d5xx area, depend on inserted cartridge.) Quote Link to comment Share on other sites More sharing options...
Beetle Posted June 20, 2006 Share Posted June 20, 2006 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 Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 20, 2006 Share Posted June 20, 2006 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 ... Quote Link to comment Share on other sites More sharing options...
MEtalGuy66 Posted June 20, 2006 Share Posted June 20, 2006 YEah. It detects the board I made & sold.. DUAL POkey Upgrade board thread No problem.. Quote Link to comment Share on other sites More sharing options...
twh/f2 Posted June 20, 2006 Share Posted June 20, 2006 yes I can confirm this to work.... mhm .. maybe because my stereo upgrade has been installed by members of C.P.U. at the Noise party in Slovakia ) \twh Quote Link to comment Share on other sites More sharing options...
_Fandal_ Posted June 21, 2006 Author Share Posted June 21, 2006 Thank you guys for your help and especialy you Rybags. Your detection routine seems to be very universal for various stereo upgrades... F. Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 21, 2006 Share Posted June 21, 2006 An additional comment. You should store 3 in SKCTL (offset $0F). In the case that bits 1,0 of the Serial Port control are 00, most (all?) of POKEYs function is disabled. Quote Link to comment Share on other sites More sharing options...
_Fandal_ Posted June 21, 2006 Author Share Posted June 21, 2006 An additional comment. You should store 3 in SKCTL (offset $0F). In the case that bits 1,0 of the Serial Port control are 00, most (all?) of POKEYs function is disabled. OK. I'll add it to the code. Thank you for advice. F. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.