Game Boy Development Environment

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 266

  • @NesHacker
    @NesHacker  Рік тому +53

    macOS Install Guide - ua-cam.com/video/WLRq-FcuiPo/v-deo.html
    Ubuntu Install Guide - ua-cam.com/video/5qg7I3Sfmu8/v-deo.html
    Windows Install Guide - ua-cam.com/video/F4eRZeuFwCA/v-deo.html

    • @420.........
      @420......... Рік тому

      A VM is the worst opinion you had in this video. Recommend people multiboot instead.

    • @dotslashsatan
      @dotslashsatan 11 місяців тому

      Apple suck! The M1 Mac can't multi boot so we just use VM!

    • @ReligiousReasoning
      @ReligiousReasoning 11 місяців тому

      If the SD card is greater than 32gb Windows won't format it to fat32

    • @420.........
      @420......... 11 місяців тому

      @@ReligiousReasoning you can force format, the Xbox original softmldding community has a formatter that does it very well, I fall back on it sometimes

    • @ReligiousReasoning
      @ReligiousReasoning 11 місяців тому

      @@420......... I know that there are several 3rd party programs to do it

  • @DonaldHays
    @DonaldHays Рік тому +1052

    Well, I was surprised and delighted to see my VSCode extension suddenly show up in a channel I enjoy watching! I was doing a happy little dance as you pointed out all the little features it has. Thank you for showing it, and I'm glad you found it helpful!

    • @NesHacker
      @NesHacker  Рік тому +106

      You are very welcome and thank you for making such a great extension! Seriously, it makes GB programming even more joyful 😀

    • @Komeuppance
      @Komeuppance Рік тому +11

      That extension is badass!

    • @shanselman
      @shanselman Рік тому +7

      Epic!

    • @near-js1lf
      @near-js1lf Рік тому +6

      Thank for your work

    • @dotslashsatan
      @dotslashsatan 11 місяців тому +1

      Can you make ASM to C extension? Lol make it a real basic C

  • @musicvideoenhancer
    @musicvideoenhancer Рік тому +16

    I'm 42 years old and man, how I wish the internet as we know today, existed in the 90's. So I could start learning how to program when I had lots of free time. Today, it's only a dream that I can't acomodate on my routine due to time constraints. I actually tried to taunt myself how to code in C++, and made 2 mods for GTA IV years ago, but while the mods worked, I shown to a friend that it's a programmer and he felt very confused with my code haha, surely it was full of redundances and weird solutions because I didn't knew better.

  • @justinbeere
    @justinbeere Рік тому +33

    for so many years these childhood classics have been a black box to me. i’m glad i found this channel.

    • @NesHacker
      @NesHacker  Рік тому +6

      That’s really great to hear… these systems and games were very important to me when I was a kid so it’s been really rewarding to explore them and explain what’s going on to you all 🥹

    • @cll1out
      @cll1out Рік тому +3

      What’s even more interesting is once you’ve better learned and understand the hardware, it’s sort of a puzzle to look at some official titles and wonder what they did to pull off some of the tricks for animating certain things.

  • @kylesnider9357
    @kylesnider9357 Рік тому +81

    You have a real gift for teaching. You are succinct in your descriptions and demonstrate a thorough knowledge of the subject. Keep up the great work!

    • @NesHacker
      @NesHacker  Рік тому +2

      That’s very high praise, thank you very much ☺️

    • @carrierkyle
      @carrierkyle Рік тому +2

      Echoing this. Your delivery has changed the way I write documentation for the better.

  • @krellion
    @krellion Рік тому +82

    Recent versions of Windows will only allow FAT32 to be used on drives 32 GB or less (the SD card in the video was 128 GB). You can use a utility like FAT32 Format to do larger drives on Windows.

    • @NesHacker
      @NesHacker  Рік тому +21

      Oh that makes sense… I just used one of my camera SD cards for shooting footage and the like, good catch!

    • @fnjesusfreak
      @fnjesusfreak Рік тому +4

      Not entirely recent; 2K had this limit too, iirc.

    • @oliviadrinkwine1411
      @oliviadrinkwine1411 Рік тому +1

      Or Rufus if it allows formatting of flash cards just make sure to do non bootable from the menu picker

    • @BooleanDev
      @BooleanDev Рік тому

      the one i used was GuiFormat

    • @GeorgeSukFuk
      @GeorgeSukFuk Рік тому

      Or you can not use Windows lol

  • @GameInterest
    @GameInterest Рік тому +3

    Holy crap. The RGBDS Z80 extension would be great for just looking through code and seeing just what everything does. That just amazes me.

  • @kirby0louise
    @kirby0louise Рік тому +40

    A couple of good alternatives to bgb are SameBoy and Gambatte, both of which are cross OS, highly accurate and even feature libretro cores (Retroarch/BizHawk). In fact, according to the latest GBEmulatorShootout accuracy test (run on August 31st 2023), both SameBoy and Emulicious handily beat bgb

    • @NesHacker
      @NesHacker  Рік тому +4

      Leave it to Kirby to drop yet another knowledge bomb… Much appreciated, friend ☺️

    • @FredrIQ
      @FredrIQ Рік тому +1

      I can understand not mentioning gambatte, since afaik its debugging tools are really limited. But I did find it a little strange that SameBoy specifically wasn't mentioned, since it has an excellent debug UI for OS X, or so I've been told (I don't have a Mac).

  • @bitronicc1887
    @bitronicc1887 Рік тому +14

    Quick tip, in VS code, you can navigate to another section by command/alt clicking the name of the class or method, and navigate back and forth between spots just like using back/forward arrows in a browser or visual studio by using the hotkeys ctrl+- and ctrl+shift+- (those are dash/underscore keys. Don't hit the plus key obviously.)

    • @NesHacker
      @NesHacker  Рік тому +4

      Nice, thanks so much for sharing!

    • @bitronicc1887
      @bitronicc1887 Рік тому +2

      @@NesHacker No problem, and thank you for creating such an incredible resource for everyone to learn the development of NES and GameBoy. You do an amazing job sir. 👍

  • @Quemadmodum
    @Quemadmodum Рік тому +16

    Can't wait to try coding for the game boy !

    • @NesHacker
      @NesHacker  Рік тому +6

      Heck yeah! It’s really fun, especially if you’re coming from the NES… something’s are just much cleaner and make more sense (like screen scrolling 😂)

  • @korean_dude6036
    @korean_dude6036 Рік тому +2

    I don't know why you are still making a game for Gameboy, but I find it very inspiring...

  • @lincruste
    @lincruste 5 місяців тому +2

    Don't EVER listen to people telling you asssembly is "not that hard". It's fucking hard and you gotta be a real smart person to use it. Really.

    • @DigiSpaceProductions
      @DigiSpaceProductions 2 місяці тому

      It really isnt that hard lmao, im mostly a C# and C++ developer and im a idiot, but i can write stuff in assembly, it just looks hard.
      It IS hard to make optimal code, however

    • @lincruste
      @lincruste 2 місяці тому

      @@DigiSpaceProductions yeah, sure, an idiot C# and C++ dev. Cut the bullshit this is ridiculous.

  • @jamjak-cj7gl
    @jamjak-cj7gl Рік тому +5

    Great intro into GB DEV using assembly code, look forward to future installments. Have played around using "C" with GBDK - 2020 and got some reasonable 'Mario' style side scrolling and 'Zelda' style scrolling roms for the GB, for a non programmer. When I get some spare time I have been trying to get my head around assembly coding, as you have said, not that hard but you do need to practice it to get a handle on the nuances of the language. The book "Game Boy Coding Adventure" has been an excellent resource tool for me.

    • @NesHacker
      @NesHacker  Рік тому +2

      It can be frustrating but a lot of fun to learn as well ☺️

  • @rabiroden
    @rabiroden Рік тому +27

    For debugging emulators, I'd like to also suggest Mesen. It was originally a NES/SNES emulator, but it recently added support for GB/C and even PC Engine, and it has universal debugging tools for all of them. Plus it has versions for both Windows and Linux.

    • @InsaneFirebat
      @InsaneFirebat Рік тому +6

      Mesen is life. When he said there were two choices, my first thought was "oh cool, what's comparable to Mesen?"

  • @coolbrotherf127
    @coolbrotherf127 8 місяців тому +2

    This is really cool. I learned ARM assembly in my college classes and it would be cool to also learn how to program assembly for a gameboy.

    • @NesHacker
      @NesHacker  8 місяців тому

      GBASM is very similar to Z80, and doesn't take too much doing to learn if you're already familiar with at least one assembly language. Go for it!

  • @ChainPenguin
    @ChainPenguin Рік тому +4

    Thx you, I was learning this last week and having it compressed in a UA-cam video makes it easier to learn.

    • @NesHacker
      @NesHacker  Рік тому +1

      You’re very welcome 😊

  • @Phenom0100
    @Phenom0100 Рік тому +3

    The only coding I have done in assembly was to make a sodoku game in MIPS as a project in college. I have also done other things where I had to use C/C++ to create a Speculative Dynamically Scheduled Pipeline and a memory hierarchy simulator based on MIPS commands.

  • @valencoffeebat
    @valencoffeebat Рік тому +5

    Ive been working on a GBC game using RGBDS for the last 10 months and I thought I had reached the bee's knees with my Sublime Text build system - but damn some of those VSC features look amazing... Too bad my pc would blow up using VSC :'D amazing video regardless, love to see some love on RGBDS, by far the coolest homebrew assembler

    • @NesHacker
      @NesHacker  Рік тому +2

      RGBDS really is quite good, such an impressive assembler suite and a great community of coders around it ☺️

    • @valencoffeebat
      @valencoffeebat Рік тому

      @@NesHacker yeah!! I've had a great experience with gb dev, not only because the hardware is pretty neat (not as many bugs as the nes) but the community too

  • @dedgzus6808
    @dedgzus6808 Рік тому +3

    Awesome! I was wondering where you were gonna go next. Great choice!

    • @NesHacker
      @NesHacker  Рік тому +1

      I’m glad you liked it :)

  • @merman1974
    @merman1974 Рік тому +2

    That VSCode extension looks really useful, and interesting to hear your recommendations on emulation.

  • @CoNfUzLeDaNdLoSt
    @CoNfUzLeDaNdLoSt Рік тому +5

    Would love more of this if it was a series!

  • @Alopexus
    @Alopexus Рік тому +3

    Wonderful video. Those extensions for VSCode in particular are absolute gems. Very concise and immensely useful from start to finish. Thank you so much for your work!

    • @NesHacker
      @NesHacker  Рік тому +1

      You are very welcome, and thank you for your kind words! 😊

  • @MrScottyTay
    @MrScottyTay Рік тому +2

    I've been eagerly awaiting a series like this for ASM dev on GB, everyone just goes straight to GB Studio

  • @kingbrettpro
    @kingbrettpro 11 місяців тому +1

    The GB Operator made by Epilogue works just as well when testing to see if your Game Boy game works on actual hardware. The best part about this device is that if you put the game on an actual cart instead of a flash cart, the GB Operator can be used to dump the ROM if you want to make any changes or if you want to make back-ups. Same for save files if applicable.

  • @SkeletonBill
    @SkeletonBill 10 місяців тому

    Huge respect to the people who programmed these games back in the day, long before the intellisense and debugging tools we have today. Those guys were built different.

  • @djrmarketing598
    @djrmarketing598 8 місяців тому

    The whole VS Code Intellisense assembly is insane to me. Thinking back to when I was a kid trying to learn 6502 assembly on a Commodore and getting stuck understanding the concepts and what memory addresses did what, it would have been a total game changer. Same really even with C/C++ programming back then, I remember when context sensitive editors were finally starting to highlight high level languages like BASIC, it was so awesome to have that "ANSI graphics" type source editor back then. Imagine that plus intellisense, code peeking?? Hell even a dual monitor!

  • @schlangengrube157
    @schlangengrube157 Рік тому +6

    Very helpful when starting to develop for the Game Boy.😀

    • @NesHacker
      @NesHacker  Рік тому +3

      Here’s to hoping for many happy hours of coding in the future 🍻

  • @FloatingSunfish
    @FloatingSunfish Рік тому +3

    VS Code is my go-to editor for almost any coding project.
    It's free, has lots of useful extensions, and is (generally) fast and light on system resources (depending on how many extensions you have running).
    It's always nice to see fellow programmers keep the old systems alive with new games every year.
    I wish all fellow developers all the best with their projects!

    • @elliotts5574
      @elliotts5574 Рік тому

      I don't completely disagree with you, but describing an electron app as "fast and light on system resources" is insane to me. I use Helix, but even with non terminal editors the majority are far faster than vscode

    • @FloatingSunfish
      @FloatingSunfish Рік тому

      @@elliotts5574 I say it's light compared to most standalone IDEs like Visual Studio and those from Jetbrains.
      VS Code is the next best step after something like Notepad++ because I view it more like a text editor with a built-in command prompt and more useful extensions from the community.

    • @alanschmitt9865
      @alanschmitt9865 Рік тому

      @@elliotts5574VSCode has come a looooong way in terms of performance. I’m a JetBrains shill but Code is getting pretty dang close.

  • @jordixboy
    @jordixboy Рік тому +4

    That VScode extension is just a language server, you should be able to use it in any editor including vim/nvim...

    • @NesHacker
      @NesHacker  Рік тому +2

      Ah interesting, I wasn’t aware MS created a protocol for this. Though I think vim might not be as smooth an experience as VS Code without extensive modification.

  • @dillydonovan
    @dillydonovan 8 місяців тому

    i am so glad people like you are generous enough to share this knowledge

  • @xenozelda0102
    @xenozelda0102 Рік тому +2

    Awesome guide!!!
    Really looking forward for upcoming GameBoy content.

    • @NesHacker
      @NesHacker  Рік тому +1

      I’ve got some good ideas in the pipeline, stay tuned!

  • @RiverReeves23
    @RiverReeves23 Рік тому +2

    Very cool. Thanks for putting the leg work in to educate ppl on this. I might give a try sometime in the next few years. It would be cool to start on some somewhat more simple projects, I find everything I work on ends up being something 10 people should be hired to complete.

    • @NesHacker
      @NesHacker  Рік тому +1

      If your project explode into complexity, I suggest thinking of them as “demos” instead and focusing on accomplishing bite sized tasks.
      It’s what I do to keep things from getting out of hand 😂

  • @hrnekbezucha
    @hrnekbezucha Рік тому +1

    Super polished production and well explained. I only object to saying that assembly is "the best" way to write gameboy games. It has advantages but very significant disadvantages as well. Tools like GBDK-2020, ZGB or even GB Studio should be at least considered, if nothing else.

    • @NesHacker
      @NesHacker  Рік тому

      It’s true, assembly can sometimes be tedious to write and debug. But I think it’s definitely worth the extra effort, especially when first learning a system, as it forces you to become very familiar with the hardware and how it operates.
      Other languages and maker programs may get you to a game faster, but if you really want to learn a retro system and how to program it, go with assembly 😊

  • @laroldsjubilantjunkyard
    @laroldsjubilantjunkyard Рік тому +11

    Cool cool! Subscribed! I made a tutorial for RGBDS, on creating a shmup. Assembly is crazy difficult, but i can see the power in it. I prefer GBDK-2020 for game boy game development. It might not be as powerful, but the devs are actively improving and it's already made a lot of cool titles. In fact, GB Studio is based on GBDK.

    • @NesHacker
      @NesHacker  Рік тому +2

      I’m happy you liked it! Assembly ain’t all that bad but it does take a lot of practice up front. Happy hacking! ☺️

  • @lilbits3136
    @lilbits3136 Рік тому +2

    Vim for life, I don't need no VSCode nonsense!

  • @ut4321
    @ut4321 Рік тому +2

    Simply amazing. We live in a day when we can use a world-class editor from Microsoft to write code with Intellisense for an ancient Z80/8080 hybrid CPU video game system - for free. Wow!!!

    • @NesHacker
      @NesHacker  Рік тому

      Yeah it’s cool, right? 😀

  • @bengoshi4
    @bengoshi4 Рік тому +2

    We want the next episode!!!!
    Nowwwwww
    👏🏻👏🏻👏🏻

  • @Topspeedcraft
    @Topspeedcraft Рік тому +2

    I needed this more than air

  • @MrOnlineCoder
    @MrOnlineCoder Рік тому +1

    I do not own a Gameboy and never did, but I really loved the video and the vs code extension!

  • @eutiquioperucho2477
    @eutiquioperucho2477 Рік тому +3

    I was just dreaming on a video like this. It's great!

    • @NesHacker
      @NesHacker  Рік тому +1

      Perfect, I’m glad you liked it

  • @alieander
    @alieander Рік тому +8

    Super nice! Love the work you are putting in :D

    • @NesHacker
      @NesHacker  Рік тому +1

      I really appreciate that 😊

  • @retropalooza
    @retropalooza Рік тому +3

    Where the fudge have you been? My processor and I were worried sick. Your trimmer must still be broken, but that's ok I forgive you. Game on... nice video

    • @NesHacker
      @NesHacker  Рік тому +1

      I- uh- ahm- ah thanks 🙏

  • @lebrato3337
    @lebrato3337 Рік тому +1

    If it's like this for this kind of games, It really blows my mind how we got to the current state of videogames.

  • @wildside4822
    @wildside4822 Рік тому +2

    Great I intend to do some GB dev after I get to grips with nes, great vid thanks

    • @NesHacker
      @NesHacker  Рік тому

      It’s super fun, you’ll have a blast programming the GB when you get there 😊

  • @joshuahelmeke
    @joshuahelmeke Рік тому +1

    Keep it up! Just Subbed, and it’s exactly the info I’ve been looking for.

  • @thom_lapatate4842
    @thom_lapatate4842 Рік тому +1

    Fun fact, to format any storage to any file system i use CMD as admin on windows and simply force format them to whatever file system i need.
    Keep in mind that you can format a 64gb drive to FAT 32 but because of how FAT 32 work you will only be able to access 32gb out of 64
    It also works for the even older FAT 16 which was used by windows 95
    All done using CMD on windows 11

    • @SoundToxin
      @SoundToxin Рік тому +1

      >Keep in mind that you can format a 64gb drive to FAT 32 but because of how FAT 32 work you will only be able to access 32gb out of 64
      This is not true. It's very common to use fat32 with large capacity SD cards for GameCube (in the SD2SP2 adapter), 3DS, Switch, etc. I'm talking like 128GB or 256GB in many cases. All that space is most definitely accessible. I wanna say you formatted it wrong(?) if you're having the issue you describe, but I've never ran into that issue ever so I'm still a bit skeptical. The main limitation of fat32 you will run into is 4GB per-file limit. What you're describing sounds like you cloned a 32GB SD card or image to a 64GB card and then didn't expand the partition. That's the closest thing I can think of that would cause such a problem.

    • @thom_lapatate4842
      @thom_lapatate4842 Рік тому

      @SoundToxin I do admit that I was wrong there haha you are absolutely right about that. 1tb might be the limit for drive size but still limited to 4gb per file like you said ^^

  • @b4ux1t3-tech
    @b4ux1t3-tech Рік тому +6

    A couple minor errata:
    FAT (and FAT32) aren't windows formats, they were just used by windows by default for a while.
    The UEFI partition on your modern computer uses FAT32 to this day ;)
    Diskpart on Windows can make FAT32 disks, but it's a command line utility, so be careful!

    • @NesHacker
      @NesHacker  Рік тому

      Ooo nice stuff, thanks for sharing!

    • @MichaelWaisJr
      @MichaelWaisJr 7 місяців тому

      I thought FAT32 was a cross-format that should work across many different OSes, but I could be wrong.

  • @talonhackbarth7652
    @talonhackbarth7652 10 місяців тому

    I've been looking for a reason to teach myself an assembly language. I think i just found it. Thanks

  • @smlgd
    @smlgd Рік тому +2

    The reason you couldn't format the SD card in FAT32 is because of specification. The card you have is probably SDXC compliant (up to 2TB), which mandates exFAT. SDHC cards (up to 32GB) are FAT32 and the original SD spec (up to 2GB) is FAT16. SDHC cards are not compatible with SD only readers because there are a few protocol differences but SDXC is pretty much the same as SDHC except for using exFAT instead of FAT32, so by forcing it to use a FAT32 filesystem you basically made it behave like a SDHC one.

  • @Evercade_Effect
    @Evercade_Effect Рік тому

    Geeked out over this and subbed to channel.

  • @glitchy_weasel
    @glitchy_weasel Рік тому +1

    Well now I know what am going to be doing next weekend lol
    Very interesting project,

  • @hajzoom4278
    @hajzoom4278 Рік тому +2

    “In development for nearly 30 years” *Shows 1997*
    My joints…

  • @brent56and1
    @brent56and1 Рік тому +3

    I just realized VS code has forward and backwards buttons now.

  • @JuanesChiwirosky
    @JuanesChiwirosky Рік тому +4

    I guess it's time to develop for the GB.. There is no excuse now :D

    • @NesHacker
      @NesHacker  Рік тому +3

      It’s honestly really a blast, look forward to more videos on the topic in the future!

  • @PatrioticGestalt
    @PatrioticGestalt Рік тому +8

    Thanks!

    • @NesHacker
      @NesHacker  Рік тому +2

      You’re very welcome! And thank you 😊

  • @wyglif
    @wyglif Рік тому +4

    BGB runs great with wine.

    • @NesHacker
      @NesHacker  Рік тому +1

      I had problems with wine on the latest version of macOS, but had no issues with both previous Mac versions and on Linux.

  • @Otherfile
    @Otherfile Рік тому +3

    Gui format or Rufus are great tools to format drives to fat32 on windows

    • @NesHacker
      @NesHacker  Рік тому +2

      Nice thank you for sharing 😊

    • @Otherfile
      @Otherfile Рік тому

      @@NesHacker yeah no problem

  • @NintenTrivia
    @NintenTrivia Рік тому

    This is very cool.. We should ask some assembly questions in our Nintendo trivia 🤣

  • @marinellovragovic1207
    @marinellovragovic1207 Рік тому +1

    Thank you for this video, truly. I was thinking about trying my hand at the GameBoy, but never had the big motivation to until now.
    Does SameBoy provide any debug tools? The more accurate the emulator, the better, was my train of thought here.

  • @Kevin192291
    @Kevin192291 Рік тому +2

    THIS THIS THIS! WE NEED MORE OF THIS!!!

  • @Al-x68
    @Al-x68 Рік тому +1

    Omg !! So interesting !!! I already love ur channel !!! 😍

    • @NesHacker
      @NesHacker  Рік тому +1

      Thanks! There’s a lot more to come on the Game Boy and other consoles, so keep an eye out!

  • @randy7894
    @randy7894 Рік тому +2

    Exactly what I want to know! Many thanks!

    • @NesHacker
      @NesHacker  Рік тому +1

      Awesome, glad it was helpful!

  • @khatharrmalkavian3306
    @khatharrmalkavian3306 Рік тому +3

    I haven't looked at the GB support in Mesen2 yet, but if it's in there then Mesen is a great emulator for devs and hackers.

    • @NesHacker
      @NesHacker  Рік тому

      Good point! It seems to support the Game Boy, but I haven’t looked into how accurate it is in comparison to more specialized GB emulators like BGB.

    • @valencoffeebat
      @valencoffeebat Рік тому

      I use mesen2 for a lot of debugging during my game's development (alongside bgb and sameboy) and it's pretty great!! As long as you get a build from the actions section - the last stable build missed some really important gb accuracy bugfixes, specially regarding sound (which were bugs I reported to the dev directly because of my game)

  • @akaNekete
    @akaNekete 11 місяців тому

    Great video, thanks for sharing everything.
    Do you plan to stream or record the development process teaching in the way?. Could be interesting.

  • @the_kovic
    @the_kovic Рік тому +1

    Windows doesn't offer FAT32 formatting out of the box anymore but there's a 1000+1 utilities out there you can download and use to format your SD card. Using a Mac to do it is like bringing out a sledgehammer to kill a fly.

    • @NesHacker
      @NesHacker  Рік тому +1

      Ah yes, but I had my mac right there… so using the sledgehammer was faster than googling a solution, etc. 😂

    • @YouShouldntSeeMe
      @YouShouldntSeeMe 7 місяців тому

      By default Windows didn't allow you to format a drive bigger then 32gb but if you use DiskGeniue you can do it.

  • @mr_whyy
    @mr_whyy Рік тому +1

    Dude, this is amazing thanks for showing us

    • @NesHacker
      @NesHacker  Рік тому

      Yeah no problem, I’m glad you liked it ☺️

  • @AlexanderShelestov
    @AlexanderShelestov Рік тому +2

    Nice series!
    How do you run YY-CHR on MacOs?

    • @NesHacker
      @NesHacker  Рік тому

      I use wine on my video production mac, but it doesn’t seems to work in the newest version of macOS :(

  • @KrunchyTheClown78
    @KrunchyTheClown78 11 місяців тому

    Hey man, I love your videos, and this is a great one!
    There is a fantastic abundance of information for Nintendo consoles. But so terribly little information for Atari consoles that came after the 2600. I would love if you could educate us on the competing consoles to the NES, like the 7800! That would be such a great service to the gaming community!

  • @Pridetoons
    @Pridetoons Рік тому +3

    Can you teach us NES, GBC, GBA, and maybe SNES assembly too?

    • @NesHacker
      @NesHacker  Рік тому +1

      I already have a ton of videos on NES assembly, and I am planning to do all of those and more in the future!

    • @khatharrmalkavian3306
      @khatharrmalkavian3306 Рік тому +1

      GBC is just GB with a few extra features. SNES is easy to pick up if you're already familiar with NES. GBA sounds fun to get into. That was when Nintendo started using ARM for their handhelds.

    • @gluttonousmaximus9048
      @gluttonousmaximus9048 Рік тому

      GBA seems to allow a lot more overhead when it comes to C programming with DevKitARM or something

    • @kirby0louise
      @kirby0louise Рік тому +1

      @@khatharrmalkavian3306 Yep GBA is a beast. 3 stage pipelined CPU means you can coax it into behaving like a 50MHz processor instead of 16.7MHz, and the PPU has a lot of bandwidth, it's like 40 64x64 affine sprites each scanline before it gives out. There's even a (relatively) huge programmable cache with 6x the memory bandwidth of regular RAM.

  • @xavieromondi2153
    @xavieromondi2153 Рік тому +2

    best channel on youtube

  • @RootsterAnon
    @RootsterAnon Рік тому

    Great, now i spend few hours to make simple Hello World game with text on the screen. Tnx!

  • @spelwerdzrite
    @spelwerdzrite Рік тому +1

    Always love your vids.

  • @masumasi
    @masumasi 10 місяців тому

    This recommendation is amazing :D Thanks for the video!

  • @GiuseppeGaetanoSabatelli
    @GiuseppeGaetanoSabatelli Рік тому +2

    I'd love if there was a way to configure a custom project template for full Visual Studio 2022 to highlight and manage Game Boy Assembly.
    It would also be cool if there was a way to configure or write a plugin for an emulator to report the execution line and memory back to Visual Studio so I can set breakpoints, inspect values directly in code during runtime pauses, and step through code execution. Not to mention single-click build, deploy to emulator, and running debug from the Play button.
    Also, it's been like 20 years so I can't remember, but back in the day when programming z80 assembly on the TI-83 Plus, I could have library files with ion, Mirage, or other shell's subroutines and stuff and #include them at the top of my file, and they contained a bunch of definitions for the extension code.
    Could I split my Game Boy application into multiple files for organization? Similar to how a Partial Class works in dotNET?

    • @NesHacker
      @NesHacker  Рік тому

      Oh yeah you can totally split projects into a bunch of files. Check out the demo code on GitHub, I do it in that project (link in the video description).

  • @accumulator5734
    @accumulator5734 Рік тому +1

    Where can I get a shirt like that!?! Awesome video!

    • @NesHacker
      @NesHacker  Рік тому

      I put an Amazon Affiliate link in the description to the shirt. If you buy it with that link it helps support the channel :)

  • @simplequack
    @simplequack 9 місяців тому

    Great video! You can format with FAT32 in Windows 11, but you'll have to use Diskpart

  • @gluttonousmaximus9048
    @gluttonousmaximus9048 Рік тому +2

    Will there be some comparison between doing it like this video and using GBDK to program in C?

    • @NesHacker
      @NesHacker  Рік тому +1

      I’ve not used it, but I can look into it and see how they compare. Good idea 👍🏻

  • @dianalerma371
    @dianalerma371 11 місяців тому

    Me encantan todos tus videos de entornos de desarrollado para nes y gb/gbc, tienes algun plan de hacer algun video del sgdk ? El entorno de desarrollo de la sega genesis/ megadrive, esa fue mi consola favorita durante todos los 90, seria genial ver un video de ese sdk con tus conocimientos. Saludos desde Mexico 🇲🇽

    • @NesHacker
      @NesHacker  11 місяців тому +2

      Yeah I mean I’d like to do all sorts of retro systems. Just takes me a long time for each video now because of research and editing, so it might be a while until I get to the sega systems. Thank you so much for watching!

  • @joe_hoeller_chicago
    @joe_hoeller_chicago 9 місяців тому

    This is cool, thanks for posting this.

  • @TheMAZZTer
    @TheMAZZTer 3 місяці тому

    It's worth noting Windows 11 will not show FAT32 format option for SD cards above 32GB due to legacy reasons. However the next major update should allow it for cards up to 2TB.
    It's also worth noting this was probably kept this way for so long because FAT32 does not work well at large filesystem sizes and tends to waste a lot of space especially with lots of small files.
    Anyway you can also use the third-party format tool Rufus to format FAT32 if your Windows does not support it.

  • @JTMC93
    @JTMC93 11 місяців тому

    Love the idea of this... Though GB Studio is probably more approachable for people...

    • @NesHacker
      @NesHacker  11 місяців тому

      Yeah probably… But my niche is old school style low level assembly programming on retro systems with an algorithms slant 😂

    • @JTMC93
      @JTMC93 11 місяців тому

      @NesHacker I admit I wanna make a game like this just to say I did.
      Another part of me wants to make a GBC and GBA based game engine ala GB Studio.
      Though I have a feeling, I will instead aim at making my own console and related.

  • @P-G-77
    @P-G-77 11 місяців тому

    VSC as me... my first choice. I learn various techniques using exactly IntelliSense...

  • @glauco_rocha
    @glauco_rocha Рік тому +1

    So you're telling me that the GB's processor is a Z808080? that's very cool

    • @NesHacker
      @NesHacker  Рік тому +1

      Haha, that’s a great way of putting it. And yeah, it kinda is 😂

  • @liquidmobius
    @liquidmobius 11 місяців тому

    I grew up on NES and Gameboy, but I'd love to see what you're capable of making on Godot!

  • @skylo706
    @skylo706 Рік тому +1

    It's honestly insane how easy z80 or 6502 assembly really is compared to something like c. Yes, it may sound strange, though when working with the pokemon red disassembly, i didn't run into many problems. The 3rd generation however, which was written and is therefore also decompiled in c, is another story. It is do unreadable and hard to even do anything with it.

    • @NesHacker
      @NesHacker  Рік тому +1

      It’s why for this and the NES I make videos featuring assembly. It’s how the majority of games were written, gives you a lot of control, is fun, and isn’t as bad as most folks think 🤔

  • @mr_noodler
    @mr_noodler Рік тому

    This is a pretty sweet channel

  • @nkusters
    @nkusters Рік тому

    7:00 if you use drive manager, you have some more options and you can totally still do FAT32 on Windows 🙂

  • @informatik4lehrplan216
    @informatik4lehrplan216 11 місяців тому

    wow, wow, wow! This and every other video from you are so nice. Thank you for your dedication and investment in all your documentation. 👍

  • @akko8210
    @akko8210 Рік тому +4

    AMAZING 😊

    • @NesHacker
      @NesHacker  Рік тому +1

      Thank you! I’m glad you liked it 😊

  •  Рік тому +2

    hey bro, amazing video, In your opinion, is possible to create a "language-translator" for this GBZ80 ? (like babel does with JS, typescript)
    It'll be great to having and then we can code using actual languages like C#, TS, JS, Go, (less java.... nobody likes java)

    • @Dave01Rhodes
      @Dave01Rhodes Рік тому +1

      There is GBDK, which lets you write GameBoy games in C. The GameBoy can’t really handle high level languages. Almost all GameBoy games were written in assembly back in the day. There’s a handful that were made in C, but they tended to run kinda slow.
      I suppose someone could write a compiler for their favorite language that targets the GameBoy, but it would be a pretty big undertaking. It would have to optimize like crazy to make sure it could get every last drop of performance out of the GB’s CPU.
      In the end, it would probably be easier to learn GBZ80 assembly. As the video says, it’s a bit complicated, but you might be surprised with how quickly you pick it up.
      Assembly dials the puzzle-solving aspect of programming up a notch. Not only are you figuring out how to get the computer to do what you want, but now you’re writing each individual instruction and seeing the cost in CPU cycles. It gets you thinking how you could make the routine you’re writing use as few cycles as possible. Because on old 8-bit systems, every cycle counts!

  • @Bofner
    @Bofner 8 місяців тому

    Kind of a specific question: When you assemble your files, do you make a sym file, and if so, does Emulicious display your comments in the debugger when it uses the sym file? I have an issue where it loads the names of my variables and sections just fine, but won't show my comments. I can get the comments to load using WLA-DX as the assembler, but for gameboy development I'd prefer to use RGBDS. Thanks!

  • @MrBenMcLean
    @MrBenMcLean Рік тому +1

    I would like to start building MS-DOS games with a modern IDE but nobody makes that.

  • @edwardsolaire5672
    @edwardsolaire5672 Рік тому +1

    Ninja Gaiden 2.... Captain Tsubasa 2....

  • @rhrabar0004
    @rhrabar0004 Рік тому +2

    Dude you are so cool

  • @johnnyk5
    @johnnyk5 9 місяців тому

    Thanks! Would you do a similar episode for GBA development?

  • @thomaswerner9970
    @thomaswerner9970 8 місяців тому

    Thanks for the great video!

    • @NesHacker
      @NesHacker  8 місяців тому

      You're welcome. Thank you for letting me know you appreciate it!

  • @PhilipMurphy8Extra
    @PhilipMurphy8Extra 11 місяців тому

    This is actually cool

  • @r0wdybandit015
    @r0wdybandit015 Рік тому

    Good stuff

  • @AMith-lv2cv
    @AMith-lv2cv Рік тому

    🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @Lorenzo1938
    @Lorenzo1938 11 місяців тому

    I’m studying compilers with an idea in mind. Write a subset of the C programming language to compile in asm for various platform (like game boy, snes), you think is a good idea for a project?