Running MSBASIC on my breadboard 6502 computer

  Рет қаралды 190,454

Ben Eater

Ben Eater

Күн бұрын

More 6502: eater.net/6502
Code from this video: github.com/beneater/msbasic
Support these videos on Patreon: / beneater or eater.net/support for other ways to support.
------------------
Social media:
Website: www.eater.net
Twitter: / ben_eater
Patreon: / beneater
Reddit: / beneater
Special thanks to these supporters for making this video possible:
19day, Adrien Friggeri, Aleksey Smolenchuk, Anthony Weems, anula, Ben, Ben Cochran, Benjamin D. Williams, Benjamin Elder, Benjamin Keil, Benji Bromberg, Bill Cooksey, Binh Tran, Богдан Федоров, Bradley Stach, Brian Haug, Burt Humburg, Carl Fooks, Carsten Schwender, Chad Fertig, Chai, Chris Anders, Chris Lajoie, criis, Cristi Cobzarenco, Daniel Tang, Daniel Zimmer, Dave Walter, Dave Westwood, David Clark, David Cox, David Dawkins, David House, David Klassen, David Sastre Medina, David Turner, Dean Winger, Deep Kalra, DemoniacDeath, Dennis Henderson, Dilip Gowda, Dirk Sperling, Dmitry Guyvoronsky, Dustin Campbell, Dzevad Trumic, Emilio Mendoza, Eric Dynowski, Erik Broeders, Erik Granlund, Ethan Sifferman, Eugene Bulkin, Evan Serrano, Evan Thayer, Eveli László, Florian Bürgi, fxshlein, George Harris, George Miroshnykov, ghostdunk, Glen Jarvis, Gregory Burns, GusGold, Hailey, Hovis Biddle, Ingo Eble, Ingram Leedy, Isaac Parker, Jack McKinney, Jacob Ford, James Capuder, James Will, Jason DeStefano, Jason Grim, Jason Thorpe, JavaXP, Jaxon Ketterman, jemmons, Jeremy Cole, Jesse Miller, Jim Kelly, Jim Kelly, Jim Knowler, Joe Beda, Joe Pregracke, Joe Rork, Joel, John Henning, Jon Dugan, Jonn Miller, Josh Smith, Justin Graziani, Justin Williams, Kai Wells, Kefen, Ken Paul, Kennard Smith, Kenneth Christensen, Kevin McQuown, Kristian Høy Horsberg, Kyle Kellogg, Lambda GPU Workstations, Larry Scherr, László Bácsi, Lithou, Marcos Fujisawa, Marcus Classon, Mariano Uvalle, Mark Day, Martin Noble, Mats Fredriksson, Matthew Clifford, melvin2001, Michael Cartwright, MICHAEL SLASS, Michael Tedder, Michael Timbrook, Michael Weitman, Miguel Ríos, Mike Coate, mikebad, Miles Macchiaroli, Muqeet Mujahid, Nate Welch, Nicholas Counts, Nicholas Moresco, Nick Chapman, Olivier HUBER, Örn Arnarson, Owen Arnett, Paul Heller, Paul Pluzhnikov, Pete Dietl, Phil Dennis, Philip Hofstetter, Ponytail Bob, ProgrammerDor, Ralph Irons, Randal Masutani, Randy True, raoulvp, real_huitz, Ric King, Richard Wagoner, Rick Hennigan, Rob Bruno, Robert Brown, Robert Diaz, Robey Pointer, Roland Munsil, Ryan Morrison, Sagnik Bhattacharya, Sam Sturgis, Scott Gorlick, Scott Holmes, Sean Patrick O’Brien, Sergey Kruk, snc, SonOfSofaman, sorek.uk, Spencer Ruport, Stefan Nesinger, Stephen Kovalcik, Stephen Riley, Steve Jones, Thomas Eriksen, Tim Oriol, Tim Sanders, Tim Walkowski, Tom, Tom Smith, Trevor Johnston, Trey Webb, tryonlinux, Tyler Latham, Vincent Bernat, Warren Miller, Wraithan McCarroll
0:00 The MSBASIC code
1:42 Creating our own version of MSBASIC
4:53 Zero-page configuration
9:32 Configuring our version
13:08 Adding our BIOS code and Wozmon
14:15 Linker configuration
18:50 Pointing BASIC to our BIOS
23:09 Running BASIC!
26:32 Bugfixes and making control-C work
32:30 Everything is working
34:16 Not everything is working
35:29 Everything is actually working now

