Search found 366 matches

by frantik
Thu Mar 19, 2009 12:48 am
Forum: NESdev
Topic: A 3D Maze Engine
Replies: 28
Views: 12773

cool.. but is it just me or are the controls not right? it seemed like pressing left moved me forward..
by frantik
Wed Mar 18, 2009 10:03 pm
Forum: Newbie Help Center
Topic: NESDEV "Best Practices"
Replies: 14
Views: 6276

keep em coming folks :)

btw, do yall think it's better to use the internal stack, simulate a stack in ram, or use temporary variables when simulating function calls? seems like they all have pros and cons
by frantik
Wed Mar 18, 2009 6:36 pm
Forum: NESdev
Topic: New PCM demo
Replies: 64
Views: 47974

mic_ wrote:..that and you can't do much of anything else while doing PCM playback, so it's really only applicable on a title screen
/me takes this as a challenge... now i have to try and come up with the ultimate mini game :P
by frantik
Wed Mar 18, 2009 6:13 pm
Forum: Newbie Help Center
Topic: NESDEV "Best Practices"
Replies: 14
Views: 6276

NESDEV "Best Practices"

So in this thread I asked if it was better to use symbolic constants vs plain register addresses.. it started some interesting discussion and got me thinking about other nesdev "best practices" and other little tips or tricks one might not think up on their own so I invite you nes gurus.. ...
by frantik
Wed Mar 18, 2009 12:51 am
Forum: Newbie Help Center
Topic: General ASM6 Questions
Replies: 45
Views: 18788

yep, they're both working now :D thanks! Now i can write a 'callfunction' macro which can take multiple parameters
by frantik
Tue Mar 17, 2009 11:47 pm
Forum: NESdev
Topic: New PCM demo
Replies: 64
Views: 47974

if you get a click it means you wrote the wrong value to $4011.. timing problems sound like pitch changes or weird warbling. As long as most of the audio is played back at a constant rate, occasionally you can take a little extra time to do other tasks. the graphics stuff is done during vblank as no...
by frantik
Tue Mar 17, 2009 6:17 pm
Forum: NESdev
Topic: New PCM demo
Replies: 64
Views: 47974

I wonder how much the quality would suffer under ADPCM . haha I actually got the idea from you musing about the same thing a year ago It would be interesting to hear using ADPCM compression.. but would you have enough time to decompress it and play the audio in addition to doing everything else? Th...
by frantik
Tue Mar 17, 2009 4:54 pm
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

too many text editors come with presets that recognize only i386 syntax, not 6502 syntax. thats why I love UltraEdit.. you can define your own color highlighting. I could even add special highlighting to the registers if i wanted to :D frantik: Your ideal is closer than some people might think, eve...
by frantik
Tue Mar 17, 2009 9:25 am
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

i think ideally almost all access with the registers would be done through macros and subroutines anyways so it wouldn't really matter :-p

though in practice i don't know how realistic this is...
by frantik
Tue Mar 17, 2009 9:21 am
Forum: NESdev
Topic: New PCM demo
Replies: 64
Views: 47974

it's not used.. i just wanted to put something in the other pattern table for nosy folks lol ;)


glad u guys enjoyed it :D :D
by frantik
Tue Mar 17, 2009 7:00 am
Forum: NESdev
Topic: New PCM demo
Replies: 64
Views: 47974

New PCM demo

Here's a little demo using $4011 to play raw 7bit PCM data while simultaneously doing some graphics stuff and reading from the controller. This is my first demo so let me know what you think :)

Download demo
by frantik
Mon Mar 16, 2009 10:19 pm
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

oh ok, it's cause you're a emudev guy that you're not as familiar with them

from a programming perspective I think it's always better to use constants instead of 'magic numbers' so i think i'll stick with them :)
by frantik
Mon Mar 16, 2009 7:57 pm
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

/me is still confused by those reg names. PPUADDR=$2006 and PPUCTRL=$2000, right? i thought there were standard names.. should I not use them? but yeah you got them right and i'm not using $2006 for scrolling, i'm using it to write to the nametable and change palettes :) edit - glad you hear you go...
by frantik
Mon Mar 16, 2009 7:05 pm
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

ok i got it working, but only if i don't make writes to PPUADDR. How do I reset the nametable after writing to PPUADDR? I write to PPUCTRL after PPUADDR to set the name table but it doesnt seem to make a difference eit: got it finally! I realized i was only updating PPUCTRL at the screen boundary no...
by frantik
Mon Mar 16, 2009 4:40 pm
Forum: Newbie Help Center
Topic: can only scroll "half way"
Replies: 15
Views: 9455

yes scrolling is the last thing i do before returning from the vblank interrupt I tried updating $2000 when the vertical scroll reaches $F0 but when I set it to $00, no matter what i set $2000 to, it still goes back to the halfway point, not the very top of the nametable also, I don't understand why...