How to Make a C64 Game in BASIC Ep.1 [HOW2] | Nostalgia Nerd

  Рет қаралды 113,352

Nostalgia Nerd

Nostalgia Nerd

8 жыл бұрын

BASIC Programming... it's a skill we think is long forgotten on today's youth. In reality, we can still do it, it's just not as abundant as it was in the 80s. It was the default landing page of everyone who turned on their home computer in that era, so there was little choice but to learn it, especially if you had no games. But this was where creativity blossomed, it's where the surge of 1980s game development came from... the bedroom coders, the school kids and even the adults switching career path in favour of their latest hobby. To make a game today you usually buy a piece of software which does most of the work for you... some kind of RPG maker or FPS creator which has layers upon layers of code, slowing down the whole process and really not making the most out of the lightning fast processors of today. Most games were coded in a few kilobytes in the 80s. Today, you can't even fit an email into that space. BASIC Programming did more than allow you to make games. It was a true creative outlet where you could do pretty much ANYTHING you wanted. Your logic was tested to the max, as you figured out the best way to code up a particular routine, all whilst using your problem solving skills to cram it in as little space as possible.
In this series, I'm aiming to bring a little bit of that back, by teaching you how to make a game in BASIC. I'm specifically targeting Commodore BASIC here, as it seems the most accessible, and it's one I spent a good time using back in the early '90s. This episode is an introduction to making a BASIC Game, so I'm taking a gentle introduction to programming in BASIC, with some key elements, but over the coming episodes the goal is to create a fully functional game in C64 BASIC, which you can then tinker and develop to your heart's content. Hopefully if I can get one person to dust off their trusty C64 and get tinkering, then I'll be happy.
This episode is looking at creating a simple guessing game, using random numbers.
Here's the final listing;
10 print "*Insert Clear Screen Character*"
20 let x=int(rnd(1)*6)
20 print "The Computer has chosen a number between 0 and 5. Can you guess it?"
40 input G
50 print "*Insert Clear Screen Character*"
60 If G=X then print "Well Done.":Goto 90
80 print "Tough Luck - You're Wrong."
90 Print "Do you want another go? If so, please type Y and press the return key."
100 Input A$
110 If A$="Y" Then Goto 10
120 Goto 100
☟Subcribe☟
kzbin.info...
✊Support Me! ✊
Patreon: www.patreon.com/nostalgianerd...
Visit my eBay Shop: ebay.to/1QQpYyy
Buy From Amazon (affiliate): amzn.to/1OzCQWR
★Nerd Social★
Twitter: / nostalnerd
Face: / nostalnerd
Instagram: / nostalgianerd
Web: www.nostalgianerd.com
★Equipment★
Corel Video Studio Ultimate X7
Corel Paint Shop Pro X6
Blue Snowball Microphone
WinVICE Commodore 64 Emulator
♜Resources♜
First and Last tracks are Night Drive Turbo and Reflection of Paradise by the amazing Rad Universe - / raduniverse
Commodore 64 Image courtesy of Wikipedia/Wikimedia
HOW2 BG Intro from '90s kids programme HOW2 courtesy of Scottish Television Enterprises. Nostalgia at it's finest.

