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

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • 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☟
    www.youtube.co...
    ✊Support Me! ✊
    Patreon: www.patreon.co...
    Visit my eBay Shop: ebay.to/1QQpYyy
    Buy From Amazon (affiliate): amzn.to/1OzCQWR
    ★Nerd Social★
    Twitter: / nostalnerd
    Face: / nostalnerd
    Instagram: / nostalgianerd
    Web: www.nostalgiane...
    ★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.

Комментарии • 224

  • @alessandromangaXD
    @alessandromangaXD 5 лет назад +25

    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

  • @colonelbarker
    @colonelbarker 5 лет назад +26

    I sure would love a follow up to this..

  • @NeilRoy
    @NeilRoy 7 лет назад +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.

  • @heidirichter
    @heidirichter 8 лет назад +36

    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

  • @ZaneDaMagicPufferDragon
    @ZaneDaMagicPufferDragon 8 лет назад +52

    Did you ever make a part two???

  • @davehx
    @davehx 7 лет назад +23

    Unless a programs starts with....
    10 POKE 53280,0 : POKE 53281,0
    ...it sucks

    • @Richardddoobies
      @Richardddoobies 7 лет назад +1

      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.

  • @leberkassemmel
    @leberkassemmel 7 лет назад +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.

  • @mikeyoung9810
    @mikeyoung9810 4 года назад +3

    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.

  • @orderofmagnitude-TPATP
    @orderofmagnitude-TPATP 8 лет назад +2

    ....and even then i fucked up.... it should be...
    goto 60
    40 print" wrong try again"
    50 goto 10
    60 print "well done... your in"
    70 run file "nastolgia nerd"

  • @9joao6
    @9joao6 8 лет назад +11

    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?

  • @minefan722
    @minefan722 8 лет назад +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

  • @itselfbookshelf8472
    @itselfbookshelf8472 3 года назад +2

    i tried to code this on a TI-99/4a. It didn't work, time to get a C64.

  • @BlackburnBigdragon
    @BlackburnBigdragon 8 лет назад +14

    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.

  • @seanhart9706
    @seanhart9706 5 лет назад +6

    Subbed then unsubbed when i realized you didnt make part 2. Ir should i say yo didnt make part 2.

  • @SuperNorstShow
    @SuperNorstShow 8 лет назад +1

    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.

  • @davidebianchi5284
    @davidebianchi5284 4 года назад +5

    10 PRINT "WHAT KIND OF EMULATOR DO U USE?"
    20 PRINT "THANK YOU SO MUCH!"
    RUN

    • @Quesbe
      @Quesbe 4 года назад +3

      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/

  • @lurkerrekrul
    @lurkerrekrul 8 лет назад +1

    90 Print "Do you want another go?"
    100 Get A$ : If A$"Y" And A$"N" Then 100
    110 If A$="Y" Then 10
    120 If A$="N" Then Print "Goodbye!"

  • @shaunbebbington4174
    @shaunbebbington4174 6 лет назад +1

    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)

  • @commodore64programming35
    @commodore64programming35 4 года назад +1

    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

  • @marukubeen
    @marukubeen 5 лет назад +1

    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 лет назад +1

      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.

  • @aqualung2000
    @aqualung2000 6 лет назад +4

    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!

  • @TheStevenWhiting
    @TheStevenWhiting 6 лет назад +1

    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 :)

  • @wisteela
    @wisteela 8 лет назад +7

    Excellent video. I'm looking forward to part two.
    Clear home should be shift clear home.

    • @Nostalgianerd
      @Nostalgianerd  8 лет назад +5

      You are correct. Still it gives people a bit of a challenge.

    • @wisteela
      @wisteela 8 лет назад +1

      Nostalgia Nerd True😊

  • @toxlaximus3297
    @toxlaximus3297 5 лет назад +3

    10 print "Willy"
    20 goto 10
    Used to do that in boots 30 something years ago. :D

  • @MrDaveP75
    @MrDaveP75 8 лет назад +2

    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.

  • @orderofmagnitude-TPATP
    @orderofmagnitude-TPATP 8 лет назад +3

    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.

  • @alaborbe123
    @alaborbe123 6 лет назад +1

    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

  • @dariodzimbeg
    @dariodzimbeg 7 лет назад +1

    is there LET command in commodore's language? as i remember it was only x=... without LET.

  • @jakedelmastro
    @jakedelmastro 6 лет назад +1

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

  • @NeilRoy
    @NeilRoy 7 лет назад +5

    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

  • @MaskedGEEK
    @MaskedGEEK 8 лет назад +2

    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.

  • @idhamsyakir6355
    @idhamsyakir6355 7 лет назад +1

    it's remind me of the batch programming

  • @Huddison
    @Huddison 7 лет назад +1

    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 :)

  • @MrLoretano77
    @MrLoretano77 4 года назад +2

    this was the first game i ever wrote on the Commodore when I was 7. so many great memories. thank you

  • @BenMursa
    @BenMursa 8 лет назад +2

    I'm so surprised you don't have more viewers 😲
    This is such a great way to get my retro computer fix haha

  • @enzowarren9832
    @enzowarren9832 6 лет назад +1

    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.

  • @magnum333
    @magnum333 6 лет назад +2

    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 лет назад +1

      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.

  • @Koridai011
    @Koridai011 7 лет назад +1

    Where is the clear screen character on my c64 emulator?
    the one that looks like a heart in a box.

  •  4 года назад +1

    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.

  • @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).

  • @througtonsheirs_doctorwhol5914
    @througtonsheirs_doctorwhol5914 10 месяцев назад

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

  • @Ensign_Cthulhu
    @Ensign_Cthulhu 4 года назад

    Here is a better one that rolls TWO dice.
    5 PRINT "CLR-HOME"
    10 X = INT(RND(1)*6)+1:Y=INT(RND(1)*6)+1:Z=X+Y:REM ROLLS TWO DICE, GENERATING RANDOM NUMBERS BETWEEN 1 AND 6 FOR EACH AND ADDS THEM.
    20 PRINT "THE COMPUTER HAS ROLLED THE DICE. CAN YOU GUESS THE TOTAL (BETWEEN 2 AND 12)?"
    30 INPUT G. IF G < 2 OR G > 12 THEN PRINT "YOUR GUESS MUST LIE BETWEEN 2 AND 12": GOTO 30:REM REJECTS OUT-OF-RANGE GUESSES IMMEDIATELY
    40 IF G Z THEN PRINT "SORRY, YOU GUESSED WRONG."
    50 IF G = Z THEN PRINT "WELL DONE!"
    60 PRINT "DO YOU WANT TO TRY AGAIN (Y/N)?"
    70 GET G$:IF G$="" THEN GOTO 70:REM RETRIES EMPTY KEY BUFFER
    80 IF G$="Y" THEN GOTO 20:IF G$="N" THEN GOTO 90
    85 GOTO 70:REM REJECTS ANY ANSWER EXCEPT Y OR N
    90 PRINT "OK, SEE YOU AGAIN SOON.":END

  • @be236
    @be236 3 месяца назад

    I had fun programming my Commodore 64 and VIC-20 as a kid, back in the day... learned a lot about programming concepts.

  • @looneyburgmusic
    @looneyburgmusic 3 года назад

    "...the computer randomly chooses a number between 0 and 0.9-"
    Yeah try telling that to the C64, when around 1:40 the computer instead decided on 4.69653672E -03
    Guess the C64 showed you who was really in charge, didn't it?

  • @ME-ru4hv
    @ME-ru4hv 4 года назад +1

    if G = X THEN print INT RND (1) * 6 "welcome to hell" )
    READY

  • @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

  • @videogamemusicandfunstuff4873
    @videogamemusicandfunstuff4873 8 лет назад +2

    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 3 месяца назад

      I think he was trying to decide if he wanted to correct the spelling mistake or pretend he didn't see it.

  • @gabrielesimionato1210
    @gabrielesimionato1210 6 лет назад +1

    Video starts at 1:09

  • @retrogamerthomas9169
    @retrogamerthomas9169 8 лет назад +1

    Thanks for this, I've just this week added a c64c to my collection and was thinking of learning basic coding! Awesome.

  • @JakobHaq
    @JakobHaq 8 лет назад +2

    Great tutorial, thank you very much! =D

  • @benjo145
    @benjo145 5 лет назад +1

    why was this the only c64 basic guide you made? i think it would be a really good series.

  • @SirRelith
    @SirRelith 8 лет назад +1

    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.

  • @kevinmulya7700
    @kevinmulya7700 6 лет назад +1

    ((How2Basic))

  • @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

  • @mocatz1963
    @mocatz1963 Год назад

    THIS DIDN'T COVER ANYTHING ABOUT GAMING LIKE HOW MOVEMENT WORKS. tHIS COULD HAVE BEEN A PROGRAM FOR AN atm MACHINE SINCE IT HAD VERY LITTLE TO DO WITH GAME ELEMENTS LIKE MOVEMENT.

  • @RDJ134
    @RDJ134 8 лет назад +1

    This brings back good memories, loved programming back in the day. Also probely the reason why i love to use Linux today :)

  • @Tossphate
    @Tossphate 7 лет назад +2

    any chance you could do a few more of these please?

  • @ubernerrd
    @ubernerrd 7 лет назад

    Instead of prompting for another guess I'd just loop until the user gets it right. until $guess == $answer, etc.

  • @wanderer5013
    @wanderer5013 7 лет назад +3

    Will there be a part 2?

  • @TheJimtanker
    @TheJimtanker 2 года назад

    My first "computer". You've come a long way baby.

  • @sumabich721
    @sumabich721 2 года назад

    reminds me of how javascript deals with random number generating.

  • @benjaminslayton4335
    @benjaminslayton4335 4 года назад

    This doesn't work on Microsoft Basic on my computer. :(

  • @AllGamingStarred
    @AllGamingStarred 3 года назад

    Made a short little number guessing game. Turns green when right, Red if wrong

  • @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

  • @jasonking1284
    @jasonking1284 4 года назад

    That is pure spaghetti code. No need for that in 2016 or later...

  • @Smudge1
    @Smudge1 3 года назад

    You are really good at teaching programming thanks for helping

  • @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.

  • @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!

  • @raularriazola6042
    @raularriazola6042 4 года назад

    it would be cool if the program told you the number the computer picked.

  • @MagicPumpkin
    @MagicPumpkin 8 лет назад +8

    POKE 53281,0 :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!

  • @redlinechaser7942
    @redlinechaser7942 3 года назад

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

  • @jmm1233
    @jmm1233 7 лет назад

    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

  • @Ihavetruth22
    @Ihavetruth22 6 лет назад

    Worst keyboard ever. maybe sinclair is worse. lol.

  • @thiesenf
    @thiesenf 5 лет назад

    10 FOR X = 1 TO 100
    20 PRINT X
    30 NEXT X
    I am an BASIC-fu guru (meditation)...

    • @kevin12567
      @kevin12567 5 лет назад

      Software Failure. Press left mouse button to continue.
      Guru Meditation #00000025.65045048

  • @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!

  • @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.

  • @AldenMoellerInc
    @AldenMoellerInc 7 лет назад

    can you make a video on how to make a platformer c64 game? thx

  • @dbfi01
    @dbfi01 7 лет назад

    Why not use the CLS command instead to clear the screen?

  • @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...

  • @NikkiMcMistie
    @NikkiMcMistie 3 года назад

    Lol is this just a program from the C64 user manual

  • @le-db6bc
    @le-db6bc 8 лет назад +1

    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.

  • @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 лет назад +1

      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

  • @SparkyMK3
    @SparkyMK3 2 года назад

    Thanks! Im gonna try this on my C64 Mini tonight!

  • @twoleggedcat_cs2
    @twoleggedcat_cs2 8 лет назад +1

    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

  • @littleloner1159
    @littleloner1159 5 лет назад

    The minutes of panic a millennial experiences while search for a way to break this endless line of numbers on an old dell keyboard... you should include such knowledge if this is for beginners.
    should explain it like I'm your grandma. That's how I feel with this spooky new technology anyways
    Wait how did you clear that page... oh no! it's illegal to just write it! What have I done...

  • @teddybeddy123
    @teddybeddy123 8 лет назад +1

    VERY cool, keep up the good work!

  • @irolaan292
    @irolaan292 7 лет назад

    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!

  • @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!!!

  • @iscreenshotnfts6720
    @iscreenshotnfts6720 2 года назад

    Im trying this on the c64 mini classic mode

  • @Galaxy895joemama
    @Galaxy895joemama 2 года назад

    So you could do a loop by just using the goto command?

  • @mixschnack
    @mixschnack 3 года назад

    Where is the continuation of the tutorial?!

  • @davidthefillerman
    @davidthefillerman 2 года назад

    new how2 tutorial looks nice :D

  • @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.

  • @AllGamingStarred
    @AllGamingStarred 6 лет назад

    typed as shown, got a red from start error

  • @MrSatan-it5ww
    @MrSatan-it5ww 7 лет назад

    i didn't know to much about Comodore64 until i saw your channel...e wasn't to famous in the Americas for me. i saw it once were im from in Puerto Rico.

  • @ErickBRSAO
    @ErickBRSAO 6 лет назад

    Is Nostalgia Nerd How 2 Basic? *get it*

  • @kevin12567
    @kevin12567 7 лет назад +4

    When's the next part coming?

    • @Nostalgianerd
      @Nostalgianerd  7 лет назад +8

      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 лет назад +1

      Nostalgia Nerd nah

  • @Sonicthehedgeho4
    @Sonicthehedgeho4 5 лет назад

    HELP NOW THE CLEARSCREEN CHARACTRER DOES NOT WORK!!! İ AM USİNG C64 MİNİ

  • @MariusRomanum
    @MariusRomanum 2 года назад

    That intro reeks of age