Search found 122 matches

by CartCollector
Mon Nov 27, 2006 8:50 pm
Forum: Newbie Help Center
Topic: Scrolling
Replies: 24
Views: 9546

Okay, I'm doing this after each NMI:

Code: Select all

inc Ticks
ldx Ticks
cpx #$08	;once every 8 frames
bne InfiniteLoop

inc Value

lda #$00
sta Ticks
sta $2006
sta $2006
	      
ldx Value

stx $2005
sta $2005	;No vertical movement
	
jmp InfiniteLoop
I'm using NESASM, if that helps anyone.
by CartCollector
Sun Nov 26, 2006 4:49 pm
Forum: Newbie Help Center
Topic: Scrolling
Replies: 24
Views: 9546

I'm using this:

Code: Select all

lda #$00        ; Reset VRAM
sta $2006
sta $2006
	
inc Value      
ldx Value

stx $2005
sta $2005	;No vertical movement
by CartCollector
Sun Nov 26, 2006 3:54 pm
Forum: Newbie Help Center
Topic: Scrolling
Replies: 24
Views: 9546

Scrolling

When I scroll the background, it moves 32 pixels up from what it's supposed to be at. It only moves up once the scrolling starts. It does not move up continually, and if the scrolling stops, it still stays up. I've tested it on recent versions of Nintendulator, Nestopia, FCE Ultra, and RockNES, and ...
by CartCollector
Wed Nov 22, 2006 7:14 pm
Forum: Newbie Help Center
Topic: Fun with CHR-ROM
Replies: 13
Views: 4888

Thanks Disch, your loop worked.
by CartCollector
Wed Nov 22, 2006 11:40 am
Forum: Newbie Help Center
Topic: Fun with CHR-ROM
Replies: 13
Views: 4888

The code in the above box was copied incorrectly, so I fixed it up. Also, $2001 is zeroed out, as well as $2000. It still does not work. Anything else?
by CartCollector
Tue Nov 21, 2006 8:03 pm
Forum: Newbie Help Center
Topic: Fun with CHR-ROM
Replies: 13
Views: 4888

I'm getting glitched data in the name tables. Here's my code: lda #$20 ;Set $2007 to name tables ldx #$00 sta $2006 stx $2006 lda #$90 ;start address at $9090 sta $01 sta $00 ldx #$04 ldy #$FF LoadNameTable: lda [00],y sta $2007 dey bne LoadNameTable VWait3: lda $2002 bpl VWait3 dex beq PalletteStar...
by CartCollector
Sat Nov 18, 2006 6:15 pm
Forum: Newbie Help Center
Topic: Fun with CHR-ROM
Replies: 13
Views: 4888

Thanks for the info on the name and attribute tables. I'm using Mapper 0, so that can't be the problem. NESASM maybe?
by CartCollector
Sat Nov 18, 2006 5:58 pm
Forum: Newbie Help Center
Topic: Fun with CHR-ROM
Replies: 13
Views: 4888

Fun with CHR-ROM

I've got this pattern table, and it looks like this in YY-Chr. Now, I put in in my NESASM program using .bank 2 .org $0000 .incbin "parallax.chr" Once I compile it, though, the palette dump I get from RockNES looks like this. Notice the squiggly line thingies at the top. Where are they com...
by CartCollector
Sat Nov 18, 2006 2:11 pm
Forum: Newbie Help Center
Topic: Reading Joypad 1
Replies: 14
Views: 5378

Though there is a small bug: Whenever I go to the left or bottom border and hold the respective direction down, then release it, the sprite will move in one pixel, then out one. What's going on?
by CartCollector
Tue Nov 14, 2006 5:53 pm
Forum: NES Hardware and Flash Equipment
Topic: NOAC Datasheets?
Replies: 4
Views: 3184

Thanks for the 6578 datasheet, gannon. I did check out the tool release on the NESDev main site, but most of it wasn't in English, so I couldn't understand it.

Also, what's in the NeoFami? Is it a 657x or something else?
by CartCollector
Mon Nov 13, 2006 4:13 pm
Forum: Newbie Help Center
Topic: Reading Joypad 1
Replies: 14
Views: 5378

Don't worry, my program runs. It's been running since my second reply.

Oh and Quietust is right, I do NMI to SetSpr.
by CartCollector
Sun Nov 12, 2006 2:40 pm
Forum: NES Hardware and Flash Equipment
Topic: NOAC Datasheets?
Replies: 4
Views: 3184

NOAC Datasheets?

Sorry if this has been posted already, but... Does anyone here have datasheets (in English!) of NOACs that describe their operation? Most importantly, what their special features are, along with where they are inaccurate compared to an official NES. Notes on what someone's found while reverse-engine...
by CartCollector
Sat Nov 11, 2006 7:51 pm
Forum: Newbie Help Center
Topic: Reading Joypad 1
Replies: 14
Views: 5378

@Disch:

I tried it on FCE Ultra, Nestopia, and Nintendulator, with all of them set to left = left arrow, right = right arrow, and "dec X_Pos" to move right worked. So what else could it be?

@Celius:

I strobed twice because I had a bug and I didn't know what to do. So I started guessing.
by CartCollector
Fri Nov 10, 2006 7:57 pm
Forum: Newbie Help Center
Topic: Reading Joypad 1
Replies: 14
Views: 5378

Thanks Quietust, that worked. Also wrong in the code is that to go right, the x value is decremented, instead of incremented as in the code. Vice versa goes for the left.
by CartCollector
Sun Nov 05, 2006 5:14 pm
Forum: Newbie Help Center
Topic: Reading Joypad 1
Replies: 14
Views: 5378

Reading Joypad 1

I can't seem to figure out what's wrong with my input routine. I'm trying to move a single sprite, to no avail. The sprite is displayed, though, so it must be something with how my program handles input. Here's the relevant part of the program: SetSpr: lda #$00 ldx X_Pos ldy Y_Pos sta $2003 ;Set SPR...