Пікірлер: 545
@PC_YouTube_Channel
@PC_YouTube_Channel 3 ай бұрын
I saw the title in my notifications and said out loud "no way". I never thought I'd learn so much about the absolute lowest level parts of computing. But you have singlehandedly made it accessible, entertaining, and interesting for me.
@malumphasma
@malumphasma 3 ай бұрын
I used to think I knew the basics, until he did this series. He has taught me way more than any book. I hope he builds more soon.
@ChrisAthanas
@ChrisAthanas 3 ай бұрын
Ben Eater is a National treasure and you are lucky to have him
@totallydaniel7
@totallydaniel7 3 ай бұрын
I did the EXACT same thing lol
@13mudit
@13mudit 3 ай бұрын
Exactly!! this guy started from explaining how silicon gates work! And now he's running BASIC.... mind blowing
@mokoepa
@mokoepa 3 ай бұрын
@@13mudit 🤣🤣🤣 Couldn't get any crazier....
@Manabender
@Manabender 3 ай бұрын
4:39 Ah, the tried and true method of "just keep hacking away until the compiler stops yelling at you" method. My favorite.
@OrangeDied
@OrangeDied 2 ай бұрын
me trying to use linux
@jimbo80982
@jimbo80982 2 ай бұрын
@@Rx7man The definition of progress right there! 😂
@carldaniel6510
@carldaniel6510 3 ай бұрын
Ah, the memories. My friends and I played with this stuff back when we wre in high school and the 6502 was new. There was no open source of MSBASIC back then, so we wrote our own disassembler (in FORTRAN!), went through the MSBASIC code and figured out what everything did and produced an buildable source, which we could then modify and assemble with our own assembler (also written in FORTRAN). OSI Superboard was our breadboard. Good times.
@Schlups
@Schlups 3 ай бұрын
That sounds super impressive. What are you doing now?
@dougabugg
@dougabugg 3 ай бұрын
Wow, that sounds like a fun time! Sometimes I wish I grew up when computers were somewhat "simpler" and lower level. My first experience (2008?) with computers was the web, specifically HTML, I skipped JavaScript and dove right into PHP and MySQL, and to this day I still prefer Python over JavaScript (side note, look up Brython, which is a cool project that translates Python into JavaScript)
@carldaniel6510
@carldaniel6510 3 ай бұрын
@@Schlupssoftware developer for 40+ years. Medical technology, aerospace, banking, all sorts of things. Disassembling & then understanding MSBASIC was one of the best learning experiences ever. We learned about the basics of parsing, expression evaluation, graphics, ... the list goes on and on. We hacked that OSI superboard to support raster graphics (it only did character graphics out of the box). That's why I love Ben's 6502 series - for me, it was a great way to learn about how computers REALLY work, and that foundation has served me well for 40+ years.
@awesomecronk7183
@awesomecronk7183 3 ай бұрын
This is super cool
@yaboi269
@yaboi269 3 ай бұрын
@@carldaniel6510fascinating
@narayanbandodker5482
@narayanbandodker5482 3 ай бұрын
Next we run DOOM!
@li0nleo918
@li0nleo918 3 ай бұрын
yes
@spiralcrunch6978
@spiralcrunch6978 3 ай бұрын
Lol
@Hans-gb4mv
@Hans-gb4mv 3 ай бұрын
over a serial line?
@MikelNaUsaCom
@MikelNaUsaCom 3 ай бұрын
file system? operating system?
@mihaiplesa5218
@mihaiplesa5218 3 ай бұрын
Yess
@markjones5973
@markjones5973 3 ай бұрын
4:27 "i will be equal to eater". You ARE Eater!!
@works4me89
@works4me89 3 ай бұрын
if he is Eater then sentence "i will be equal to eater" is true ;)
@CompressedSoup
@CompressedSoup 3 ай бұрын
​@@works4me89 "will be" is not true
@AKuTepion
@AKuTepion 3 ай бұрын
ROFL :D
@ThePongles
@ThePongles 3 ай бұрын
@@CompressedSoup He was equal to eater, he is equal to eater, he will be equal to eater. Checks out to me.
@marred2277
@marred2277 3 ай бұрын
if (i == eater && me == watching) then with world { all_is_right = TRUE );
@Darkstar2342
@Darkstar2342 3 ай бұрын
SCRTCH ("scratch") clears the memory, it's basically the same as the "NEW" statement. No idea why different implementations call it at different times during init, but I agree with you that it does not really matter at all as long as it is called *somewhere* ...
@TaeruAlethea
@TaeruAlethea 3 ай бұрын
I'd guess it's one of those micro optimizations for specific implications.
@wbfaulk
@wbfaulk 3 ай бұрын
​@@TaeruAlethea You know, because of the implication.
@ecosta
@ecosta 3 ай бұрын
My bet goes on memory timing. Some architectures might fire a memory reset and run some CPU ops instead of wasting cycles waiting for the memory chip reset.
@Darkstar2342
@Darkstar2342 3 ай бұрын
@@ecosta what? that makes no sense. what even are "cpu ops" supposed to be? this is not HW initialization if you mean that
@ecosta
@ecosta 3 ай бұрын
@@Darkstar2342 It makes sense if you ever read timing diagrams in documentations for old ICs of old computers. Changing the order of the opcodes is a classical optimisation trick.
@cheeseparis1
@cheeseparis1 3 ай бұрын
I had a great day, an amazing concert, late dinner, a few videos, now let's go to bed. _Ben Eater video pops up_ - LIKE - Play - Notice the "cmp 3" at 30:35 and yell "#3 !!", glad to still be able to notice it - Read comments and enjoy this moment back in time Thank you, this was great!
@Beus38
@Beus38 3 ай бұрын
Yes! Also noticed the suboptimal branching there - why not just BEQ is_cntc and "else" continue to RTS :)
@Scriabinfan593
@Scriabinfan593 3 ай бұрын
I always feel like a kid on Christmas morning every time Ben uploads.
@MiroslavPopov
@MiroslavPopov 3 ай бұрын
It is better than Christmas! At least, I'm not checking for Christmas 5 times per day.
@zanmaria4960
@zanmaria4960 3 ай бұрын
Count me in the party!!
@GrahamDIY
@GrahamDIY 3 ай бұрын
On my Uni course in 92 we made single board 68000 computers using wire wrap etc Then wrote assembler. So I got an understanding of how computers work from this basic level. I since had 30y as a Software engineer and knowing how the low level worked was invaluable Most modern software engineers haven’t a clue about this stuff 🤷‍♂️ Great videos, Ben. 🎉
@MotoRideswJohn
@MotoRideswJohn 3 ай бұрын
Amazing where this series started and where you are now. I've been considered a computer professional my entire life. How much I didn't know until following along with you....
@bsvenss2
@bsvenss2 3 ай бұрын
Unbelievable incredible videos with the best teacher on the internet. Thanks!
@user-ym4xy6us5e
@user-ym4xy6us5e 2 ай бұрын
Wow, that's nearly $30 USD!
@bsvenss2
@bsvenss2 2 ай бұрын
@@user-ym4xy6us5e Yeah... 29,35 USD today. 🙂
@satyamedh
@satyamedh 3 ай бұрын
just realised it's been almost exactly 5 years I started watching this channel time flies
@turolretar
@turolretar 3 ай бұрын
fruit flies like a banana
@AlanCanon2222
@AlanCanon2222 3 ай бұрын
The memory map of the C64 treated zero page addresses $00 and $01 differently one was the data direction for the other, which was used for bank switching and cassette hardware control.
@DavidLatham-productiondave
@DavidLatham-productiondave 3 ай бұрын
That's because the 6510 processor explicitly supported memory banking with these two addresses. It had two internal registers that could be written to (at 0x00 and 0x01). These addresses when read, returned the last value written. The CPU was then wired to the extra address lines from specific pins assigned to this purpose.
@hb-man
@hb-man 2 ай бұрын
Definitely a hardware feature of the 6510 CPU: You loose two bytes to gain access to many more bytes.
@micha-42
@micha-42 3 ай бұрын
Fabulous work. I've been directing my college students to your videos for years (and I know and appreciate your feelings about higher ed), keep up the amazing work.
@amconners
@amconners 2 ай бұрын
I don't have a 6502 or the ability to justify buying a whole bunch of parts right now, but I do have an 8085, enough parts already lying around that I'm able to make something work most of the time, and the stubbornness to try following along at home even with the intermediate step of translating the entire thing to this different architecture before getting to the part where I add it to the 8085 breadboard computer and honestly? I think it's taught me even more this way! just watching these videos is educational enough, and you make the content so accessible and easy to understand, building something from them definitely gives me more of an idea of how things work and why, but taking it that one step further and getting a version of what you were showing to work with my computer? it's like I'm testing my knowledge of what I just learned, by taking what I learned and doing something with it, asking myself questions like do I understand it well enough that I can recreate it on my own 8085 computer? when I'm using different parts that have different datasheets, do I know where to start looking in mine for the closest thing to an analogue of what you showed from yours? do I understand what this code does and how it does it well enough that I can write my own version of it in 8085 assembly code? and the answer is usually yes, because your videos do an excellent job of teaching a wider concept by narrowing down on one specific instance. It doesn't HAVE to be a 6502, that's just the specific part you used, and the actual concepts are so much more applicable. since I'm on an 8085, I also won't have wozmon*, but that's okay because it doesn't HAVE to be wozmon, it just needed to be a simpler starting point than MS-BASIC, etc., etc. *I might try to port wozmon over anyway just for the practice. and to make sure everything so far is working. and also because that'd be fun, I think I guess what I'm trying to say is thank you, I'm learning so much more from these videos than I ever thought I could, and I'm enjoying every minute of it. and with these past few videos it's looking more and more like my end goal of running CP/M 80 on this breadboard thing I built myself is also possibly achievable for me someday
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
But then you find out why Ben chose the 6502 over many other microprocessors: because a LOT of software had already been developed for it. Of course, there was a lot of software written for the 8080 as well, in particular for CP/M, so best of luck to you in getting that running!
@OSVS_Mike
@OSVS_Mike 2 ай бұрын
The 8085 is my FAVORITE CPU.
@DanielCharry1025
@DanielCharry1025 3 ай бұрын
That little software product started a revolution. Nice seeing you bring it to your setup. Cheers!
@xotmatrix
@xotmatrix 3 ай бұрын
Great work, Ben! You make it look so easy.
@shanee7511
@shanee7511 3 ай бұрын
Absolutely incredible how you are able to make every topic you share so understandable and absolutely a joy to watch and learn. One of my absolute favorite content creators to view on YT and I cannot wait to se what you share next.
@mrbrianparker
@mrbrianparker 3 ай бұрын
Fantastic! This whole 6502 breadboard project never ceases to amaze.
@ChrisAthanas
@ChrisAthanas 3 ай бұрын
Amazing clear and efficient breakdown, impressive work, thanks for clearing up the mysteries
@slemsvamp
@slemsvamp 3 ай бұрын
This is such a blast to the past, thanks for this entire series :D
@StevenHokins
@StevenHokins 3 ай бұрын
Awesome video series Ben, thank you ❤
@DanelonNicolas
@DanelonNicolas 3 ай бұрын
Love your work. Like A LOT! it's awesome, also the story telling, the way you count and show the modifications of the code... just awesome. great!
@electricshmoo
@electricshmoo 3 ай бұрын
Madness! Truly impressive progress and great explanation!
@Eliasdbr
@Eliasdbr 3 ай бұрын
Amazing! I got into computer science thanks to you. You are so good at explaining these concepts!
@chillyvanilly6352
@chillyvanilly6352 3 ай бұрын
you Sir are an ABSOLUTE legend! I adore your vids! Rarely are there vids that are that excellent and educational and just extremely entertaining as well! It just sparks so much interest and brings out the passion to just go and build/code/learn stuff! THANK YOU!
@JTCF
@JTCF 3 ай бұрын
I love your content. An amazing introduction to how computers work, and this new series is incredible for understanding the lowest levels of what allows programming languages to exist and work.
@zekodun
@zekodun 2 ай бұрын
Been following the project since the start. Love where this has gone and this is quite impressive. Can't wait to see the next stage with a file system.
@AndyG-_-
@AndyG-_- 3 ай бұрын
Well done Sir, pushing the envelope of the breadboard computer! Thank you.
@mitchellr6819
@mitchellr6819 2 ай бұрын
Your videos took me from a basic understanding of a transistor to BASIC. It’s been a great journey!
@theshindigg
@theshindigg 3 ай бұрын
It's an AMAZING start to the day when I see a Ben Eater video notification!
@thavith
@thavith 2 ай бұрын
Thank you, love this. Helps demystify what was incomprehensible to me those many years ago.
@4115steve
@4115steve 3 ай бұрын
This stuff is awesome, thanks for sharing this knowledge.
@Chems7308
@Chems7308 3 ай бұрын
Thanks for the update
@gregorymccoy6797
@gregorymccoy6797 2 ай бұрын
One of your best videos yet!
@Sheynan55
@Sheynan55 3 ай бұрын
These videos are great! Thank you so much
@DefaultFlame
@DefaultFlame 3 ай бұрын
A delightful watch as always.
@lythd
@lythd 3 ай бұрын
this is really cool! im working on my own operating system for the 65c02 inspired by ur videos
@AuratticStride
@AuratticStride 3 ай бұрын
Oh man these are some of the best computer engineering videos around! I see those empty LOAD and SAVE subroutines - time to add USB / SD card / file storage next? :P
@DoctorMikeReddy
@DoctorMikeReddy 3 ай бұрын
That would be awesome. Even battery backed RAM
@TheRavenCoder
@TheRavenCoder 3 ай бұрын
USB and SD card file storage is complicated. Probably be a lot easier to use SATA based storage.
@TheScarvig
@TheScarvig 3 ай бұрын
@@TheRavenCoder if my memory serves me right SD cards can be accessed through SPI... considering the fact that he already bitbanged a serial interface onto this system i think bitbanging SPI shouldnt bee too difficult for him. might be slow, but hey the thing will feel more like its reading from a cassette if its slow to load stuff XD
@luz_reyes_676
@luz_reyes_676 3 ай бұрын
​@@TheRavenCoderGeogre Foot (YT and Reddit) has made some code (I think C/asm) to use an SD card for his computer's file system
@TheRavenCoder
@TheRavenCoder 3 ай бұрын
@@TheScarvig I did not know that. But yeah, looking at some documentation, that should be doable.
@aceJacek
@aceJacek 3 ай бұрын
This guy is a legend.
@alibaba6194
@alibaba6194 Ай бұрын
the best computer engineering ever ! Love from Morocco !
@popalex
@popalex 3 ай бұрын
That is so cool ! Basic brings back memories.
@fqed
@fqed 2 ай бұрын
Amazing video again, awesome work
@ddacombe4752
@ddacombe4752 2 ай бұрын
wozmon and ms basic are awesome additions to your computer. ive followed along, built the computer but not yet implemented the code, great job.
@EinChris75
@EinChris75 3 ай бұрын
People took months, if not years to develop that in the first place, but Ben can explain it in 30something minutes. Just brilliant. Thank you!
@sean_vikoren
@sean_vikoren 3 ай бұрын
So fun to ride along. I remember typing an assember / editor into memory on the commadore, so I could then type in and assemble a game.
@DantalionNl
@DantalionNl 3 ай бұрын
Great to hear about this open source minipro software, Time to revive this gem of a device from my parts bin!
@ghosthuntergr
@ghosthuntergr 3 ай бұрын
The BEST teacher as always… Waiting for the Save and Load commands with file system support for basic 😊
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
As for me, I'm waiting for his flash-based floppy emulator
@r6u356une56ney
@r6u356une56ney 2 ай бұрын
@@BrightBlueJim NO! Cassette tape drive!
@lenardEkko
@lenardEkko 3 ай бұрын
been following this project since I was still In school. I am a CS masters student. Love it
@fkdhjfghdsjkghjkfhgkfjd
@fkdhjfghdsjkghjkfhgkfjd 3 ай бұрын
Nicely done!
@SB-qm5wg
@SB-qm5wg 2 ай бұрын
Your skill-set is incredible. Even your vim game is tight.
@Danbotics
@Danbotics 2 ай бұрын
This has been an enormously educational and entertaining series! Thankyou so much for making it! Is there any chance you could do a very quick summary of the development stages you’ve gone through to get to this point? This has been a long series and it might be hard for new viewers to catch up to the amazing place you’re at now.
@alexmcd378
@alexmcd378 3 ай бұрын
Oh yes, this is what I was looking forward to. Need to get mine out and finish it
@captainboing
@captainboing 3 ай бұрын
Very insightful. Thanks
@bliksemdonder5624
@bliksemdonder5624 2 ай бұрын
Very cool! The 6502 and Z80 were our go-to micros 40+ years ago. These units allowed the creation of many new career paths for many people as well.
@DM-qm5sc
@DM-qm5sc 3 ай бұрын
Watched the whole video. was great
@sliiiimjim
@sliiiimjim 3 ай бұрын
lol
@franciscovarela7127
@franciscovarela7127 3 ай бұрын
Nice work.
@xxz4655
@xxz4655 2 ай бұрын
Sweet I love the continuity
@squidtito8501
@squidtito8501 3 ай бұрын
Genuinely amazing, I wish I could do what you do 😭
@AirmanCS
@AirmanCS Ай бұрын
I have never thought of even touching basic, but here Im know how it all works even. I can see why this could be useful at the time, I actually like the way it codes... but im just grateful I can still copy paste and review code live, thanks future. And Ben this series should be on a museum of tech, is just so complete... should be a 101 on computer science everywhere
@kazimdfoysal9605
@kazimdfoysal9605 2 ай бұрын
i was randomly suggested by this men on youtube home page with 7 years old making gate on breadboard.and i come his channel and shocked after all of this.respect bro for this video.
@NotBonzo-
@NotBonzo- 3 ай бұрын
This is some amazing stuff! I hope one day we can run a simple real time Disk Operating System!
@renhoeknl
@renhoeknl 3 ай бұрын
Informative and yes still nostalgic
@DaveEverett01
@DaveEverett01 3 ай бұрын
Great stuff Ben. I have been working with an INS8073 recently that has Tiny BASIC in rom. It only works with a terminal and echos everything back to the terminal. For backspace, it sends
@michaelcoviello
@michaelcoviello 3 ай бұрын
Thanks!
@fra4455
@fra4455 2 ай бұрын
Great video✌
@jonathanhillebrand4904
@jonathanhillebrand4904 3 ай бұрын
This series is one of the best educational series ever made.
@Hans-gb4mv
@Hans-gb4mv 3 ай бұрын
After not going for development all those decades ago, I'm finally learning some assembly :D
@timsanders9111
@timsanders9111 3 ай бұрын
Agreed. I my digital hardware professor does not come close to this.
@jorgerangel2390
@jorgerangel2390 3 ай бұрын
Dude this is so nostalgic, brings me back to uni in my operating systems class
@emilwallin1176
@emilwallin1176 3 ай бұрын
I love when ben uploads
@JohannesHeld
@JohannesHeld 2 ай бұрын
Wow, that's amazing!
@GameBacardi
@GameBacardi 3 ай бұрын
Thank you, good video
@RonsStudio
@RonsStudio 2 ай бұрын
This is really cool. I [finally] got this working on my breadboard. Had trouble with the windows download for the compiler and all so used cygwin, which is a linux environment that runs on Windows. Not binary compatible with linux but you can get source code for things like the ms basic and cc65 compilers and compile them. Used the Xgpro programmer (windows based) to put the bin file on the ROM. Next is to do the input buffer and see how that goes. Ben Eater - appreciate all the work you put into these.
@RonsStudio
@RonsStudio Ай бұрын
Update: Added a "BYE" command to MSBasic to exit back to WOZMON so we don't have to reset to exit the program.
@MadsonOnTheWeb
@MadsonOnTheWeb 3 ай бұрын
Ben makes everything seems so easy and ordinary
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
Which is great because it helps people new to this get over the fear of the technology. Now, whether it ever actually IS that easy and pleasant is still up for debate.
@Mikaminei
@Mikaminei 3 ай бұрын
I need a Fire Alarm Sound for Upload Notifications from you
@GameBacardi
@GameBacardi 3 ай бұрын
I would like to order CD in mail everytime when video come, as mp4. ...so I don't need visit yt :D
@Mikaminei
@Mikaminei 3 ай бұрын
@@GameBacardi me too xD
@Mikaminei
@Mikaminei 3 ай бұрын
@@GameBacardi ill Pay up to 10 Grand per CD
@PankajKumar-zr3tv
@PankajKumar-zr3tv 3 ай бұрын
Love you man
@paulcohen1555
@paulcohen1555 3 ай бұрын
Amazing!
@danix30001
@danix30001 3 ай бұрын
34:50 This mistake always happens to the best of us
@DasIllu
@DasIllu 3 ай бұрын
True. In my time coding MC on the 128 i have bitten off more than i could chew and it was mostly my keyboard. If i ever come up with building a compiler for my own language again, someone please hit me with a 2by4 🤪
@ReneSchickbauer
@ReneSchickbauer 3 ай бұрын
That's why i always add a reset button on all ways microcontroller projects. Well, on my first telemetry controller for my solar installation i didn't, which had me try to powercycle the damn thing by unscrewing 12V cables outside in the pooring rain. That PCB got redesigned the very same evening :-)
@der.Schtefan
@der.Schtefan 3 ай бұрын
Amazing how this works out of the box by simply pointing it to a few locations, and just needs 3 bios routines.
@renakunisaki
@renakunisaki 3 ай бұрын
Simplest thing Microsoft ever made!
@kreuner11
@kreuner11 3 ай бұрын
I wonder how it worked on C64 where you could also move the cursor up and down
@der.Schtefan
@der.Schtefan 3 ай бұрын
@@kreuner11 Not sure that the V2 version here corresponds to the C64 "V2", especially since it is a rebranded version, and the C64 has quite extensive KERNAL routines. They probably modified a lot of the input/output routines
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
@@kreuner11 I'm sure it's just a matter of writing routines for those. Note that Ben chose a particular port as his starting point (cbmbasic2), which he never explained. It's likely that he looked at all of the implementations and found this to be the one with the fewest needs for hardware-specific functions. I also recall that the Commodore Pet had editing features that allowed you to edit any program line that was showing on the screen, but this also would have required choosing ASCII characters for the four arrow keys, and writing functions to detect those. I suspect that the "backspace" feature he showed here was intended only for development, where programming was being done from a serial terminal.
@andraselias995
@andraselias995 22 күн бұрын
Nice to see the codes from Bill and Steve run hand in hand on this computer :D
@jimhark
@jimhark 20 күн бұрын
Do you mean Bill and Paul?
@andraselias995
@andraselias995 20 күн бұрын
@@jimhark I mean Bill Gates and Steve Wozniak
@DullBoyJack
@DullBoyJack 3 ай бұрын
This whole series is such a fantastic introduction to how a computer actually works. Anxiously awaiting the video where you make LOAD and SAVE do something... 😁
@nidavis
@nidavis 2 ай бұрын
via Datasette!
@grahamlord86
@grahamlord86 3 ай бұрын
Outstanding
@sehtdragon
@sehtdragon 2 ай бұрын
Hullo! I've been following your channel and your computer for a while now: I think I started watching around the time you built a simple video display for your computer. It's fascinating to me to watch you bring the system to life. As one who was young when all these chips were young I still find things to learn and enjoy watching you bring them to life. I have a request, if I may. I know you are busy and you have a lot to do, but you explain things so well and so clearly: could you do an 'intro to ca65' video at all? I would like to work with it myself for a project but my brain keeps bouncing off the syntax and the linker, and I can't find any 'gentle starts' anywhere online. Thank you again. Looking forward as always to the next installment!
@semuhphor
@semuhphor 3 ай бұрын
Excellent!
@TheStickCollector
@TheStickCollector 3 ай бұрын
It is always nice to see more this computer can do. I want to design my own computer like this but a potential stronger CPU
@tuomollo
@tuomollo 3 ай бұрын
Try 65816 cpu
@leonardopierangelini3097
@leonardopierangelini3097 3 ай бұрын
“Reinventing the wheel”, also in informatic, is NOT always a waste of time … as is said at work… Fascinating 😍
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
But that's just it: he didn't reinvent the wheel. He took something that already had a ton of development into it, and adapted it to his own hardware. Which if you ask me, is far superior to trying to emulate or reverse-engineer the custom chips in, say, a C-64.
@leonardopierangelini3097
@leonardopierangelini3097 2 ай бұрын
I understand what do you mean, and yes you also are right 😊
@leonardopierangelini3097
@leonardopierangelini3097 2 ай бұрын
But he also write all from scratch, of course reusing knowledge already solidified
@khatharrmalkavian3306
@khatharrmalkavian3306 3 ай бұрын
Well, you started with chips and breadboards and now you're running the first programming language I learned as a kid.
@Jango1989
@Jango1989 3 ай бұрын
This is so cool!
@dhardingham
@dhardingham 3 ай бұрын
Wonderful!
@LFSDK
@LFSDK 3 ай бұрын
thank you
@PradeepKumar-mi7ij
@PradeepKumar-mi7ij 3 ай бұрын
I'm very glad to see u again
@ZeroPlayerGame
@ZeroPlayerGame 3 ай бұрын
Honestly amazed by your fearlessness more than anything. "Well let's just comment everything and see if it complains".
@purpledeath7366
@purpledeath7366 3 ай бұрын
Finally I love this serise❤❤ I will never be a hardware guy but this is sooo usfull in osdev
@tim_allen_jr
@tim_allen_jr 3 ай бұрын
Awesome ✨️
@adrian_sp6def
@adrian_sp6def 3 ай бұрын
amazing!
@jschnurrr
@jschnurrr 3 ай бұрын
Me watching these videos: nodding, and saying yep, yep, that's right... Ben at 9:04 "I'm not really sure what this subroutine is or does exactly, or what difference it makes when it gets called..." Me: yep, yep, me too...
@SpenceReam
@SpenceReam 2 ай бұрын
Fantastic
@CostinelGhita
@CostinelGhita 3 ай бұрын
good work! next time you will have to list the "patreons" with a running basic program :)
@Poopmouth-fy5go
@Poopmouth-fy5go 3 ай бұрын
I am a simple man, I see new Ben Eater thumbnail, I like before getting 3 seconds into video. Thank you Ben Eater, I think I speak for us all when I say we love you.
@RussPitcher
@RussPitcher 3 ай бұрын
Thanks
@QualityDoggo
@QualityDoggo 3 ай бұрын
Wow! I certainly don't understand this stuff 😂 Amazing to see CRLF goes back so far! Nowadays, CRLF is still generally what MS-DOS & Windows expect for each newline, whereas Unix and Linux just expect LF.
@Knirin
@Knirin 3 ай бұрын
The Unix and Macintosh operating systems used I/O libraries that handled cursor or printer head repositioning. DOS, BASIC, early Fortran, and some other bare metal languages left the programmer to deal with those details.
@BrightBlueJim
@BrightBlueJim 2 ай бұрын
CR/LF goes back as far as ASCII, maybe even further. There were some printing terminals that couldn't do a CR without also advancing the paper, and others, like the Teletype 7-bit models, that separated these functions.
How input buffering works
20:25
Ben Eater
Рет қаралды 153 М.
How do hardware timers work?
31:17
Ben Eater
Рет қаралды 958 М.
Don’t take steroids ! 🙏🙏
00:16
Tibo InShape
Рет қаралды 23 МЛН
Which one will take more 😉
00:27
Polar
Рет қаралды 77 МЛН
I PEELED OFF THE CARDBOARD WATERMELON!#asmr
00:56
HAYATAKU はやたく
Рет қаралды 23 МЛН
Linus Torvalds' Big Mistake
21:27
Sam H Smith
Рет қаралды 200
Assembly and Review - PE6502 Hobby Computer
25:07
The 8-Bit Guy
Рет қаралды 1,3 МЛН
The first LowSpec Processor
28:11
LowSpecGamer
Рет қаралды 590 М.
The Birth, Boom and Bust of the Hard Disk Drive
22:02
Asianometry
Рет қаралды 99 М.
Emulating a CPU in C++ (6502)
52:28
Dave Poo
Рет қаралды 945 М.
Let's build a voltage multiplier!
16:32
Ben Eater
Рет қаралды 1,8 МЛН
The 6502 CPU Powered a Whole Generation!
25:17
The 8-Bit Guy
Рет қаралды 402 М.
I built my own 16-Bit CPU in Excel
16:28
Inkbox
Рет қаралды 1,3 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 911 М.