8Blit - ATARI 2600 Game Programming
8Blit - ATARI 2600 Game Programming
  • 57
  • 138 515
Retro Game Dev Uncovered: Programming Atari 2600 Paddles!
Dive into the world of ATARI 2600! In this episode, we unravel the mystery of the ATARI 2600 Paddle controllers - what they are, how they work, and most excitingly, how you can program them into your very own games! We’ll also reveal a clever trick to streamline your branching, saving you precious cycles and bytes with each use! As always, the full source code for all examples shown in this episode is up for grabs, absolutely free, on our GitHub code repository. Check out the link below and join us in this thrilling journey of retro game programming!
Please LIKE, SHARE and SUBSCRIBE
th-cam.com/users/8blit
Loving the episodes? If you find this video useful, why not take a step further to support the creation of future videos? By becoming a Patron, you’ll play a crucial role in our creative journey and the production of more exciting content. Your support means the world to us and is greatly appreciated. Join us on Patreon today!
www.patreon.com/8blit
Wrap some retro around you! 8blit.myspreadshop.com
Visit our website www.8blit.com
8Blit GitHub repository github.com/kreiach/8Blit
3D Model used was from printables.com/model/5394-atari_2600-paddle
#atari2600 #atarihomebrew #8bit #programming #assembly #retrogaming #atari #atarivcs #retrotech #vintage #retro #nostalgia #atari7800 #atari2600plus #AtariProgramming #GameDevelopment #CodingTutorial #AtariPaddleControllers #RetroGameDev #Atari2600Coding #Atari2600Tutorial #Atari2600GameDev #Atari2600Programming
This episode provides answers and examples for the following questions.
How can I read from the Atari 2600 paddle controllers?
What are the ATARI 2600 paddle controllers?
How do the ATARI 2600 paddle controllers work?
What size potentiometer is inside the paddle controllers?
How much can the paddle controllers rotate?
How can I make my Atari paddle controllers work better?
What controller connector is used on the Atari 2600?
What is the DE-9 port connector?
What is the DB-9 port connector?
What ATARI 2600 games use the paddle controllers?
Is the Atari 2600 paddle controllers compatible with the driving controllers?
What are the CX-10, the CX-20, and the CX-30 controllers?
What controller did the game Indy 500 use?
What does .byte $2c mean in 6502 assembly language?
00:00 Introduction
00:55 Support
01:27 The CX-30
02:59 The Hardware
03:43 DE-9 Port
06:17 How many scanlines?
08:16 Paddle Rotation
10:07 Paddle Test Utility
10:33 The Code in Assembly
12:00 The .byte $2c Trick
13:31 Purrballs Update
14:06 In Closing
มุมมอง: 662

วีดีโอ

