Search found 340 matches

by infidelity
Wed Apr 25, 2018 2:56 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

So if X,Y are 16 bits, and I want the order of bytes stored to oam are 88,FF, I'd do LDY #$FF88 STA $2104

Am I understanding that correctly?
by infidelity
Wed Apr 25, 2018 2:17 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I'm not sure. I'm just doing the test right at the very beginning of the NMI. It's the only code I have running, then I end with an RTI.
by infidelity
Wed Apr 25, 2018 1:51 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I'm having one hell of a time trying to write to the oam without using dma. I wanted to write specifically to $0100, so I set $2102 00, $2103 to 01, and then I picked a random value as FF, and wrote that to $2104. Nothing happens. :-/
by infidelity
Tue Apr 24, 2018 1:04 am
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I'll rework the initi, because I was able to have 4bg layers before. Thanks for your info! :-)
by infidelity
Mon Apr 23, 2018 2:48 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

This is my code, so again my tilemaps for all 4 BG's display the tile I place, but the main screen only shows BG1 on, when I have $212C set to enable all 4 BG layers.... ;snes initialize 008000 sei 008001 clc 008002 xce 008003 rep #$18 008005 ldx #$1fff 008008 txs 008009 jml $80800d 80800d sep #$30 ...
by infidelity
Mon Apr 23, 2018 6:38 am
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I'm at work now. I believe I'm in mode 0 from the STZ'S I did in my initialization of all the systems addresses.
by infidelity
Mon Apr 23, 2018 6:04 am
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I appreciate all of your guidance and info koitsu! I ran I to another issue with BG layers. I'm trying to do another test from scratch, to see if I'm understanding the proper usage of the systems addresses. I'm unable to have all 4 bg layers appear at once, I think it's $212C that enables/disables a...
by infidelity
Wed Apr 18, 2018 1:32 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

Oh I wasn't looking for anyone to reverse engineer or anything like that with the code! I just wanted to know if I'm using the addresses correctly.
by infidelity
Tue Apr 17, 2018 3:11 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

Ok. :-) What I have so far... ;initialize snes 008000 sei A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nv1BdIzc V: 0 H: 46 F: 0 008001 clc A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nv1BdIzc V: 0 H: 50 F: 0 008002 xce A:0000 X:0000 Y:0000 S:01ff D:0000 DB:00 nv1BdIzc V: 0 H: 53 F: 0 008003 jml $808007 [80...
by infidelity
Tue Apr 17, 2018 8:07 am
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

OK I'll add them. And do you think that's the reason why I can't alter the base addresses for my OAM locations in vram?
by infidelity
Tue Apr 17, 2018 7:44 am
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

Ok, I think I got the sprites working! I have $800 in ram, as the region that loads the sprites that are stored into OAM. But I'm facing another weird issue. I was able to select the base in vram where the 1st OAM set of sprite tiles is located. I forget the address, but I have it set to 01. Which m...
by infidelity
Sun Apr 15, 2018 2:28 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

Wow, I cannot thank you all for the abundance of information with the OAM! However I'm having an issue. For some reason I cannot move any of the 128 sprites? Currently I set all of the Y positions to E0. But with doing that, I still have a random sprite at the upper left of the screen? I cannot seem...
by infidelity
Sat Apr 14, 2018 4:00 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

I must've overlooked that with Nestopia! That's what I was trying to find, thanks for showing that! I was able to convert the default fceux.pal file to snes values, now to just get sprites to display on screen. And how come I can't get my imgur uploads to display within the thread? I'm using the [ /...
by infidelity
Sat Apr 14, 2018 1:45 pm
Forum: SNESdev
Topic: new to snes environment, have some questions.
Replies: 102
Views: 28881

Re: new to snes environment, have some questions.

Thanks! :-D yeah took me about 2 hours with all the conversions, my laptop gets a bit finicky, and different values would pop up when I was typing, so I just really took my time with them. :-) I just inserted a working joy pad routine, and can see all the buttons functioning within the RAM. :-) So m...