Search found 366 matches

by frantik
Mon Mar 16, 2009 3:56 pm
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

is there a way to use expressions in macro calls? macro setPPUCTRL (value) lda v2000 and value sta v2000 sta PPUCTRL endm setPPUCTRL #PPUCTRL_NTABLE_0 | PPUCTRL_HORIZONTAL | PPUCTRL_SPR_PTABLE_1 | PPUCTRL_BG_PTABLE_0 | PPUCTRL_SPR_8X8 | PPUCTRL_VBLANK_NMI_ON gives me "extra characters on line&q...
by frantik
Mon Mar 16, 2009 9:27 am
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

can only scroll "half way"

I'm writing to $2005.. but it seems like it interprets 0 to be in the middle of the name table, not the very top left If I watch the scroll lines in FCEUD, the cross hatch starts out on the far left. then if I start scrolling by incrementing a variable and writing that to $2005, the crosshatch moves...
by frantik
Mon Mar 16, 2009 12:11 am
Forum: NESdev
Topic: My first NES demo. Hangman!
Replies: 12
Views: 7198

great job! :) the music is pretty intense for hangman, and that "get ready" sign really builds the anticipation ;) lol

One thing I would recommend though is showing the player which letters they've chosen, and also making it impossible to choose the same letter more than once
by frantik
Sun Mar 15, 2009 6:29 pm
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

if you made it so IFDEF returned true (and IFNDEF false) whenever it was passed a constant value, then it would work as expected inside of the macro definition i don't know if that would mess up other stuff or be too much of a "hack" though. an alternative might be to make macro test (test...
by frantik
Sun Mar 15, 2009 5:27 pm
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

I'm trying to set up macros which can accept multiple parameters, but i'm getting unexpected actions macro test (testvar, testvar2) ifdef testvar nop endif ifdef testvar2 nop endif endm test test $00 test $00 $00 gives me: pass 1.. test.asm(14):test(2): Illegal instruction. test.asm(15):test(2): Ill...
by frantik
Sun Mar 15, 2009 3:05 pm
Forum: Newbie Help Center
Topic: background skips when altered...
Replies: 23
Views: 9908

thanks, makes a lot of sense :)
by frantik
Sun Mar 15, 2009 2:53 pm
Forum: nesdevWiki
Topic: Special pages are broken
Replies: 54
Views: 40611

I'd recommend using a boilerplate that has been reviewed by people whose job is the law, such as Creative Commons Zero or Creative Commons Public Domain Certification . sure.. i just copied and modified one i found on wikipedia but there might be better ones out there But copyright is one of the th...
by frantik
Sun Mar 15, 2009 2:31 pm
Forum: nesdevWiki
Topic: Special pages are broken
Replies: 54
Views: 40611

the only thing about zlib is i think any license which requires you to include the license itself with distribution is kind of annoying and i doubt many people would honor it I still think many people are missing the point of a license on the Wiki; it isn't to restrict what USERS can do with the con...
by frantik
Sun Mar 15, 2009 1:59 pm
Forum: Newbie Help Center
Topic: background skips when altered...
Replies: 23
Views: 9908

is there a reason it's better to increment a variable inside of vblanks iterrupt routine and then handle the variable change, vs just putting the handling code between the interrupt vector and the RTI?
by frantik
Sun Mar 15, 2009 7:46 am
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

thanks I just noticed the base command in the readme after checking it again :)
by frantik
Sun Mar 15, 2009 5:09 am
Forum: nesdevWiki
Topic: Special pages are broken
Replies: 54
Views: 40611

^ i tend to agree :) If the owner was willing to point the DNS A record to the same IP as nesdev.com, I could redirect nesdevwiki.org to nesdev.com/wiki/ (simple HTTP 301 redirect indicating permanent relocation; browsers would redirect automatically). Of course, this means we (Parodius) don't have ...
by frantik
Sun Mar 15, 2009 1:12 am
Forum: Newbie Help Center
Topic: background skips when altered...
Replies: 23
Views: 9908

does that code run during the vblank interrupt (like before the RTI command) or do you just increment the VBlank variable, play the note, and return, and then that code executes? if the graphics code executes after the note is played i think it would cause problems.. but i think you would see more t...
by frantik
Sun Mar 15, 2009 12:24 am
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

General ASM6 Questions

If you try to define the same memory location (using .org, .pad, or .align) more than once, ASM6 doesn't like it how do you write code for memory banks, where each bank expects to be at the same location? the only way I can see now would be to build each bank separately and .incbin them, but perhaps...
by frantik
Sun Mar 15, 2009 12:21 am
Forum: Newbie Help Center
Topic: background skips when altered...
Replies: 23
Views: 9908

I'm not sure this will help but maybe you should use a vblank IRQ instead of polling the PPU for vblank?

it seems like you shouldn't see anything if you make all your changes before vblank ends, but i can't say for sure
by frantik
Sat Mar 14, 2009 7:16 pm
Forum: nesdevWiki
Topic: Special pages are broken
Replies: 54
Views: 40611

Creative Commons CC-BY and CC-BY-SA, used by Wikimedia Foundation's Wikinews project, are incompatible with GNU GPL and GNU FDL because of the "remove from the Collection any credit" requirement in the text of each of these licenses. I think that part says you have to remove credit only i...