Jump to content

Programming NES games in BASIC


Recommended Posts

There's a programming language online that's optimistically called NESBasic, but it's really just assembly language with a few commands that are vaguely BASIC-like. Also, there was a version of BASIC released for the Family Computer in Japan, but it was only an interpreter (in other words, useless). I agree with the Bee Man, C is probably your best bet for NES programming.


Frankly, I'm both shocked and upset at how completely barren the NES homebrew landscape has been. It's one of the best and certainly one of the most popular game systems ever created... where the hell is the love? The Atari 2600 and (vastly overrated) ColecoVision seem to get all the attention from underground programmers. It's a damn shame.

  • Like 4
Link to comment
Share on other sites

I continue to point to the chaotic plethora of "mappers" as the main problem, the CIC (lockout) chip as another part of the problem, and even the metric connector of the circuit board is a speed bump. The lack of internal VRAM ended up making the NES more versatile, but that just adds to the mapper chaos.


Join the Mega side of the force... 4 megabytes of non-bankswitched ROM... 64K of RAM... feel the power of the 68000... you can even use GCC...

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

CC65 and asm6 both work well. I personally like NESASM3 too. NESASM gets a bad rap for some syntax, but I haven't had any problems with it yet. NBASIC either wasn't very good, or the people using it didn't program it correctly as the games made with it don't work well on real hardware. I still think it's probably be possible to write a basic language/compiler for nes, but I haven't seen it done well yet. As for mappers, for most simple games you're only gonna ever use 1 or 2 different mappers, and if you're gonna make something that needs a different mapper, you'll be good enough to figure out the one you need. There are resources out there that document the different mappers.


Also the nes homebrew scene has really started to pick up steam in the past year or 2. Google D Pad Hero. it's pretty damn good. Battle Kid: Fortress of Peril is looking great too(seems like a hard megaman/metroidish type platformer)

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...

i was going to start a new thread about how i programmed an atari 2600 game in qbasic, but this thread is close enough.

HotSpot - it's sort of a port of the homebrew Raster Fahndung. just finished it up yesterday.


here's a screenshot:



it's uncompiled (and won't compile in QB4.5). source code (BAS file) is attached to this post.


Edited by bomberpunk
  • Like 1
Link to comment
Share on other sites

  • 8 years later...
  • 3 years later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...