Jump to content
  • entries
    4,946
  • comments
    2,718
  • views
    1,808,712

98.6


atari2600land

237 views

It's 98 degrees right now (not sure about the .6 part) I was having trouble. I discovered that left in my Bert game wasn't working on real controller. So I tried various things but to no avail. I thought my 7 button was broken. So I opened the controller up and cleaned 7. It was clean already. Put it back together. Then I thought of the keypad test I had on my computer, so I put it to the test on a real Atari 2600. All my numbers were working fine. So it must have been something in my code. Eventually I found the problem:


Draw_Bert_InGame:
    lda    #$FF
    clc
Draw_Bert_InGame2:
    ror        
    sta    SWCHA

    ldy    #120        
.wait2:
    dey
    bne    .wait2

BottomRow:
    bit    INPT0
    bpl    DoesBertGrabBox_
    
    bit    INPT4
    bpl    DoesBertDropBox_
    
Draw_Bert_InGame3:
    lda    #$FF
    clc
Draw_Bert_InGame4:
    ror        
    ror
    sta    SWCHA

    ldy    #20    
.wait3:
    dey
    bne    .wait3

Thirdow:
    bit    INPT0
    bpl    MoveBertLeft
    
    bit    INPT4
    bpl    MoveBertRight

As it turned out, there was a second pause I needed (at .wait3, beginning with ldy #20). So now everything works. Pressing 7 moves Bert left. Now I need to work on sfx. It's a quarter after 5 p.m. and I got burned out trying to fix the dumb problem I was having. I don't even know if the game is even worth continuing on since it's not a very complicated game and I can probably get it done in 4k. I know it's a kid's game, but still. I don't know...

1 Comment


Recommended Comments

Oh, I thought you had taken a Covid-19 test and got your body temperature measured. Obviously it could've been a FM frequency too, Radio 98.6 MHz.

Link to comment
Guest
Add a comment...

×   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...