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,317
Trophies
3
Location
The Wired
Website
m4x1mumrez87.neocities.org
XP
22,577
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
  • K3Nv2 @ K3Nv2:
    That games so mixed I hear people praise or say they love it
  • ZeroT21 @ ZeroT21:
    it's both, they love it and hate it just as much
  • K3Nv2 @ K3Nv2:
    Like we get mixed reviews but that games globally mixed like mj
  • ZeroT21 @ ZeroT21:
    love the gameplay, hate the buggy mess it's also in, much drama and controversy also related due to sony being sony
  • ZeroT21 @ ZeroT21:
    the mixed reviews is due to review bombing, because a chunk of regions are excluded/banned from buying it now
  • ZeroT21 @ ZeroT21:
    so the players are review bombing as response to sony doubling down on their so-called policy
  • BakerMan @ BakerMan:
    maybe the real bugs were the glitches they didn't patch along the way
  • ZeroT21 @ ZeroT21:
    there are instability issues regarding certain hardware setups, but it's a small part
  • ZeroT21 @ ZeroT21:
    game's now what, 3 months out the door
  • ZeroT21 @ ZeroT21:
    live service game for 40 bucks that sold 12 mil copies
  • K3Nv2 @ K3Nv2:
    Ever notice how games that sell millions get hated the worst
  • K3Nv2 @ K3Nv2:
    Cod and sports games are good examples but people still buy the shit
  • ZeroT21 @ ZeroT21:
    it happens quit often if not all the time
  • ZeroT21 @ ZeroT21:
    diablo 4 anyone?
  • K3Nv2 @ K3Nv2:
    Everyone just doesn't want to be an outcast and say they're decent games why do they make billions if it's so shit
  • ZeroT21 @ ZeroT21:
    just buy nintendo stuff and their games if you just want fun
  • K3Nv2 @ K3Nv2:
    I still can't name 12 fun current Nintendo games
  • ZeroT21 @ ZeroT21:
    i say get a pc and emulate that too

    :rofl2:
  • K3Nv2 @ K3Nv2:
    Or in today's age at least a SteamDeck
  • ZeroT21 @ ZeroT21:
    i gotta say, the steam deck isn't a bad deal, even if you get a used one, you have options to get it serviced and the parts are also available through ifixit
  • K3Nv2 @ K3Nv2:
    I remember a guy trying to call me a SteamDeck fanboy I'm like well give me a grand I'll buy a winmax
    +1
  • K3Nv2 @ K3Nv2:
    Or a win4 things still sexy
  • ZeroT21 @ ZeroT21:
    having money does not mean everyone will just fork it over
  • ZeroT21 @ ZeroT21:
    everyone perceives value diffrently
    ZeroT21 @ ZeroT21: everyone perceives value diffrently