![Retro Game Coders - Chris Garrett](/img/default-banner.jpg)
- Видео 24
- Просмотров 98 700
Retro Game Coders - Chris Garrett
Канада
Добавлен 11 окт 2011
Retro Gamers & Developers
Retro computing / retro console collecting, and game development community by Chris Garrett @ Maker Hacks
#gamedev #indiedev #retrogame #retrocomputer
Retro computing / retro console collecting, and game development community by Chris Garrett @ Maker Hacks
#gamedev #indiedev #retrogame #retrocomputer
Commodore 64 + WiFi - Connect your Commodore 64 to the Internet with ESP8266
Connect your Commodore 64 to the internet for under $10? Let's see how!
So far in this series we have …
* Used the User Port to blink an LED
* Got digital inputs from the user port
* Read analog signals from the control port
* Integrated our C64 with Arduino
Now let’s get our Commodore 64 onto the internet!
In this video we use an Arduino-supported ESP8266 board and connect up the user port pins to get our C64 on the internet over wifi
All the details and code available here in the written version:
retrogamecoders.com/commodore-64-wifi-esp8266/
Previous videos in the C64 Electronics series:
ruclips.net/p/PLu3IQOxdj2m7ma1QDwndDwrgdQUSe_Ykk
So far in this series we have …
* Used the User Port to blink an LED
* Got digital inputs from the user port
* Read analog signals from the control port
* Integrated our C64 with Arduino
Now let’s get our Commodore 64 onto the internet!
In this video we use an Arduino-supported ESP8266 board and connect up the user port pins to get our C64 on the internet over wifi
All the details and code available here in the written version:
retrogamecoders.com/commodore-64-wifi-esp8266/
Previous videos in the C64 Electronics series:
ruclips.net/p/PLu3IQOxdj2m7ma1QDwndDwrgdQUSe_Ykk
Просмотров: 4 192
Видео
How to integrate Commodore 64 with Arduino
Просмотров 3,4 тыс.3 года назад
In this video we connect our C64 to an Arduino and we communicate between them over an "RS-232" serial connection. First we communicate from our PC to the Arduino and to the C64 and back, kind of like a chat program. We finish up by using this technique to have our C64 control a strip of individually addressable "neopixel" RGB LEDs. Get the code and more details here: retrogamecoders.com/commod...
Reading C64 Joysticks and Analog Input - Commodore 64 Electronics Part 3
Просмотров 1,1 тыс.3 года назад
In Part 1 we blinked an LED using the Commodore 64 User Port, and in Part 2 we read binary (on or off) input also using the User Port. In this part we will use the Control Ports to read Joystick input and also analog signals. Get the code and more details over at the written article retrogamecoders.com/c64-joysticks-analog-sensors/
C64 Digital Input / "Security System" (Electronics with Commodore 64 Part 2)
Просмотров 7163 года назад
Previously we looked at blinking an LED using the C64 User Port and some BASIC code, but outputting is only half of the equation so in this video we use the INPUT to alert us when various sensors are tripped. Get the code and pin diagrams over on the associated written article here: retrogamecoders.com/?p=118451 Written article for Part 1: retrogamecoders.com/commodore-electronics-led/ A great ...
Blink an LED with the Commodore User Port: C64 Electronics Programming Part 1
Просмотров 2,7 тыс.3 года назад
Part 1 of a series of electronics projects using the Commodore User Port. In this first lesson we blink an LED on and off with C64 BASIC See the written version here on the website: retrogamecoders.com/commodore-electronics-led/
Loading Game Map Data in C64 BASIC (Commodore BASIC programming part 6)
Просмотров 1,3 тыс.3 года назад
Welcome back, this is Part 6 of the Commodore 64 BASIC programming tutorial series. In this video we save and load simple level data files for our Dungeon Crawler game so we can have maps on disk rather than hard-coded into our game. This directly follows on from Part 5 which was about disks and files. As always, code and more information in the associated text article over at retrogamecoders.c...
C64 DOS, Disks and File Access on the Commodore 64 - C64 basic programming part 5
Просмотров 1,8 тыс.3 года назад
Commodore 64 DOS, BASIC and Disks/Files Welcome back, this is Part 5 of the Commodore 64 BASIC programming tutorial series. In this episode ... 00:00:18 - How the C64 DOS makes the computer useful in business 00:00:50 - Segue - Sorry I have been boring you with code! 00:01:11 - 4 types of files on the C64 00:02:10 - C64 DOS format, copy, rename and delete commands, the "Command Channel" 00:02:4...
The Magic of Poke - C64 basic programming part 4
Просмотров 3,9 тыс.3 года назад
Welcome back, this is Part 4 of the Commodore 64 BASIC programming tutorial series. In this episode we are going to look at the magic of pokes - More specifically, how using poke and peek you can get the most out of the unique abilities of the commodore 64 rather than stick to generic BASIC commands that are common across most machines of the era. This is not to knock the excellent type in prog...
C64 BASIC Part 3: IF Logic, Positioning Text, and Reading the Keyboard
Просмотров 2,5 тыс.3 года назад
Commodore BASIC series part 3: IF THEN and GET Commodore BASIC commands. Keyboard control and how to print at a certain location on screen For your Commodore 64 BASIC game to be fun and challenging, it will need to have some “logic”. There are two kinds of logic we will need to address: The “rules” of your game - how the game works internally. Display or “render” logic - how the game updates vi...
Commodore BASIC Dungeons and Dragons Character Generator Programming
Просмотров 4,6 тыс.3 года назад
Commodore 64 BASIC D&D Character Generator Program In the second part of our Commodore 64 BASIC programming guide series we look at GOSUB, FOR NEXT, Random (RND) and Arrays, and use these Commodore BASIC commands to create a Dungeons & Dragons character. If you don't have access to a Commodore 64, C64 emulator, TheC64 etc, go ahead and give my browser-based C64 emulator a try: retrogamecoders.c...
Introduction to Commodore 64 BASIC and Why You Should Learn It
Просмотров 22 тыс.3 года назад
Commodore 64 BASIC Programming Course Part 1: BASIC BASICS - The BASIC Programming Language Programming on a Commodore 64 with Commodore 64 basic - how to get started and why you should! BASIC Programming was the default, it was THE programming language of the 1980s. It was what appeared for everyone who turned on their home computer, but it also created an entire generation of "bedroom coders"...
Getting Started with MiSTer FPGA (Quick, Easy Step-by-Step 'MiSTer Fusion' Setup Guide Tutorial)
Просмотров 2,2 тыс.3 года назад
What is the MiSTer FPGA? How does MiSTer work? Where do you buy one? Discover everything you need to know about MiSTer and the retro computer and retro console FPGA game cores to get started. In this Getting Started with MiSTer FPGA video: 00:00 Introduction - What is MiSTer FPGA? Why MiSTer FPGA? 02:27 Getting Started with MiSTer, What is the minimum you need? 03:37 Setting Up MiSTer FPGA usin...
Top 10 Best Retro Computer and Retro Gaming YouTube Channels
Просмотров 1,5 тыс.3 года назад
Who are your favorite retro gaming and retro computer youtubers? Do you prefer retro computer refurbs, retro game play throughs, history, programming, upgrades or a mixture? Here is my top 10 retro gaming and retro computer RUclips channels, in no particular order. Full list of Retro Gaming RUclips channels (114 channels and growing!) is at this URL: retrogamecoders.com/resources/best-retro-you...
Bittboy vs Pocket Sprite Review: Retrogame Portable Emulators Comparison
Просмотров 8243 года назад
Bittboy vs Pocket Sprite Review: Retrogame Portable Emulators Comparison
Ultimate 64: Commodore 64 FPGA Motherboard Replacement/Upgrade
Просмотров 2,1 тыс.3 года назад
Ultimate 64: Commodore 64 FPGA Motherboard Replacement/Upgrade
Altiirra 3.9 running on macos 10.15 Catalina but extremely slowly using wine
Просмотров 363 года назад
Altiirra 3.9 running on macos 10.15 Catalina but extremely slowly using wine
Raspberry Pi Robot Part 2 - Web interface control
Просмотров 1929 лет назад
Raspberry Pi Robot Part 2 - Web interface control
Arduino with SD card playing Doctor Who theme (WAV audio)
Просмотров 15 тыс.9 лет назад
Arduino with SD card playing Doctor Who theme (WAV audio)
I want it
I have alot of Nostalga for QBasic but I would recommend teaching kids Python or the original C. Depending on their interest, I would even consider Javascript. Basic wont ruin them but most programs in basic have none professional feel to them. If it was me, I would teach them C first then introduce them to Python for Object Oriented Programming. Depending on what they want to create, I would introduce other tools in their languange of choice.
@@computernerd8157 Python is great and I do teach Python, which has an advantage of running on basically everything but it’s worth noting that this is a retro channel so that context is important :) (I do have c/c++ tutorials on my site by the way)
@@RetroGameCoders Cool, this is my first time on your channel ,so I did not know the context. This is a good video and you made alot of good points. For example using a tool that does not have bells and whistle will increase our understanding thus learning basic can still make you a good programer.
hi belgium her im going to begin is ther also an book
BMC64 is great. I’ve built one with usb keyboard, and joystick ports wired to the GPIO. I wish it was available for the Pi400 too.
I think “Not a Wizard” also deserves to be on this list, he has great programming videos.
Started with VIC20 and tape drive, and Basic and some assembly. I also tried Forth as that was one of the tapes I got with a computer. Later I got C64, still only tape drive. Did my diploma work with Simon's Basic as it had so many commands, mostly graphic ones that I needed (wanted to draw 3D graphics. One wireframe sphere would took 5 hours to render! ). In school we learned Fortran and Cobol (that we had chance to try on some big IBM mainframes from the local bank) After that I got Amiga 500 and there, I wanted to try Amiga Basic, but discovered and loved more C.
Awesome! I'm one myself, a RGC - Totally supporting your channel
Thank you, hope you enjoy :)
@@RetroGameCoders I have, and subbed!
so cool
DAmn i think about my dad when i watch this he got his x64 back in his day he also was crazy over D&D
Every time I see the vic 20 I think about my dad so I hear you <3
Great video. Quick question, so for any poject the safety way to go is putting a 1k resistor in gnd right?
Brings back memories!
My first computer was a Vic-20. I bought one just after graduating from high school. In school, i had taken a "computer math" class. We used TRS-80s, which we called "trash 80's". The Commodore 64 was my next computer. For nostalgia, i just bought a C64 mini, which I received yesterday.
I like my C64 mini. While I did get a C64 "Maxi" (the big one with the working keyboard), the mini can do everything that can do it just doesn't have the convenient keys for symbols and colours etc :)
@@RetroGameCoders Sounds like it is good enough for me though.
@@FunAfter52 yep I am sure it is :)
I was much older than many of you here when the VIC-20 came out but it was my first computer and a great intro to BASIC. I loved programming so much I earned a Bachelors in Computer Science.
Wow, it was fast! :D Congrat sir this video has won the 10s award :) Which means I've never seen any of your content before and within 10 second I subscribed to your channel. :D
Basic was my 1st language that I liked and just recently got VISION Basic for the 64 which has rekindled that love.
What is the game that you have running on the photo on your blog page about this project?
retrogamecoders.com/wp-content/uploads/2021/03/2020-07-01-16.16.21-768x1024-e1616192715456.jpg
It's my own dungeon game that I am writing
@@RetroGameCoders Nice! Hope to be able to play it in the future. That explains why I did not recognize it at all. ;)
In Commodore BASIC 2.0, it seems with IF, there's no ELSE clause, that later BASIC versions have... interesting...
Yeah IF ELSE was not in the earlier Commodore versions, the closest was a kind of Switch ability using ON (ON X GOTO 100,200,300)
Brilliant Design 💙
Started in Cobol, BASH, C, Java. Old school analyst programmer course from 2000 to 2003.... But the worse was Assembly... the teacher had us do exams with pen and paper on graph-type paper to note the hexadecimal values in memory of the data we manipulated with Asembly. Yeah my first work as an intern was COBOL for the gov't ! In passé computer infrastructures for the time. NORTEL had failed and they were still - ARE STILL - using COBOL.
sorry one led me to the other : it was in Complete_Commodore_Inner_Space_Anthology @@RetroGameCoders
Nice one. The great thing about these 'golden era' first home computers (ZX80/81/Spectrum, CBM64) was that you simply switched them on and you were taken instantly into a BASIC/IDE environment. That's what hooked so many into beginning their passion for programming. Is it this easy today? - bizarrely no! since you need to install your own IDE & toolsets. That said, double-click on any of these excellent emulators and you're taken straight into that same 1980's BASIC environment.
My first computer was a C=128, I loved that machine, even purchased a monitor for it instead of running on a TV then I wanted sound so I bought a Tandy under monitor with duel front firing speakers and a bottom firing woofer, had a nice amp built in with great controls. I still have that! It is old now but still looks good, I tore it down and replaced all the caps on it a few months ago, then put in a blue tooth receiver so I can use it for a BT speaker set . Nice, it has a regular power cord so no searching for a wall wart, still sounds great too! Oh I did replace the volume variable resistor as it was getting to bad even with a spray of cleaner.
Wow, this video is great! But I'm having a problem were the clear home button doesn't work. Any idea on how to fix it? Also how would I go about continuing my learning seeing as you don't make videos anymore? Is there any good manuals you recomend?
What device are you using? Emulator or an actual C64 or the maxi or ..? I’m going to start doing videos again now the flood of trolls seem to have gotten bored with me. So long as my videos aren’t exposed to Reddit I think my mental health will improve 🤣
@@RetroGameCoders I was using your web emulator on pc
@@dailydoseofeverything7141ok that must mean something changed in the keyboard scan codes since I did the videos - will investigate! 👍
Just worked for me on Chrome on mac but I did have to fix some of the character keys such as " and & :) You should be able to use your computer keyboard to do shift+home or the onscreen keyboard to clear home
Thank you for this great intro to basic, ive got a Vic-20 in late 1980 at age 12 and moved on with Sinclair 48k, then C=64, and then C=128. but after these all years away from the Basic language ive forgotten it, so this course i gold for me to get back on it, now i built a Raspberry PI running Combian 64 emulator wich emulates all commodores from PET to C=128,.....it is awesome fun, thank you again Chris Garrett <3 =)
Glad you enjoyed it! Combian is amazing isn't it? Also check out Bare Metal C64 for immediate boot and some other advantages, though you do lose Raspberry Pi operating system quality of life conveniences with that setup :) I also started with Vic 20 and then Spectrum 128+2, but then my brother got employed so we could move on to Atari ST :)
@@RetroGameCoders Hi dear friend! =) thanks for the tip on bare metal C64 i am exiting to look into it =) love cheers
I had a programming teacher at college who said a program should have only one start and one exit. She, too, frowned on BASIC due to GOTO and I found her arguments a bit retarded because what's BEQ? What's BNE? What's BRA? What's BHI if they're not all forms of GOTO? You can't RTS from one of those. Don't get me wrong, I absolutely love the C64 but Commodore 64 BASIC - really??? It's shit! I got spoilt with BBC BASIC and that had support for graphics and sounds and many more features C64 BASIC could only dream of.
Yeah BBC BASIC is the standard that others are measured by but comparatively few people experienced it in comparison to Microsoft BASIC so that is what everyone refers to and knows, not just because of Microsoft putting it on PCs but the Commodore line and all the others that used it or copied it, which is a shame
The C64 BASIC interpreter has a streamlined command set making it fast and memory efficient (only 8 K!). And C64 sprites or synth sounds created with C64 BASIC probably look and sound better than anything done in BBC Micro BASIC. The well thought-out graphical characters of the C64 are easy to use in BASIC.
i've heard that quote from djkstra before and yeah, it's totally backwards. sure, there are conventions in basic that don't work elsewhere... but that's EVERY LANGUAGE. the basics of how things work, what you're doing, why you're doing it, and the insane degree of bare metal access that 8bit computers gave to users THROUGH BASIC really gives people a leg up on understanding the overall process of computing and programming. no grudge against djkstra but yeah, he's very very very wrong and it would be a great boon to kids right now to start with even a commodore vic20.
Why no grudge against Djkstra? We need more grudge against Djkstra! I think he actually ruined the reputation of BASIC single-handedly with his BS, resulting in less work going into improving the language, compilers, etc. He was a plague.
What do you call the white board that the Adafruit is connected to? Is was a great idea to use this and have it fit very cleanly in the case.
The Breadboard?
Great info and delivery. Ty!
You missed Gamesack. All my retro gaming knowledge comes from that channel.
bad scripter
Don’t worry I’m sure you’re not as bad as you think Rick 👍
Let time goin
I stumbled upon your video a week ago and was on fire at once. I bought an electronics starter kit with LEDs, the PCB and resistors and an additional cable kit with those little banana plugs, a user port protection and a user port adapter of course. And a huge magnifying glass to see everything. But it doesn't work. It's very tough to see where you stuck your plugs on the PCB and you don't give additional information about it. Also nothing on your web site. Would have been really cool to control something with the user port, but now I'm a little disappointed. Well, at least the C64 is unharmed ;)
@@CptSparky glad you got it! 👍🚨
This is great
Thank you!
Great tutorial, thank you! Would it be possible to use the arduino's RX and TX pins instead? I intend to run third party firmware on my arduino that can only use the RX and TX pins, if at all possible
It's been a while but I imagine so, there are arduino boards with multiple UARTs also
Man you talk/go through this extremely fast. For something aimed at beginners I’d recommend pausing/taking a breath every once in a while - otherwise this comes off as a quick refresher for someone who already knows all this stuff. I’ve actually gone through a couple books and done a little bit of BASIC and I’m struggling to keep up with the pace that you’re presenting the information.
Its great to see CBM Basic lessons. I wonder when will someone have similar lessons for MEGA65 newer basic, Sinclair QL SuperBASIC and I believe BBC Basic as best and mightiest basic versions
Your schematics are super simple. I do wonder why you did not connect +5V, are you powering it via Micro-USB? You also ditch connecting the I2C pins on the ESP (D1/D2) as some others do, am I correctly assuming this is not necessary if you don't have a display? Some people say using the userport 5V signals may fry the ESP, which expects 3.3v signals, what's your take on that?
ESP can get fried on 5V yes.
I'm interested in the D1/D2 missing pins, the wemos has a 5V vin line that can power it, and a level shifter can be added to ensure that TX RX D1 and D2 are 3.3
Would this still work on a VIC-20?
I have some silly questions about the connection of the D1Mini module to the C64. First there is no power conection to the module. I guess it was missed out, but the D1Mini needs power right? A connection to userport Pin 2 would be needed. Second are the TX/RX pins on the D1Mini 5V tolerant? A 3.3 to 5V level shifter should be used othewise you can fry the D1Mini. Maybe I'm completely wrong, I apreciate your comments. Thanks!
Dopo "super sicuro" ho messo il pollice verso
Yeah we all should learn BASIC ..
What's the difference between BMC64 and Combian64? Which is best? I'm confused. Also, what size SD card do you recommend? Thanks so much for any help and sorry about all of the questions.
BMC64 boots directly, it’s basically the OS, where Combian runs on Linux and you can drop to her command line. Both have base specs with SD recommendations I believe, can’t recall
I love this 😊
Commodore basic having slow integers is more annoying than I ever would have expected. Most recent example, I wanted to use an integer overflow to zero as a timer, but the integer math showed things down so much it wasn't worth it.
You were getting a like anyway, but for using grok, I'd give you a second like if I could :D
Drive question maybe you can help with. I'm generating a chart of math data I'd like to save periodically while the program runs unattended. Is there a way to check for free disk space mid program so I can avoid writing to a full disk? And secondly, it's there an update our interrupt from the disk drive when it finishes a write that I WAIT on to avoid trying to write to a disk that's still being written? Thanks!
@@RetroGameCoders cool. I look forward to it. So far all I've come up with is sending the directory command (I'm on a 128), then reading characters from screen memory to see if the block count is greater than zero. But that's so hacky and there must be a better way.
After each disk operation, you should read the error channel. Error number 72 means the disk or directory is full. In that case your program can just ignore this, or print a warning on the screen, with or without waiting for user input to decide what to do (forget about writing the data, erase files to make room on the disk, insert another disk, etc.).
@Retro Game Coders - Chris Garrett hey thanks for sharing this info. Question. I am a heavy Mac user. Correct me if I am wrong but are you using a Mac to set up everything? I am new at this stuff. I have read a lot about this and still feel overwhelmed with this. Could I ask if you could help me set my system up. I am willing to compensate you for your time. Please let me know. Thanks
Brilliant! Thanks for making this video
Thank you for all you do for the .net community 👍😁👍
I love how easy and simple early computers where when it comes to simple programming concepts.
Question, what is the name, artist of that lovely tune ?