Programming Asymmetrical Playfields, Decimals & Scoreboards on the ATARI 2600 | 8Blit
มุมมอง 1.3K8 หลายเดือนก่อน
Programming Asymmetrical Playfields, Decimals & Scoreboards on the ATARI 2600 | 8Blit
Programming for Different World Regions on the Atari 2600 | 8Blit
มุมมอง 1.2Kปีที่แล้ว
Programming for Different World Regions on the Atari 2600 | 8Blit
Debugging on the ATARI 2600 and Hacking Pitfall! | 8Blit
มุมมอง 2.5Kปีที่แล้ว
Debugging on the ATARI 2600 and Hacking Pitfall! | 8Blit
Adding SOUND to your ATARI 2600 game! | 8Blit
มุมมอง 3.1Kปีที่แล้ว
Adding SOUND to your ATARI 2600 game! | 8Blit
Random Numbers and the POWER of a Linear-feedback Shift Register | 8Blit
มุมมอง 1.2Kปีที่แล้ว
Random Numbers and the POWER of a Linear-feedback Shift Register | 8Blit
ATARI 2600 Monthly Subscription Box | 8Blit
มุมมอง 813ปีที่แล้ว
ATARI 2600 Monthly Subscription Box | 8Blit
How the ATARI 2600 and COMBAT Handle Collision Detection | 8Blit
มุมมอง 3.5Kปีที่แล้ว
How the ATARI 2600 and COMBAT Handle Collision Detection | 8Blit
80's Retro 8Blit Christmas Atari 2600 Yule log Holiday Special | 8Blit
มุมมอง 1.5Kปีที่แล้ว
80's Retro 8Blit Christmas Atari 2600 Yule log Holiday Special | 8Blit
How WEIRD are sprites on the ATARI 2600 game console? | 8Blit
มุมมอง 9822 ปีที่แล้ว
How WEIRD are sprites on the ATARI 2600 game console? | 8Blit
Building Kernels on the ATARI 2600 | 8Blit
มุมมอง 2.7K2 ปีที่แล้ว
Building Kernels on the ATARI 2600 | 8Blit
How Does the ATARI 2600 Keep Time? | 8Blit
มุมมอง 2.9K2 ปีที่แล้ว
How Does the ATARI 2600 Keep Time? | 8Blit
The ATARI 2600 is an 8-bit game console | 8Blit
มุมมอง 4.7K2 ปีที่แล้ว
The ATARI 2600 is an 8-bit game console | 8Blit
Joysticks, Switches, Bits and Nibbles. How the ATARI 2600 Responds Every Wiggle. | 8Blit
มุมมอง 2.6K2 ปีที่แล้ว
Joysticks, Switches, Bits and Nibbles. How the ATARI 2600 Responds Every Wiggle. | 8Blit
Animating Graphics on the ATARI 2600 | 8Blit
มุมมอง 3.9K2 ปีที่แล้ว
Animating Graphics on the ATARI 2600 | 8Blit
Season One Review | 8Blit
มุมมอง 4332 ปีที่แล้ว
Season One Review | 8Blit
Code Faster With The Atari Dev Studio | 8Blit
มุมมอง 7K2 ปีที่แล้ว
Code Faster With The Atari Dev Studio | 8Blit
More Sprites & Color on the ATARI VCS! | 8Blit
มุมมอง 6K2 ปีที่แล้ว
More Sprites & Color on the ATARI VCS! | 8Blit
Asymmetrical Playfields + 125 Subscribers | 8Blit
มุมมอง 1.1K3 ปีที่แล้ว
Asymmetrical Playfields 125 Subscribers | 8Blit
Sprites on the ATARI VCS?! | 8Blit
มุมมอง 6K3 ปีที่แล้ว
Sprites on the ATARI VCS?! | 8Blit
Brief History of Game Cartridges and a Free Cleaning Tool | 8Blit
มุมมอง 1K3 ปีที่แล้ว
Brief History of Game Cartridges and a Free Cleaning Tool | 8Blit
Building Your Playfield on an Atari 2600 | 8Blit
มุมมอง 4.9K3 ปีที่แล้ว
Building Your Playfield on an Atari 2600 | 8Blit
Drawing a Playfield on an Atari 2600 | 8Blit
มุมมอง 3.8K3 ปีที่แล้ว
Drawing a Playfield on an Atari 2600 | 8Blit
Your first code for the Atari 2600 | 8Blit
มุมมอง 8K3 ปีที่แล้ว
Your first code for the Atari 2600 | 8Blit
Make GAMES for the ATARI 2600 with these FREE tools | 8Blit
มุมมอง 18K3 ปีที่แล้ว
Make GAMES for the ATARI 2600 with these FREE tools | 8Blit
The Success and Failure of ATARI, Inc. - Part 1 | 8Blit
มุมมอง 2.3K3 ปีที่แล้ว
The Success and Failure of ATARI, Inc. - Part 1 | 8Blit

