Search found 29 matches

by L0p1N
Sun Jan 02, 2005 12:49 pm
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

Ok I now use mapper 3 (.inesmap 3, is this correct?). I changed your .byte to .db because nesasm didn't like that. The rest of your code was put into a subroutine which was executed on start, just for testing if I see different tiles now. But still the first bank is used. I incbin'ed the second back...
by L0p1N
Thu Dec 16, 2004 11:11 am
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

Ok, then I'll use mapper 3. I've used mapper 0 until now. Can you give me the code for switching now?
by L0p1N
Wed Dec 15, 2004 9:01 am
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

Good. I didn't program anything 'bout the titlescreen yet, I need to know where to include the background-tiles file. .bank 2 ; switch to bank 2 .org $0000 ; start at $0000 .incbin "pong.bkg" ; background .incbin "pong.spr" ; sprite data I know those files must be included in a s...
by L0p1N
Tue Dec 14, 2004 1:45 pm
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

How can I swap between the banks?
Why do I have to switch to bank 0 at beginning? I would need bank 1 for the first lines.
by L0p1N
Tue Dec 14, 2004 1:03 pm
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

I've finally drawn the background, now I want to insert it. When I reached sprite 0's position, how can I switch the banks?
by L0p1N
Sat Nov 13, 2004 4:47 pm
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

I assume I have to insert the code between this:

Code: Select all

waitblank:
	lda $2002
	bpl waitblank
Does this code already switch between banks or does is just wait 'till the scanline with sprite 0 in it is drawn? (never used more than one bank yet)
by L0p1N
Sat Nov 13, 2004 8:14 am
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

Don't wanna use MMC5 for just a simple Pong-Clone. I've heard about that sprite 0 trick, but how does it work?
by L0p1N
Mon Nov 08, 2004 1:40 am
Forum: Newbie Help Center
Topic: Big Background
Replies: 21
Views: 14588

Big Background

Hi,

I want to make a titlescreen which uses many tiles, without removing some less important still at least 2 pages. Can I show background gfx from more than one page at the same time?
by L0p1N
Thu Nov 04, 2004 5:42 pm
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

Thanks, you saved my day (and robbed my sleep, it's nearly 2 AM but I had to code it) ^-^
by L0p1N
Thu Nov 04, 2004 11:48 am
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

I've managed to change tile 0,0 and 1,0 (address 2020 and 2021) but the other tiles are messed up on the screen.
I've calculated that tile 1,0 and 1,1's addresses should be 2052 and 2053.
For example (tile 1,1): 1*32+1+2020=2053. What's wrong?
by L0p1N
Thu Nov 04, 2004 6:21 am
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

OK I tried it, but somehow I didn't get it right. Here's my code: lda #3 ;should store tile 03h sta $2000 ;at position 0,0 lda #4 ;tile 04h sta $2008 ;at pos 8,0 lda #$13 ;tile 13h sta $2256 ;at 0,8 lda #$14 ;and tile 14h sta $2264 ;at 8,8 (the score's numbers are parted into four tiles to be 16x16p...
by L0p1N
Tue Nov 02, 2004 5:58 am
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

Thanks, that helped me a lot. Though I got the code to show the background from somewhere else, I don't know how to calculate the address of a background tile. How do I do that? (for changing parts of the BG to show player's score...)
by L0p1N
Mon Nov 01, 2004 11:01 am
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

How do I disable the screen? Do I have to do this before the posted code and after it write $0000 to $2006?
by L0p1N
Mon Nov 01, 2004 8:44 am
Forum: Newbie Help Center
Topic: Backgrounds' position
Replies: 13
Views: 10826

Backgrounds' position

Hi there, I wrote a small game which should display a background (and do some more of course). I've included a background made with Tile Layer Pro and name.exe and here's the code to show it: ldx #$00 lda #$20 ; set the destination address in PPU memory sta $2006 ; should be $2000 stx $2006 lda #low...