+atari2600land Posted January 16, 2015 Share Posted January 16, 2015 This game was originally made for the Odyssey 2 by me. I just wondered if I could do the same thing in batariBASIC on the VCS and still have it be 2k. This is what I have so far. aaronaatari1.bas.bin 3 Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted January 16, 2015 Author Share Posted January 16, 2015 I'm trying to make the ant not walk when the joystick is standing still. I tried using SWCHA for joystick reading to do this: q = SWCHA / 16 if q>0 then o=o+1 where if o{2}=1 a frame is on and o{2}=0 a different frame is on, but it didn't work. Why not, and what would work? aaronaatari2.bas 1 Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted January 16, 2015 Author Share Posted January 16, 2015 I figured it out. Looking at the code from Larry the Lemon, the line that used SWCHA was this: q = SWCHA / 16 ^ $0F I don't know what the ^ $0F part means (I do know that $0F = 16), but I plopped that in and it works okay. Perhaps RT should edit his page to include the "^ $0F" part? Another weird thing is when I compile, I have 111 bytes left. So then I went to put in something that couldn't possibly be 111 bytes and it ends up as -23 bytes. What's going on there? Anyway, here's the latest build. aaronaatari3.zip 2 Quote Link to comment Share on other sites More sharing options...
ZackAttack Posted January 16, 2015 Share Posted January 16, 2015 $0F is actually 15 decimal and 00001111 binary. I think ^ is the XOR operator. If so ^ $0F would invert the 4 bits on the right. (1's become 0's and vice versa) Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted January 16, 2015 Author Share Posted January 16, 2015 OK, so $10 is actually 16 then. I knew that. Quote Link to comment Share on other sites More sharing options...
chavert Posted January 31, 2016 Share Posted January 31, 2016 fun game. thanks Quote Link to comment Share on other sites More sharing options...
Erik Zimmermann Posted February 25, 2022 Share Posted February 25, 2022 WOW. Very nice game for weekend Quote Link to comment Share on other sites More sharing options...
+ZeroPage Homebrew Posted May 3, 2022 Share Posted May 3, 2022 ZeroPage Homebrew is playing Aaron the Aant on tomorrow's stream LIVE on Twitch, hope you can join us! Tue May 3 @ 6PM PT | 9PM ET | 1AM GMT+1Day WATCH: https://www.twitch.tv/zeropagehomebrew/ Games: Wet Paint (2017 WIP | 2600) by uosipa llamxew @uosipa llamxew Aaron the Aant (2015 WIP | 2600) by Chris Read @atari2600land Donkey Kong 3 (2017 WIP | 2600) by Chris Read @atari2600land / ILA2600 @ILA2600 Stranglehand (2013 | 2600) by Jason Santuci @Gemintronic After Dark: INV+ (2004 for The 2600 High Score Showdown S6 | 2600) by Erik Mooney and Piero Cavina 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.