ความคิดเห็น

  • @Bee-f1r
    @Bee-f1r วันที่ผ่านมา

    you convinced i am sold

  • @AloanMoreira1
    @AloanMoreira1 2 วันที่ผ่านมา

    Bob is going home had that kind of playfield even changing colors mid screen! a joy to see! plus it had a memorable 2 channel music! for me it´s one of the best games ever for its overall cuteness and charm!

  • @bioman1hazard607
    @bioman1hazard607 9 วันที่ผ่านมา

    I wish this video had more visual aids

    • @8Blit
      @8Blit 8 วันที่ผ่านมา

      Where would you have liked move visual aids, and in what format?

    • @bioman1hazard607
      @bioman1hazard607 6 วันที่ผ่านมา

      ​@8Blit how about some code examples of how each screen is drawn, like what commands are responsible for drawing the pitfall screen. You said it was easy to do so I'd like to know what it is

    • @8Blit
      @8Blit 5 วันที่ผ่านมา

      @@bioman1hazard607 There's a lot more information in the video that came before it in the series, and another that came out recently. Both have tons of information and example code you can download for drawing the playfields. Drawing a Playfield on an Atari 2600 th-cam.com/video/K3LcLcstZE8/w-d-xo.html Programming Asymmetrical Playfields th-cam.com/video/lUJmDX1fd18/w-d-xo.html

  • @xc68hc705kj1
    @xc68hc705kj1 11 วันที่ผ่านมา

    The content you are sharing is great, and valuable to other assembly language programmers like myself!!!

    • @8Blit
      @8Blit 9 วันที่ผ่านมา

      Thank you, I appreciate it! Glad you're finding value in the videos!

  • @random_precision_software
    @random_precision_software หลายเดือนก่อน

    Hi, I'm a game developer and use modern game engines , I'm hoping to be able to use C or C# for Atari 800xl programming. Don't suppose you know of a way to do this? I think it's possible to use C at least?

    • @8Blit
      @8Blit หลายเดือนก่อน

      It is totally possible to use C as the 800xl uses a 6502c and there are many C compiles that can target this. You'll need the proper headers for the 800xl though so it will know where all the memory and registers are located. I haven't used them myself but I believe KickC has this.

    • @random_precision_software
      @random_precision_software หลายเดือนก่อน

      Thanks I'll check that out.​@@8Blit

  • @kangarht
    @kangarht หลายเดือนก่อน

    what is a color CLOCK ?

    • @8Blit
      @8Blit หลายเดือนก่อน

      The episode about asymetrical playfields has a ton of information on this. th-cam.com/video/lUJmDX1fd18/w-d-xo.html

    • @kangarht
      @kangarht 28 วันที่ผ่านมา

      @@8Blit no I mean this term is idiotic, its pixels. a clock is not a pixel. best I can make is color cycle, but clock ? omg :D

  • @matthewzion4303
    @matthewzion4303 หลายเดือนก่อน

    New subscriber; enjoying these videos so far! Just found the channel after getting my 2600+ and playing my childhood games. I'm a professional developer but haven't worked in such a constrained environment since I was a kid coding on my TRS-80 Color Computer where I had 16K of RAM. Didn't know how good I had it!

    • @8Blit
      @8Blit หลายเดือนก่อน

      Welcome to the channel, I hope it helps you on your quest! Next episode will be in a few weeks after I iron out some wrinkles in the example code!

  • @ForvoQuizlet
    @ForvoQuizlet หลายเดือนก่อน

    I downloaded the Code program but "Clone Git Repository" isn't showing up. Anything I can check for?

  • @intelligiblenoise6802
    @intelligiblenoise6802 หลายเดือนก่อน

    Humans are amazing.

  • @The_FishMarket
    @The_FishMarket 2 หลายเดือนก่อน

    still writing out my game after many months lol. its taken lots of time and effort but your videos help me understand things easier. hope to have it on a cartridge when its finished.. whenever that will be haha

    • @8Blit
      @8Blit หลายเดือนก่อน

      I'm glad the channel is helping you out! Sorry for the really late reply, I've been busy coding the next episode!

  • @DROHARM
    @DROHARM 2 หลายเดือนก่อน

    Cool soundtrack!

  • @lurkerrekrul
    @lurkerrekrul 2 หลายเดือนก่อน

    Other systems such as the Commodore 64, and the Amiga were also based around television standards. Back in the 80s, I used to get tons of pirated games from other C64 owners, and probably half of them had problems running, or they had mild to severe graphical glitches. It might be minor as a flickering status panel, or as severe as the entire level being screwed up. Because I didn't know any different at the time, i used to think that the crackers were incompetent and stupid for releasing such broken games. It wasn't until later that I learned this was just the result of running PAL games on an NTSC system. When I got the Amiga, the same situation existed, but I upgraded my A500 to the newer Agnus chip, which could be switched into PAL mode, which fixed the problems with such games.

  • @Julio_Rats
    @Julio_Rats 3 หลายเดือนก่อน

    Why not use it like this? (code bellow) will avoid an unnecessary BIT (.byte $2C - 4 cycles) and will save 1 bytes (BIT opcode) for each INPUT and in the case where the capacitor is charged, you consume 8 cycles, while this consumes 6 cycles . . midBand: sta WSYNC ; 3 ; --------------------- ; check if paddle caps are charged. bit INPT0 ;3 BIT paddle 0 bmi donep0 ; 2/3 0=charging, 1=charged stx pValue ; 3 store current scanline value donep0: bit INPT1 ; 3 BIT paddle 1 bmi donep1 ; 2/3 0=charging, 1=charged stx pValue+1 ; 3 store current scanline value donep1: . . .

  • @とふこ
    @とふこ 3 หลายเดือนก่อน

    Why? The Xbox series x and the Nintendo 64 are both 64 bit consoles.

    • @8Blit
      @8Blit 3 หลายเดือนก่อน

      What do you mean?

  • @гксгк
    @гксгк 3 หลายเดือนก่อน

    I know it was a nightmare to code on A26. The fact that you had to draw the "blacker black" manually is mind blowing. Its now easy to develop games on this machine, as we have step by step debuggers Also, the reason why the graphics are so simple is because of this

  • @8Blit
    @8Blit 3 หลายเดือนก่อน

    Learn how to program your games for the ATARI 2600. Subscribe to our channel for all the episodes! th-cam.com/users/8blit

  • @lunarmodule6419
    @lunarmodule6419 3 หลายเดือนก่อน

    No loose strings with you! (loose cables? Lol) Thx!

  • @stevewallis661
    @stevewallis661 3 หลายเดือนก่อน

    dammit there was a guy that programed dragon warrior for the intellivision! and it looks and plays great even the sound is perfect!! i wish someone would do this for our atari!

    • @8Blit
      @8Blit หลายเดือนก่อน

      No reason that person can't be you!

  • @8Blit
    @8Blit 3 หลายเดือนก่อน

    Learn how to program your games for the ATARI 2600. Subscribe to our channel for all the episodes! th-cam.com/users/8blit

  • @sohl947
    @sohl947 3 หลายเดือนก่อน

    The recommendation is for a 500 Kilo-ohm potentiometer, right?

    • @8Blit
      @8Blit 3 หลายเดือนก่อน

      Omg, I wrote that in my script and ended up using the take where I didn't say kilo. Can't believe how many times I watched this while editing and didn't catch that! Thanks for pointing that out. I'll add a note in the description!

  • @zeyadelgendi1288
    @zeyadelgendi1288 3 หลายเดือนก่อน

    That's genius

  • @GarryGri
    @GarryGri 3 หลายเดือนก่อน

    That's twice as much turning though. I'm not sure how playable a lot of paddle games would be like this... KABOOM, I'm looking at you!

  • @Smooth_Waver
    @Smooth_Waver 3 หลายเดือนก่อน

    Cool stuff! I really like your videos :)

    • @8Blit
      @8Blit 3 หลายเดือนก่อน

      Thank you very much! More full length episodes are on the way this summer!

  • @8Blit
    @8Blit 3 หลายเดือนก่อน

    Learn how to program your games for the ATARI 2600. Subscribe to our channel for all the episodes! th-cam.com/users/8blit

  • @jogosProgramEletronica
    @jogosProgramEletronica 4 หลายเดือนก่อน

    It's half crazy and half challenging...

  • @swiftxrapid919
    @swiftxrapid919 4 หลายเดือนก่อน

    dasm keeps crashing wont fully launch on windows 11

    • @8Blit
      @8Blit 4 หลายเดือนก่อน

      I suspect your executing it via the windows explorer. Dash is a console application and will look like it's closing prematurely if you try to double click it in windows. You should be executing it from the command prompt. If you search for 'command' in windows you can open the command prompt. If you have some trouble with that then please check out my video titled 'coding faster with the Atari Dev studio'. That will show you how to setup visual studio code for doing atari 2600 programming.

    • @swiftxrapid919
      @swiftxrapid919 4 หลายเดือนก่อน

      @@8Blit I see thanks

  • @frankjibe
    @frankjibe 4 หลายเดือนก่อน

    yours are the best Atari 2600 tutorials on the web

    • @8Blit
      @8Blit 4 หลายเดือนก่อน

      Thank you very much, I really appreciate the support!

  • @TryerTryer-tu6je
    @TryerTryer-tu6je 4 หลายเดือนก่อน

    Is it useful in making websites Android and Ios applications?

    • @8Blit
      @8Blit 4 หลายเดือนก่อน

      All processor architecture has an Assembly language so you can code for any device.

  • @Smooth_Waver
    @Smooth_Waver 5 หลายเดือนก่อน

    As a 24 year old I am really learning a lot from your videos! Currently I'm trying to grasp all of the key concepts for the 2600. Keep up your videos!

    • @8Blit
      @8Blit หลายเดือนก่อน

      Glad you're finding value with the channel, good luck in your question. Sorry for the late reply!

  • @Mi-583
    @Mi-583 5 หลายเดือนก่อน

    Hi, I'm looking for a graphical game maker environment for the Atari 2600? It's too fiddly for little. Can I suggested a full GUI environment dynamically using different kernel routines and machine code instructions, to maximise graphical tricks? The user then doesn't need to know how to code, and programmers can concentrate on game play code.

    • @8Blit
      @8Blit 5 หลายเดือนก่อน

      Batari Basic is closest to what you're looking for. I prefer to make videos at the lowest level, but I may cover batari basic at some point as well.

    • @Mi-583
      @Mi-583 4 หลายเดือนก่อน

      @@8Blit Thanks for that. Been sick and haven't looked into it in detail, but definitely desirable. I assume it's a basic compiler to machine code, and a Forth version would be great. Is there any game maker like GUI authorware out there? Did anybody ever come up with a way to trick the system into smaller pixels in the demo scene? Even tricking the system into shifting a sprite 1/2 or Quarter pixel. I was interested in doing vector graphics years back, even if monochrome, but the pixels are too chunky. Actually, is there anyway to break the display frame structure, to go widescreen. Modern TV will accept 25/30 progressive without interlace flash.

    • @AloanMoreira1
      @AloanMoreira1 2 วันที่ผ่านมา

      @@Mi-583 with Fusion 2.5 you can make atari like games without coding. All event based! I love it. So all you do is work with your art, music and events... on my channel there is my website, go to gaming choose atari graphics explained. Guess I updated it to talk about another such engine called GDeveloper which is totally free and does the same thing

  • @evanwright1180
    @evanwright1180 5 หลายเดือนก่อน

    Great deep dive. Always wondered how that worked.

  • @8Blit
    @8Blit 5 หลายเดือนก่อน

    Learn how to program your own games for the ATARI 2600 for free. Subscribe to our channel for all the episodes! th-cam.com/users/8blit Help support the channel and pick up your own retro-cool stuff at 8blit.myspreadshop.com/ #8bit #retrogammer #atari #atari2600 #atari7800 #retrogaming #homebrew #atarihomebrew #vintage #vintagetech #atarian

  • @Uhfgood
    @Uhfgood 5 หลายเดือนก่อน

    It's kind of weird everyone saying how they remember classifying the 2600 as a 2 or 4 bit system, I don't remember any of that. It was just a fun game machine. And like you said, we weren't really referring to bits until the 16 bit consoles started using it for marketing.

  • @tschak909
    @tschak909 5 หลายเดือนก่อน

    Atari coin op called these objects "stamps"

  • @NikodAnimations
    @NikodAnimations 5 หลายเดือนก่อน

    It's so different from the 80s consoles that genrrations need to be used at this point. It is no good saying "8-bit", as that could mean "similar to Atari 2600", or "similar to NES".

  • @insomniacgr1
    @insomniacgr1 5 หลายเดือนก่อน

    I loved Dark Chambers on the 2600. My first gaming adventure!

  • @GarryGri
    @GarryGri 6 หลายเดือนก่อน

    It's just not the same as writing assemble in notepad though 😜

  • @scottfarrar3441
    @scottfarrar3441 6 หลายเดือนก่อน

    Excellent! Thank you for sharing your knowledge on the Atari 2600/Assembly language with the rest of us. You have that special ability to take a difficult topic...break it down...organize it...and present it in a manner that is "consumable" for those that want to expand their horizons in this topic.

    • @8Blit
      @8Blit 5 หลายเดือนก่อน

      Thank you very much, I appreciate the kind words!

    • @8Blit
      @8Blit 5 หลายเดือนก่อน

      Thank you very much, I appreciate the kind words!

  • @combatking0
    @combatking0 6 หลายเดือนก่อน

    Fun fact: If you have a pair of paddle controllers connected and you're playing Combat, press the fire buttons on both controllers together for a burst of speed. Although, you won't be able to fire...

  • @8Blit
    @8Blit 6 หลายเดือนก่อน

    Learn how to program your own games for the ATARI 2600 for free. Subscribe to our channel for all the episodes! th-cam.com/users/8blit Help support the channel and pick up your own retro-cool stuff at 8blit.myspreadshop.com/ #8bit #retrogammer #atari #atari2600 #atari7800 #retrogaming #homebrew #atarihomebrew #vintage #vintagetech #atarian

  • @KeithPhillips
    @KeithPhillips 6 หลายเดือนก่อน

    I racked up a little collection of paddle controllers over the years and NONE of them worked properly 😂 I got pretty good at taking the pots apart and cleaning them! Now they are like brand new! ...never did score a driving controller though... 😔

    • @8Blit
      @8Blit 6 หลายเดือนก่อน

      I know the feeling, I always have one that's wonky! It didn't help that I used to test them with Kaboom! until I learned that the movement on that game is always a little sketchy!

    • @KeithPhillips
      @KeithPhillips 6 หลายเดือนก่อน

      @8Blit your little program looks great! I need to throw it on my Harmony cart and test my paddles and see what they register! As for programming the paddles (since they will all likely vary) is it a good idea to kind of perform an in-game "test", maybe even silently, keeping track of the min/max and sort of calibrating game logic behind the scenes...or am I overthinking things? (It's a bad habit I have) 🤣

  • @KeithPhillips
    @KeithPhillips 6 หลายเดือนก่อน

    I can't thank you enough considering the amount of work this must have been. This is STELLAR content, I love it! You single-handedly created the best YT channel for Atari 2600 programming. The bar is set really damn high now for others that might want to follow suit 😋 The paddles are indeed...not intuitive...to program Lol. This helps immensely!!!

    • @8Blit
      @8Blit 6 หลายเดือนก่อน

      Wow, thank you very much for the kind words, I really appreciate the support!

  • @itstheterranaut
    @itstheterranaut 6 หลายเดือนก่อน

    Awesome Kyle!

  • @lunarmodule6419
    @lunarmodule6419 6 หลายเดือนก่อน

    Yay! Thx

    • @8Blit
      @8Blit 6 หลายเดือนก่อน

      My pleasure!

  • @BrockGunterSmith
    @BrockGunterSmith 6 หลายเดือนก่อน

    Thanks for putting out this video. I was toying with the Atari Dev Kit in Visual Studio Code but wasn’t aware of the git repo you mentioned. I’m off to the races now 😊

    • @8Blit
      @8Blit 6 หลายเดือนก่อน

      Wonderful, I hope you continue to find value in all the episodes!

  • @sophiacristina
    @sophiacristina 6 หลายเดือนก่อน

    I'm a very recently sub, maybe 3 or 4 days ago! I loved your Atari Programming playlist, it makes such programming way more intuitive than the classic book we firstly find! :) And ty a lot for the github repo for me to check the codes itself! You helped me a lot! I wish to do a demo for Atari, i'm not an amazing programmer, but that is going to be fun, just for the hobby and for the sake of it! I want to know how far Atari can go, haha! And also learn 6502...

    • @8Blit
      @8Blit 6 หลายเดือนก่อน

      Thanks for the kinds words, I appreciate the support! New episode is up now, if you're interested in the paddle controllers!

  • @Mr.1.i
    @Mr.1.i 6 หลายเดือนก่อน

    With a dec pdp 11

    • @wreiach
      @wreiach 6 หลายเดือนก่อน

      I like how it was considered a minicomputer

    • @Mr.1.i
      @Mr.1.i 6 หลายเดือนก่อน

      @wreiach the other week I thought how did they program the atari without kernel rom and in the results I found in the 70s they constructed the assembly on the Dec pdp 11 and then tested it on an actual atari I think they where inputing with strips of card into the pdp then saving it to tape then loading via a cassette cart with added memory