NESFab, a new programming language for NES games by Pubby Games

screenshot1.png

Developing homebrew games for retro consoles has always been a really in-depth process, with developers requiring to know a lot of the technical details about the console to even attempt starting a "Hello World" program for any given device. Not only that, but usually when it comes to retro consoles, anyone attempting to develop for one would be required to know an assembly language specific to that console's chipset, for example, the NES worked with 6502 assembly, SNES with 65816, and so on, varying from console to console.

The homebrew community has since seen a huge step up in terms of giving support and new experiences to older consoles, with many homebrew devs working on all-new games, like E.T. for NES by Khan, or Classic Kong, a remake of the original Donkey Kong arcade game, for the SNES. The amount of new titles developed by homebrew developers surged during the last decade, with many tools and compilers being developed to aid in the development process.

NESFab is a new programming language created to help with the coding of NES games, recently released just a month ago in its initial 0.1 version. This programming language is specifically tailored with the 8bit limitation of the NES, with the creator claiming that this language is much more ergonomic to use than C, and also providing a much faster assembly code and better optimized than any other high-level compiler available, like GCC and LLVM.

The language does have its limitations though, as one of the most prominent cons of the language is that it only supports a select number of mappers for the system, and of course, developing a game in assembly code directly will always surpass any other type of language.

However, without any doubt, this will surely help in developing new titles for homebrew devs, and the creators of NESFab have also released an NES game purely developed with NESFab, titled "Hang Glider", which for those interested, they can try it out right now by getting the game from their website.

:arrow: Source
:arrow: GitHub Repository
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
Country
Canada
Looks pretty cool, the syntax looks like a hybrid between C and 6502 ASM, which is not too far from the C programs with Inline Assembly code baked into them, but without actually going for the full 6502 mnemonics there.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
Country
Canada

J-Machine

Self proclaimed Pog champion
Member
Joined
Aug 25, 2011
Messages
940
Trophies
1
Location
A concrete Igloo
XP
1,698
Country
Canada
just looked at the nes maker site that was shared and boi howdy that's a garbage way to advertise things by not giving a price and then sending someone immediately to a paypal invoice. glad there is an alternative.
 
  • Like
Reactions: Henx and SylverReZ

SylverReZ

The planet is fine. The people are crazy.
Member
Joined
Sep 13, 2022
Messages
7,318
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,608
Country
United Kingdom
just looked at the nes maker site that was shared and boi howdy that's a garbage way to advertise things by not giving a price and then sending someone immediately to a paypal invoice. glad there is an alternative.
Yes, and that's exactly why we have this as an alternative.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D