Пікірлер: 233
@alessandromangaXD
@alessandromangaXD 5 жыл бұрын
I suddendly felt the urge to buy a commodore and create a c64 game, i found this series, i discovered that it was never continued, i fell into depression. Now the C64 mini is out, PLEASE, GO ON WITH THIS SERIES
@mipmipmipmipmip
@mipmipmipmipmip 8 жыл бұрын
This is not how you start! You start by buying a book with pre-written games, then spend a whole day typing it into your C64, then type run and get a syntax error that requires a reboot undoing all your work.
@AllGamingStarred
@AllGamingStarred 7 жыл бұрын
i'm sorry methusaleh, the old folks home is 2 miles down
@moofymoo
@moofymoo 7 жыл бұрын
books? boks are for arcane age, nowdays you start by making a stackoverflow account.
@samuelhulme8347
@samuelhulme8347 6 жыл бұрын
This is how to make your OWN game
@TheStevenWhiting
@TheStevenWhiting 6 жыл бұрын
And getting REALLY annoyed at how poorly the code section was printed yet the text in the rest of the book was oddly fine. Then instead of trying to work out what the code did and how it worked you just gave up. At least I did. Maybe I was a lazy kid but I also think I was a bit thick back then as well :)
@lioar
@lioar 5 жыл бұрын
hehe :D
@heidirichter
@heidirichter 8 жыл бұрын
Great work, thank you. I spent more hours than I care to remember programming in BASIC, first on the Atari 400, then Commodore vic 20, then Commodore 64, then QBasic on the PC, finally AMOS on the Amiga 1200... I found some of my old cassette tapes the other day with "Word pro v2" on them for the Vic 20, which was my attempt to create a word processor on an unexpanded vic 20 in BASIC. All it did, really, was accept keyboard input at the cursor location, and F1 allowed a "save" of the whole screen to a specified flename on tape, while F3 allowed a loading of the whole screen. Even just cramming that into the tiny memory of the unexpanded vic in basic was a task, but i was proud of it. Now, I wouldn't have the foggiest idea how to do it, hahaha
@NeilRoy
@NeilRoy 6 жыл бұрын
To save typing, you do not need to use "LET". You can also use the "?" instead of typing "PRINT", it will show up as "PRINT" when you list the program. You can also type "gO" (g = shift O) instead of "GOTO", it will show up as "GOTO" when listed. To list, you can type "L" plus shift "i". There were a lot of shortcuts for the C64 to save some typing. You could also insert cursor movements between the quotes for printing and it would move the cursor the way you want when it was printed. Good for placing text at specific location on screen. The C64 actually has some cursor locate commands built in, but you needed to call them in machine language or know the SYS address for it (which I have in some notes somewhere). There was actually a SYS call for clearing the screen if printing a clear didn't suit your tastes (SYS command called a machine language subroutine at the address specified). I had some good times programming that machine.
@colonelbarker
@colonelbarker 5 жыл бұрын
I sure would love a follow up to this..
@redlinechaser7942
@redlinechaser7942 2 жыл бұрын
Agreed
@mikeyoung9810
@mikeyoung9810 4 жыл бұрын
I'm having a good time using the c64 maxi to write basic games again like I used to back in the 80's. I start with a very simple idea "swinging a golf club and seeing how far the ball goes". No graphics. Just 4 lines and eventually I expand it to hundreds of lines as I keep expanding the idea. I used to eventually add graphics but I don't really care these days. It's a fun diversion and one bug can so focus your mind that hours can go why without notice while you think yourself through the code trying to find it.
@MaskedGEEK
@MaskedGEEK 8 жыл бұрын
You brought back so many good memories from the "How 2" intro. That was a great TV show. That's where I first learnt about non-Newtonian fluids where Craig cut the stream of pouring liquid. Awesome.
@BlackburnBigdragon
@BlackburnBigdragon 7 жыл бұрын
I remember the days. I wrote so many games on my C64 back in the day.
@superperfectstranger815
@superperfectstranger815 7 жыл бұрын
BlackburnBigdragon I find JVM to be a good modern equivalent to learning basic on c64 because with JVM you can make complex programing from layers of simple code which the Linux kernel builds into complex program for you and you can go back and edit the program in its original stage of being a collection of simple codes vs something a c++ program where you must built the nativity into a complex program which makes the difference of 5 minutes vs 2 hours to find the code were you forgotten a symbol.
@9joao6
@9joao6 8 жыл бұрын
Just found your channel, cool stuff, loved learning from this video! Very cohesive teaching style you've got going on. When can we expect Ep. 2?
@jakedelmastro
@jakedelmastro 6 жыл бұрын
"A better way is to step out onto the pitch and start playing", this is 100% true, I never would have learned to program if I didn't dive right into something way over my head and learn by necessity.
@ZaneDaMagicPufferDragon
@ZaneDaMagicPufferDragon 7 жыл бұрын
Did you ever make a part two???
@speedwolf
@speedwolf 6 жыл бұрын
Zane Revai Came here to ask the same thing.
@adamwishneusky
@adamwishneusky 3 жыл бұрын
😢
@cubeheadexists
@cubeheadexists 3 жыл бұрын
Its been 5 years and still no
@MrLoretano77
@MrLoretano77 4 жыл бұрын
this was the first game i ever wrote on the Commodore when I was 7. so many great memories. thank you
@MrDaveP75
@MrDaveP75 8 жыл бұрын
You're very natural at teaching and I think this will be of genuine use to people who want to code but feel intimidated by it. I used to enjoy making simple programs on my Speccy back in the 80s and QBasic on my DOS PC in the 90s and even had delusions of becoming a professional. I then hired a book on machine code from my local library and realised I was out of my depth! Nowadays I just stick to the occasional simple web app as HTML/Javascript as it's all my simple brain can understand.
@djmoch1001
@djmoch1001 6 жыл бұрын
Getting happy flashbacks to programming in BASIC on my VIC-20, when I was something like 6 or 7 years old. I was a little computer geek, and I loved every minute of it!
@BenMursa
@BenMursa 8 жыл бұрын
I'm so surprised you don't have more viewers 😲 This is such a great way to get my retro computer fix haha
@SirRelith
@SirRelith 8 жыл бұрын
Oh man, this was really awesome! Thanks! I learned a lot about what programming was like on early systems. This video was a little beginner for me so I can't wait for further more advanced episodes. I'm very interested in how graphics like sprites and draw commands were created and handled on these systems.
@minefan722
@minefan722 8 жыл бұрын
You could have added this line to the beginning of the program : 15 X = RND(-TI) that would initialize the random number generator and then you won't have the same sequence every time you reboot
@retrogamerthomas9169
@retrogamerthomas9169 8 жыл бұрын
Thanks for this, I've just this week added a c64c to my collection and was thinking of learning basic coding! Awesome.
@Huddison
@Huddison 7 жыл бұрын
Excellent - I just got myself an old C64 (bread bin type) from Ebay, so I'm trying to relearn all my basic knowledge. Looking forward to seeing more of your videos :)
@davehx
@davehx 7 жыл бұрын
Unless a programs starts with.... 10 POKE 53280,0 : POKE 53281,0 ...it sucks
@Richardddoobies
@Richardddoobies 7 жыл бұрын
And poke 646,5 for that traditional greenscreen look...
@AllGamingStarred
@AllGamingStarred 7 жыл бұрын
does nothing
@bloodmapedit
@bloodmapedit 4 жыл бұрын
BSM?
@MrLoretano77
@MrLoretano77 4 жыл бұрын
i so agree i started every one with this but i made the border white instead.
4 жыл бұрын
C64 blue screen reminds me of my childhood. I was 8 when my parents bought me one. That blue screen caused alot of tears but also joy.
@videogamemusicandfunstuff4873
@videogamemusicandfunstuff4873 7 жыл бұрын
I love the part at 5:00 with the long pause, and then "question mark". I found that really funny for some reason.
@sa3270
@sa3270 26 күн бұрын
I think he was trying to decide if he wanted to correct the spelling mistake or pretend he didn't see it.
@alaborbe123
@alaborbe123 6 жыл бұрын
Wow, nice show... its been abot 20 years since i touched basic.... oh such memeories.... this videos removes abot first 100 pages of any manual and a lot of confusion for starters... oh if only i had tutor like that back in the days... great video, thank you very much for nostagic memories
@shaunbebbington4174
@shaunbebbington4174 6 жыл бұрын
Another way to generating integers without the INT keyword: 10 X% = RND(0) * 10 20 PRINT X% The % sign tells the interpreter to expect a signed 16 bit number, so has a range of -32768 to +32767, so it will automatically round it to an integer (I think it rounds down)
@RDJ134
@RDJ134 8 жыл бұрын
This brings back good memories, loved programming back in the day. Also probely the reason why i love to use Linux today :)
@aqualung2000
@aqualung2000 5 жыл бұрын
I'm guessing when you started this you didn't realize how much work it would be. But I hope it's still on your list of things to revisit, because it's a great idea!
@leberkassemmel
@leberkassemmel 7 жыл бұрын
For the listing in your description, instead of "*Insert Clear Screen Character*" you could also write chr$(147). Does the same thing, just looks a bit nicer on paper.
@wisteela
@wisteela 8 жыл бұрын
Excellent video. I'm looking forward to part two. Clear home should be shift clear home.
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
You are correct. Still it gives people a bit of a challenge.
@wisteela
@wisteela 8 жыл бұрын
Nostalgia Nerd True😊
@JakobHaq
@JakobHaq 8 жыл бұрын
Great tutorial, thank you very much! =D
@1luarluar1
@1luarluar1 5 жыл бұрын
Hi, I would like to ask a question: I'm doing some sprites for the C64 using Spritepad, and want to give my sprites to a programmer to implement them in the code. In the options I can chose between .prg .bin and .spd also when I chose .prg, the program is asking me to put a number (maybe I have to put a different number for every sprite I create)?....thank you!
@be236
@be236 Ай бұрын
I had fun programming my Commodore 64 and VIC-20 as a kid, back in the day... learned a lot about programming concepts.
@TheStevenWhiting
@TheStevenWhiting 6 жыл бұрын
I was such a soft kid whenever we'd visit WHSmith in the 80s all I'd write is 10 Print "Hello" 20 Goto 10 Everyone else wrote swear words. It never even crossed my mind to do that :)
@teddybeddy123
@teddybeddy123 8 жыл бұрын
VERY cool, keep up the good work!
@Tossphate
@Tossphate 7 жыл бұрын
any chance you could do a few more of these please?
@GEKKOGAMES_RETRO
@GEKKOGAMES_RETRO 8 жыл бұрын
Nice Nerd, looking coding on C64 is always great!
@Shadow__X
@Shadow__X 3 жыл бұрын
I am using an Emulator, how do I get the clear screen symbol there? emulating on retropie with raspberry pi and a german (qwertz) layout, though retropie or the emulator is configured for US
@commodore64programming35
@commodore64programming35 3 жыл бұрын
I rember there was a "guess my number" program in the Commodore 64 User's Manual. It would give you some hints too, such as "my number is lower" or "my number is higher". I remember I was quite enthusiast of this program when I first typed it in (I was 9 or 10). There were also a dice throwing simulator and a maze generator, both using random numbers. For example, this one line program will draw a maze: 10 print chr$(205.5+rnd(1));: goto 10
@retropolis.player.4
@retropolis.player.4 7 жыл бұрын
is there a way to save your program to a cartridge? I know there are some places that make new circuit boards and sell the components and cases needed. I would love to make my own even if just for my own sake.
@marukubeen
@marukubeen 5 жыл бұрын
I love programming I found a coding game on the Nintendo DSI and 3DS called Petit Computer and SmileBASIC they both use Basic and are a blast to make programs and games on. My 1st game was a chose your own path text game mixed with a maze-like dungeon my 2ed game was a slot machine game, I spent weeks working on the animation not using sprits just symbols. I would spend hours just adding code and would find my self looking at 400 new lines of code thinking how did I add all this with no programming experience. lol
@alessandromangaXD
@alessandromangaXD 5 жыл бұрын
At this point it's fair to say you do have programming experience... If you tried to get into modern programming, especially comething high-level and simple like phyton, you would probably find it very easy and entertaining. Phyton does have some similarities to Basic, and it's often used as a learning ground for new programmers, but it's still an incredibly powerfull language. If you wanted, you could build an entire game engine and game worth of the best productions with it, but of course there are better and more efficient ways of doing so by using C++/C# or Java.
@ryanbusch4015
@ryanbusch4015 6 жыл бұрын
i am just getting a 64 running, someone else already had a crack at it (was missing half the dram chips) recapped and new ram all around. ran your first program and got same results random decimal. also new to basic of any kind other then 20 years ago on a windows machine. if the random result is between zero and zero point nine recurring, why does it randomly post a result above zero? this seems like a glitch or a memory overflow problem, or not strict enough parameters for this code/command, again im really new just trying to learn.
@AntiBunnyStudio
@AntiBunnyStudio 7 жыл бұрын
This video has really helped me start learning to code. I hope you'll continue the series, because you're really good at making this all make sense.
@magnum333
@magnum333 6 жыл бұрын
Nice, it's pretty straightforward. I wonder how would you program graphics... the 8-bit guy said it's not so convenient. What were the most popular programs/games programmed in BASIC?
@ulfen92
@ulfen92 6 жыл бұрын
I remember having a few simple games made in basic. i dont think any real games ever were coded in basic since it is very slow compared to assembly code. I did small graphics (Sprites) by drawing them on paper and calculating their values by hand. (Binary to decimal). The DATA command was then used in basic. Ah those memories.
@twoleggedcat_cs2
@twoleggedcat_cs2 7 жыл бұрын
how do you clear it so fast what is the hot key I was testing it and then i tried to go back to my code and i had to retype it all over again it said something about go from start i think
@TheLoveMario
@TheLoveMario 7 жыл бұрын
the "?REDO FROM START" thing is just to tell you that you've input an invalid value during an INPUT prompt (When the question mark appears and you have to type in something) To clear the screen, press SHIFT and the button with the diagonal arrow pointing north-west
@wanderer5013
@wanderer5013 7 жыл бұрын
Will there be a part 2?
@Koridai011
@Koridai011 7 жыл бұрын
Where is the clear screen character on my c64 emulator? the one that looks like a heart in a box.
@irolaan292
@irolaan292 6 жыл бұрын
My biggest achievement in C64 basic was a Cross-stitch pattern maker program for my wife. It was mostly done in basic, but with ML routines to manipulate the multi-color mode. Many, many hours of hard work!
@TheLoveMario
@TheLoveMario 7 жыл бұрын
Is it possible to run 2 instructions at once? Like if i want the screen to flash colors but at the same time constantly wait for an ENTER press to reset the colors back to default
@Doctorj1
@Doctorj1 7 жыл бұрын
MarioKart7z 100 poke 53281,int(rnd(0)*16) 200 poke 53280,int(rnd(0)*16) 300 get a$: if a$ = "*keyboard button*" then goto 500 400 goto 100 500 poke 53281,14:poke 53380,6
@SuperNorstShow
@SuperNorstShow 8 жыл бұрын
I haven't messed around with BASIC as a programming language. More used to C++, though I would like to go backwards and learn more for the old PCs. I have attempted 6502 Assembly with a Commodore 64 Emulator. Would use my real C64 but my tv fell on it and its no longer functioning. Man is assembly rough. I have got as far as understanding the algorithm to multiply binary numbers using the carry bit. Due to time constraints in my life, I just haven't got any farther with it.
@mipmipmipmipmip
@mipmipmipmipmip 8 жыл бұрын
I had a C64 program where you could record typing a text in a fancy font and then play back in the way you typed it! Including backspaces etc. It was so cool.
@thearchiveable
@thearchiveable 6 жыл бұрын
mipmipmipmipmip That is called a notemaker.
@EgonOlsen71
@EgonOlsen71 8 жыл бұрын
I used to code a lot (Basic and Assembly language) on the C64 back in the days. Now, almost 30 years later, I'm back at it, because I decided to write a Basic V2 interpreter in Java. It's shocking how man quirks this language actually has that I either forgot or never knew about back then. I hope that your tutorial programs will be limited to text output for some time, so that I can use them as test cases for my interpreter...
@BoGy1980
@BoGy1980 7 жыл бұрын
damn ... does this come from the booklet? i remember this one of my first programs i made for the c64; it came from the users manual... but i changed few things; like you can change the 'input' with GET if you want people not to have press ENTER after pressing y or N i'm not sure, but didn't the c64 just knew the cls or clr command? instead of printing heart to get a clear screen? it's been so long in don't remember, or was this on my amstrad... also, you can replace all the typework of print by ? so instead of print you cant just use a question mark, it replaces it later with print...
@gabrielesimionato1210
@gabrielesimionato1210 6 жыл бұрын
BoGy Print can be written ? however in the list it still comes as "print" Cls and clr are used in QBasic, not in V2Basic. Here you still have to type CLEAR and the heart symbol
@commodore64programming35
@commodore64programming35 3 жыл бұрын
There's a CLR instruction in Basic 2.0 but it is used to clear all variables in memory (the program will stay intact).
@TheJimtanker
@TheJimtanker 2 жыл бұрын
My first "computer". You've come a long way baby.
@dariodzimbeg
@dariodzimbeg 7 жыл бұрын
is there LET command in commodore's language? as i remember it was only x=... without LET.
@macca_9680
@macca_9680 5 жыл бұрын
LET is optional
@SparkyMK3
@SparkyMK3 2 жыл бұрын
Thanks! Im gonna try this on my C64 Mini tonight!
@Smudge1
@Smudge1 3 жыл бұрын
You are really good at teaching programming thanks for helping
@slipknotboy555
@slipknotboy555 8 жыл бұрын
Good idea for a series. Very glad to hear your rig campaign exceeded its goal!
@inceptional
@inceptional 3 жыл бұрын
Eh, how am I supposed to type the "clear screen" symbol if I'm trying to do this on the VICE emulator, where I assume my Windows keyboard doesn't have such a button? I just spent whoever long typing out all that stuff above only to notice you weren't telling me to literally type "*Insert Clear Screen Character*". :-o
@dannycivic02
@dannycivic02 8 жыл бұрын
One thing I don't get is why the text just splits when you go to the next line halfway through a word, I think my obsessive compulsive is coming out. Great idea for a series though will be dusting off my c64 for this!!!
@througtonsheirs_doctorwhol5914
@througtonsheirs_doctorwhol5914 8 ай бұрын
Thanks ! I got one last year and I've been planning on coding a video game since 1988... Been a programmer since 2003 put the project of my own game on the back burner and now i the time. But I've never coded basic : COBOL, C, , C++, java, js, xthml, etc...
@redlinechaser7942
@redlinechaser7942 2 жыл бұрын
That was super helpful. Thanks. I just spent some time looking for part 2 because I just bought original Commodore 64 and want to learn to code in basic. Now I know of assembly and not sure where to start. I suppose the guide that came in the box is a good start. But after that...?
@le-db6bc
@le-db6bc 8 жыл бұрын
I am using the VICE emulator and I can't figure out how to clear the screen without doing a hard reset. How do you clear the screen in the VICE emulator?
@le-db6bc
@le-db6bc 8 жыл бұрын
Never Mind it's Shift+Home
@TheLoveMario
@TheLoveMario 7 жыл бұрын
+Cole Zee it's the button with a diagonal arrow pointing north-west on it
@jmm1233
@jmm1233 6 жыл бұрын
there is a version of BASIC i remember on C64 that conformed to the PRINT CLS function instead of the heart symbol , it so long ago i can't remember which one
@enzowarren9832
@enzowarren9832 5 жыл бұрын
Can you make a simplified Doom clone in SimpleBasic? I’d really like to see that done. Raycasting is possible in it, as is simple polygonal 3D.
@Michirin9801
@Michirin9801 8 жыл бұрын
Before this video the only thing I could do in basic was: 10 print "Hello World!" 20 go to 10 run I tried writing this program on N-88 basic for the NEC PC-88 computer and well, it kinda worked! I could guess numbers and stuff, but some of the code (like clearing the screen and restarting the game after I got a number wrong) didn't work because the PC-88 and the C64 have some different functions, and well, I don't really know what are the PC-88 equivalents to them... But still, I think I've learned a thing or two about basic from this video!
@balloonsbeyond
@balloonsbeyond 5 жыл бұрын
It says there is a syntax error in line 40 pls help
@concept-seven
@concept-seven 6 жыл бұрын
Great video - is there a 2nd part?
@DarenPage
@DarenPage 8 жыл бұрын
I'm looking forward to the rest of this series, I used to do a lot of basic programming back in the day. Why not replace the inputs with "getkey A$"?
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
Getkey will come all in good time.
@DarenPage
@DarenPage 8 жыл бұрын
+Nostalgia Nerd sweet, all bases covered then. :)
@mattks1001
@mattks1001 2 жыл бұрын
@@Nostalgianerd in good time? nothing like the present... 5 years later.. lol...
@balisongman07
@balisongman07 Жыл бұрын
This was great. Used it to make a coin flip where it guess 2 numbers then if they were the same it was heads
@Toylympics
@Toylympics 6 жыл бұрын
Bit late now - But I wish I had a video like this when I was a kid!
@davidthefillerman
@davidthefillerman 2 жыл бұрын
new how2 tutorial looks nice :D
@richardtherrien4696
@richardtherrien4696 8 жыл бұрын
I love your vids but how do you find the time to make them. Is this your full time job?
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
I let other areas of my life slide drastically :D
@Lorfarius
@Lorfarius 8 жыл бұрын
If you get Doom does this mean we won't see you for several weeks? :o
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
It's a possibility, but I think that I'll still prefer making videos.
@davidebianchi5284
@davidebianchi5284 4 жыл бұрын
10 PRINT "WHAT KIND OF EMULATOR DO U USE?" 20 PRINT "THANK YOU SO MUCH!" RUN
@Quesbe
@Quesbe 4 жыл бұрын
WHAT KIND OF EMULATOR DO U USE? THANK TOU SO MUCH READY. More seriously: Vice is a great one, for a lot of Commodore computers.: vice-emu.sourceforge.io/
@toxlaximus3297
@toxlaximus3297 5 жыл бұрын
10 print "Willy" 20 goto 10 Used to do that in boots 30 something years ago. :D
@orderofmagnitude-TPATP
@orderofmagnitude-TPATP 8 жыл бұрын
10 print "what is the password" 20 input a$ 30 if a$ = "nastolgia nerd video was great" goto 50 40 print "wrong try again" 50 goto 10 - this is how i used to password protect on my amstrad cpc in the day and thought i was a smart ass.
@oscwavcommentaccount
@oscwavcommentaccount 4 жыл бұрын
What if someone was smart and looked at the source code.
@JackBealeGuitar
@JackBealeGuitar 7 жыл бұрын
When did "else" first appear? select case is always handy too, but I'm pretty sure that didnt exist back then
@Richardddoobies
@Richardddoobies 7 жыл бұрын
The Commodore 128 had IF/THEN/ELSE. BASIC V 7.0 If they would have made a Commodore 256, it would have had IF/THEN/MAYBE: 10 X=INT(RND(1)*100)+1 20 IF X>50 THEN GOTO 30 MAYBE 40 OR EVEN 50ish 30 GOTO BED
@JackBealeGuitar
@JackBealeGuitar 7 жыл бұрын
I have a few memories of programming on a C64 (my friend had one). I don't think we ever got much past printing characters to the screen, trying to make text art! it wasn't until many years later I started using Turbo Basic and it all came back to me
@benjo145
@benjo145 5 жыл бұрын
why was this the only c64 basic guide you made? i think it would be a really good series.
@AldenMoellerInc
@AldenMoellerInc 7 жыл бұрын
can you make a video on how to make a platformer c64 game? thx
@BastiElektronik
@BastiElektronik 6 жыл бұрын
How can you print the inverted heart
@Galaxy895joemama
@Galaxy895joemama 2 жыл бұрын
So you could do a loop by just using the goto command?
@SuperDang2011
@SuperDang2011 7 жыл бұрын
scnclr was usually clear screen in most commodore basic languages good video
@kevin12567
@kevin12567 7 жыл бұрын
When's the next part coming?
@Nostalgianerd
@Nostalgianerd 7 жыл бұрын
Good question. I haven't forgotten, just haven't got round to it. I would say definitely soon.
@SeanJTharpe
@SeanJTharpe 6 жыл бұрын
If you need a couple of cool songs like these in your videos, you can check out Suduaya - Come Back to Life album, I think you might like the songs "Snow and Stars" and "Patience" ... I hope you like them.
@kevin12567
@kevin12567 6 жыл бұрын
Still waiting for the next part (note how long ago my OP was)...
@maziu27
@maziu27 6 жыл бұрын
Nostalgia Nerd nah
@NeilRoy
@NeilRoy 6 жыл бұрын
POKE 211,X : POKE 214,Y : SYS 58732 - this will set the cursor at the location specified. SYS 58692 - same as the CLR/HOME, clears the screen. POKE 775,200 - disable LIST POKE 775,167 - enable LIST
@thomashobbs7066
@thomashobbs7066 8 жыл бұрын
What is a good price for a commodore 64?
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
About £30 should give you a nice 64C
@georgequinnell9506
@georgequinnell9506 7 жыл бұрын
This is probably such a common question, but how does one break out of the program? I'm learning basic just for shits, I actually kind of despise programming. But it's fun to fool around with old languages to me for some reason.
@Milkymalk
@Milkymalk 7 жыл бұрын
You can actually use the command "END" inside a program, or you just let it reach the end of the code.
@kjell159
@kjell159 5 жыл бұрын
I'm running vice version 3.3, C64 emulator. On Linux, on a macbook, with an azerty keyboard layout (Belgian), yep... I can't find the dark heart, is it possible to input it? I used this instead: 10 PRINT CHR$(147) list run I also did a: 115 IF A$="N" THEN GOTO 130 120 GOTO 100 130 END Also, with the 90 GOTO 10 example, I couldn't break it. Normally a press on the 'esc' button on my keyboard is enough. But I eventually just had to shutdown the computer (the emulator that is, haha).
@le-db6bc
@le-db6bc 8 жыл бұрын
When it got to the point when it kept running the program every time. I couldn't stop the program.
@Nostalgianerd
@Nostalgianerd 8 жыл бұрын
Escape or Caps lock are usually mapped to the 64 Stop key.
@rafaelmmartinez9170
@rafaelmmartinez9170 Жыл бұрын
There is a part 2?
@emilyphilgoodson3809
@emilyphilgoodson3809 4 жыл бұрын
If you want to copy and paste basic in to a emulator you will need to convert all the code into lower case as won't display properly otherwise.
@dbfi01
@dbfi01 7 жыл бұрын
Why not use the CLS command instead to clear the screen?
@AllGamingStarred
@AllGamingStarred 3 жыл бұрын
Made a short little number guessing game. Turns green when right, Red if wrong
@HomelessTechnology
@HomelessTechnology 7 жыл бұрын
Do a video on QBasic!
@itselfbookshelf8472
@itselfbookshelf8472 3 жыл бұрын
i tried to code this on a TI-99/4a. It didn't work, time to get a C64.
@idhamsyakir6355
@idhamsyakir6355 7 жыл бұрын
it's remind me of the batch programming
@seanhart9706
@seanhart9706 5 жыл бұрын
Subbed then unsubbed when i realized you didnt make part 2. Ir should i say yo didnt make part 2.
@WDCallahan
@WDCallahan 4 жыл бұрын
Episode 2, please!
@deadlockofdeath449
@deadlockofdeath449 6 жыл бұрын
This is what I get when I search for how to basic
@CkVega
@CkVega 8 жыл бұрын
Nice!
@thosewerethegames8269
@thosewerethegames8269 Жыл бұрын
sweet sweet memories!
@sundaybg1133
@sundaybg1133 5 жыл бұрын
I code in BASIC and I love it
@kailomonkey
@kailomonkey 5 жыл бұрын
Oh I've liked this before. Guess I watched it before! I forget.
Why Does USB Keep Changing? | Nostalgia Nerd
20:51
Nostalgia Nerd
Рет қаралды 3 МЛН
kkrieger: Making an Impossible FPS | Nostalgia Nerd
28:49
Nostalgia Nerd
Рет қаралды 1,1 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 7 МЛН
Games That Push The Limits of The Commodore 64
15:29
Sharopolis
Рет қаралды 411 М.
Games That Push The Limits of the Commodore 64 in Surprising Ways
20:11
You Hated This Game | Nostalgia Nerd
21:06
Nostalgia Nerd
Рет қаралды 89 М.
They Lied to Us | Nostalgia Nerd
38:58
Nostalgia Nerd
Рет қаралды 331 М.
Windows’ Hidden Self Destruct Code | Nostalgia Nerd
19:40
Nostalgia Nerd
Рет қаралды 1 МЛН
C64 BASIC Compilers Speed Test using the Quicksort algorithm
14:40
Retro Old Guy
Рет қаралды 6 М.
The Most Controversial Children's Book in History
40:38
Solar Sands
Рет қаралды 859 М.
I started making this C64 game in 1984. It’s time to finish it!
13:14
RavenWolf Retro Tech
Рет қаралды 66 М.
Complete beginners guide to creating sprites on the Commodore 64 / C64 in BASIC
25:47
Why is HD 1080p? | Nostalgia Nerd
20:59
Nostalgia Nerd
Рет қаралды 246 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 13 МЛН