Page 1 of 2
new nesasm tutorial
Posted: Thu Jan 27, 2011 3:13 am
by erana
Hi,
I reworked the patater.com nesasm tutorial to make it more compact
and more readily for programming the nes. In short, it has a few extra tips for
the patater nesasm tutorial.
This is work in progress, comments are welcome.
Love,
E.
new nesasm tutorial - the site
Posted: Thu Jan 27, 2011 3:14 am
by erana
Posted: Fri Jan 28, 2011 9:28 am
by 3gengames
What's the demo do? It seems okay, but the demo source should be cleaned up. Turn the PPU off until you load your pallets and background, then turn it on. Also, using sprites in the common area of $200 might be good idea instad of $00, because $00 can be used for a better application then sprites, like variable storage and zero-page operations and just stuff along those lines.

demo
Posted: Mon Jan 31, 2011 11:20 am
by erana
The demo shows how to make a game ; you can move a player tile with the arrow keys. The sprite palette can be changed in-ROM with Tile layer pro.
Love,
erana
Posted: Mon Jan 31, 2011 1:32 pm
by 3gengames
I am talking about the code its self, it's very dirty and doesn't do stuff in a good order, which may cause glitches. Also, my ROM doesn't run on even FCEUXD as far as I can tell. :/
Posted: Mon Jan 31, 2011 6:25 pm
by tokumaru
No offense, but based on the code and the tools, this tutorial looks very 1999, which is not a good thing.
Posted: Mon Jan 31, 2011 7:50 pm
by Dwedit
Snakedemo doesn't work at all, not even in Nesticle.
Posted: Tue Feb 01, 2011 10:32 am
by erana
3gengames wrote:I am talking about the code its self, it's very dirty and doesn't do stuff in a good order, which may cause glitches. Also, my ROM doesn't run on even FCEUXD as far as I can tell. :/
The page tells you to use the iNES emulator. The code is well-documented in the sense that you edit the hex numbers to choose a ttile from a tile palette not just some sprites or a real palette. Then you can also edit the button presses to make
a simple game a la snake. That's all.
E.
Posted: Tue Feb 01, 2011 10:33 am
by erana
Dwedit wrote:Snakedemo doesn't work at all, not even in Nesticle.
The page mentions it works in the iNES emulator.
Posted: Tue Feb 01, 2011 10:59 am
by 3gengames
Odds are it doesn't work on a console though, which it might as well not work in anything. You can have your Pallet easy to edit, fine. But it's the main code though: it's really messy, doesn't work, and also doesn't follow good programming practice in any way really. Also, turn off the screen when writing pallets and to the background, and the PPU in general. It takes less time to access it and is the right way to do it. That's just one of many things that need changed. More compact code isn't good if it doesn't work.
On a side not, I think we can now put iNES on the list of "Don't test on this emulator!" list.

Posted: Tue Feb 01, 2011 11:41 am
by erana
3gengames wrote:Odds are it doesn't work on a console though, which it might as well not work in anything. You can have your Pallet easy to edit, fine. But it's the main code though: it's really messy, doesn't work, and also doesn't follow good programming practice in any way really. Also, turn off the screen when writing pallets and to the background, and the PPU in general. It takes less time to access it and is the right way to do it. That's just one of many things that need changed. More compact code isn't good if it doesn't work.
On a side not, I think we can now put iNES on the list of "Don't test on this emulator!" list.

Well the tile palette trick works anyhow , never mind the emulalor

Posted: Tue Feb 01, 2011 12:08 pm
by 3gengames
No, it doesn't work. That emulator allows it, but anything close to accurate will fail.
Posted: Tue Feb 01, 2011 1:52 pm
by erana
3gengames wrote:No, it doesn't work. That emulator allows it, but anything close to accurate will fail.
Yes I know, it's called DWIM...
Posted: Tue Feb 01, 2011 2:13 pm
by 3gengames
erana wrote:3gengames wrote:No, it doesn't work. That emulator allows it, but anything close to accurate will fail.
Yes I know, it's called DWIM...
Then DOES it work?
Posted: Tue Feb 01, 2011 3:37 pm
by Zepper
Dwedit wrote:Snakedemo doesn't work at all, not even in Nesticle.
*sarcasm mode on*
- If it doesn't work in NESticle, it doesn't work in the NES too.
*sarcasm mode off*