Jump to content
IGNORED

Champ Games - Wizard of Wor Arcade - 2600


johnnywc
 Share

Recommended Posts

3 hours ago, johnnywc said:

Thanks TJ!  For some reason, in @coach41's case on his system, it seems that when Stella detects a QT, Galagon (and possibly WoW Arcade) are not detecting a QT on startup.  So Stella thinks there is a QT but the game does not. 

Isn't the problem here, that Stella analyzes the ROM, while the ROM analyzes the input? 

Link to comment
Share on other sites

1 minute ago, Thomas Jentzsch said:

Isn't the problem here, that Stella analyzes the ROM, while the ROM analyzes the input? 

Yes, it would appear that this is the issue.  If Stella recognizes QuadTari support and sets that as the controller in the left port, does it emulate INPT1 so the high bit is high and INPT0 so the high bit is low?  If so, then the Galagon ROM should recognize that there is a QT connected.

Link to comment
Share on other sites

3 minutes ago, johnnywc said:

If Stella recognizes QuadTari support and sets that as the controller in the left port, does it emulate INPT1 so the high bit is high and INPT0 so the high bit is low?

I think so:

  // QuadTari auto detection setting
  setPin(AnalogPin::Five, AnalogReadout::connectToVcc());
  setPin(AnalogPin::Nine, AnalogReadout::connectToGround());

 

Link to comment
Share on other sites

9 minutes ago, Thomas Jentzsch said:

I think so:

  // QuadTari auto detection setting
  setPin(AnalogPin::Five, AnalogReadout::connectToVcc());
  setPin(AnalogPin::Nine, AnalogReadout::connectToGround());

 

Looks good to me! :thumbsup: 

 

Here's my detection code that works on a real console and Stella not running on the emulation machine:

 

 ; auto detect
    ;   INPT0           INPT1
    ;       0               0       regular joystick connected
    ;       1               x       Genesis pad (or paddles) connected
    ;       0               1       multi-tap connected     
    
    ; if INPT0 = 1, we have a Genesis pad connected and no multitap
    bit INPT0
    bmi noMultiTap
    
    ; if INPT0 = 0 and INPT1 = 1, we have a multitap connected
    bit INPT1
    bpl noMultiTap
    
    lda flags
    ora #FLAG_MULTITAP|#FLAG_CONTROLLERS
    sta flags

 

I use the same logic in RobotWar (which seems to work on the emulator console), but one difference is that I added this loop at the start (provided by TJ some time ago) that clears the VBLANK high bit (DUMP PORTS).

 

;---------------------------------------
.loopWaitQ
    sta     WSYNC
;---------------------------------------
    sta     VBLANK      ; disable bit 7, A = 0!
    dex
    bne     .loopWaitQ
    dey
    bmi     .loopWaitQ   

 

That may be causing the QuadTari detection in the game to fail (not sure how). :idea:   I'll see if I can free up some bytes in Galagon to add this code in and see if it makes a difference.

 

 

 

Link to comment
Share on other sites

3 hours ago, Thomas Jentzsch said:

Let me know if you are running out of ideas. 

Thanks!   Good news: I found the bytes. :)  Bad news:  @coach41 tested and the game still doesn't detect the QuadTari, so the joystick is non-responsive. :| 

 

Oh well, back to the drawing board!

  • Sad 1
Link to comment
Share on other sites

  • 3 weeks later...

Just to muddy the waters 😜 

 

I use emulation with Stella and two 2600daptors, one for AtariVox and the other for a classic CX40 joystick (what can I say, I love the original joysticks!).  Wizard Of War (final) comes up with with SaveKey and Quadtari detected.  I don't have a Quadtari, but everything works fine.

 

I did try Gorf (final) this morning, and no messages for detection, but everything works fine.

  • Thanks 1
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...
 Share

  • Recently Browsing   0 members

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