NESASM video not working

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
CartCollector
Posts: 122
Joined: Mon Oct 30, 2006 8:32 pm

NESASM video not working

Post by CartCollector »

Okay, I've tried compiling the two demos that come with NESASM (COLOR and JUNKDEMO) using NESASM 2.51. Whenever I run COLOR in FCE Ultra, Nintendulator, or Nestopia, I get the infamous "grey screen." Whenever I run JUNKDEMO, I also get the grey screen, but I do get some music with it to varying degrees. FCE Ultra plays it perfectly, Nintendulator does a good job except when a frame is skipped (there's a short buzz) and Nestopia screws it up a lot. So what's going on? How can I compile my own programs with NESASM if it can't compile the ones that are included with it?
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Tony Young's Junkdemo and Mouser are compatible with Nesticle software. They are not compatible with NES hardware. The emulators you mention emulate an NES, not a Nesticle.
User avatar
commodorejohn
Posts: 193
Joined: Mon Sep 11, 2006 6:48 pm
Location: Moose Lake, Minnesota

Post by commodorejohn »

I actually went back and looked over the JUNKDEMO code once, and as I recall the problem was that it assumed background and sprites were enabled on bootup, which is not the case. A quick run-over of its PPU init section and comparison with nestech.txt's $2000 and $2001 documentation should reveal what's wrong (sorry, I didn't keep the unmodified source around, so I can't remember exactly what was wrong.)

Emulator/console differences strike again =(

(Also, I like the idea of referring to the inaccurately-emulated NES as "a Nesticle." I wonder if there's any place you can purchase one?)
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

commodorejohn wrote:(Also, I like the idea of referring to the inaccurately-emulated NES as "a Nesticle." I wonder if there's any place you can purchase one?)
No. I could sell you a PC with FreeDOS on it, but from the nestcxxx license:
It is freeware and it is not to be distributed with game
ROMs and it is not to be modified or sold.
Best path is to update Junkdemo and Mouser to run on modern emulators (and on an NES). But another part of me says that Mouser is in effect just a Hustle clone, and there are better Hustle clones that run in better emulators.
User avatar
commodorejohn
Posts: 193
Joined: Mon Sep 11, 2006 6:48 pm
Location: Moose Lake, Minnesota

Post by commodorejohn »

(I was jesting, treating "a Nesticle" as if it were a reference to an actual console.)
Post Reply