Search found 81 matches

by DoNotWant
Sat Aug 02, 2014 1:55 pm
Forum: SNESdev
Topic: Fitting an entire level in VRAM
Replies: 13
Views: 4056

Re: Fitting an entire level in VRAM

psycopathicteen wrote: Most games only update a column of tiles off-screen as the game scrolls. At least that is the method most often talked about on this website. I know the Mario series use this method.
Doesn't most NES/SNES games do this?
by DoNotWant
Sun Jul 20, 2014 1:49 pm
Forum: SNESdev
Topic: Problem scrolling
Replies: 4
Views: 1842

Re: Problem scrolling

https://www.dropbox.com/s/bti17njwagvw7c5/regs.txt
This document have been very helpful to me.

Edit: This is also good;
http://problemkaputt.de/fullsnes.htm
by DoNotWant
Sun Jul 20, 2014 12:13 pm
Forum: SNESdev
Topic: Problem scrolling
Replies: 4
Views: 1842

Re: Problem scrolling

You have to write 2 8-bit values to each register.

Code: Select all

lda lowX
sta $210D
lda highX
sta $210D

lda lowY
sta $210E
lda highY
sta $210E
by DoNotWant
Mon Jun 30, 2014 2:11 pm
Forum: SNESdev
Topic: SNES SuperCIC causing black and white screen
Replies: 9
Views: 4914

Re: SNES SuperCIC causing

I have a stock NTSC SNES, but I had to get a RGB cable to get it to work(I'm from Sweden).
Could that be your problem?
by DoNotWant
Mon Jun 02, 2014 9:16 pm
Forum: SNESdev
Topic: I give up!
Replies: 10
Views: 4006

Re: I give up!

I have been looking at it a little since yesterday, thanks!
Gonna see if I can understand it all this weekend, and hopefully be able to contribute something.
by DoNotWant
Sat May 17, 2014 2:53 pm
Forum: SNESdev
Topic: SNES controller code to work properly.
Replies: 26
Views: 6293

Re: SNES controller code to work properly.

Yes, mega man x.

Thanks!
by DoNotWant
Sat May 17, 2014 10:47 am
Forum: SNESdev
Topic: SNES controller code to work properly.
Replies: 26
Views: 6293

Re: SNES controller code to work properly.

I'm slowly learning SNES programming as well, and have been looking at the same tutorials as you have. Here are 2 simple programs, if you want to have a look. Written for bass v14 by byuu. The scrolling one have some dodgy clamping, but it was mostly just to see if I could scroll the screen at all. ...
by DoNotWant
Sat May 17, 2014 3:47 am
Forum: SNESdev
Topic: SNES controller code to work properly.
Replies: 26
Views: 6293

Re: SNES controller code to work properly.

EDIT: I took a look at the "tutorial" -- now I see what's going on there. Meh, I don't think all that logic is necessarily needed for what you're trying to do, meaning you don't need to do anything if someone releases a button -- all you want to know is if a button is being held and if so...
by DoNotWant
Thu Apr 24, 2014 10:57 am
Forum: SNESdev
Topic: Scrolling on the SNES?
Replies: 9
Views: 3718

Re: Scrolling on the SNES?

Sorry, I forgot to mention that I did fix HandleInput: to use 16-bit indexing registers and increment the camera in X. Damn, it was those < things, it works now. I did remove them at one point to see if that was it but it wouldn't work then either. Must have been something else at that point messing...
by DoNotWant
Thu Apr 24, 2014 10:01 am
Forum: SNESdev
Topic: Scrolling on the SNES?
Replies: 9
Views: 3718

Re: Scrolling on the SNES?

< byte, > word, ^ long(24-bit).
Like lda.b or sta.w in WLA.
by DoNotWant
Thu Apr 24, 2014 4:54 am
Forum: SNESdev
Topic: Scrolling on the SNES?
Replies: 9
Views: 3718

Re: Scrolling on the SNES?

I doubt that since the sprite moves around, and camera_x and camera_y is updated in RAM. It won't write to the PPU registers for some reason. Anyway, here it is: ReadJoypad: php - lda $4212 // When 4212.b0 is reset, the joypad is ready. and #$01 bne - rep #({MEM} | {XY}) ldx {joy1_raw} lda $4218 sta...
by DoNotWant
Wed Apr 23, 2014 5:39 am
Forum: SNESdev
Topic: Scrolling on the SNES?
Replies: 9
Views: 3718

Re: Scrolling on the SNES?

Yupp, found a way to check the registers, and it seems like they are not updated at all. This is all of the NMI: NMI: pha phx phy php sep #{MEM} stz $2102 stz $2103 stz $4300 lda #$04 sta $4301 stz $4302 stz $4303 stz $4304 lda #$20 sta $4305 lda #$02 sta $4306 lda #$01 sta $420B lda <{camera_x} sta...
by DoNotWant
Tue Apr 22, 2014 10:47 pm
Forum: SNESdev
Topic: Scrolling on the SNES?
Replies: 9
Views: 3718

Scrolling on the SNES?

Hey! I'm having trouble getting scrolling to work on the SNES. I have looked through "Walker.asm" from neviksti's SNES-starterkit, and as far as I see, you only have to update 2 variables in RAM in your moving routine and then write those coordinates to $210d and $210e in the NMI. This is ...
by DoNotWant
Sun Mar 23, 2014 2:30 am
Forum: Homebrew Projects
Topic: MMO for NES
Replies: 30
Views: 20598

Re: Cookie Clicker

Great graphics and really nice font!
Didn't know about this game until now. 16.353.993.196 CpS at the moment. Thanks a lot! X_X