It is currently Sun Oct 22, 2017 6:02 pm

All times are UTC - 7 hours



Forum rules


Related:



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Problem scrolling
PostPosted: Sun Jul 20, 2014 11:14 am 
Offline

Joined: Sun May 11, 2014 8:36 am
Posts: 77
Location: France
I have a problem scrolling, I thought it would be simple
but when I write for example:
Code:
lda x
sta $210D

lda y
sta $210E

There is a bug, Horizontal and Vertical scrolling does not work , x becomes vertical.
I put my demo, I remove a bug, I've written only :
Code:
lda x
sta $210D

How to scrolling Horizontal and Vertical ?
Thank you for your help.


Attachments:
main.smc [256 KiB]
Downloaded 43 times
Top
 Profile  
 
 Post subject: Re: Problem scrolling
PostPosted: Sun Jul 20, 2014 12:13 pm 
Offline

Joined: Sun Sep 30, 2012 3:44 am
Posts: 82
You have to write 2 8-bit values to each register.

Code:
lda lowX
sta $210D
lda highX
sta $210D

lda lowY
sta $210E
lda highY
sta $210E


Top
 Profile  
 
 Post subject: Re: Problem scrolling
PostPosted: Sun Jul 20, 2014 1:37 pm 
Offline

Joined: Sun May 11, 2014 8:36 am
Posts: 77
Location: France
The solution was simple ><
Thank you for your help, I can continue :wink:


Top
 Profile  
 
 Post subject: Re: Problem scrolling
PostPosted: Sun Jul 20, 2014 1:49 pm 
Offline

Joined: Sun Sep 30, 2012 3:44 am
Posts: 82
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


Top
 Profile  
 
 Post subject: Re: Problem scrolling
PostPosted: Sun Jul 20, 2014 2:29 pm 
Offline

Joined: Sun May 11, 2014 8:36 am
Posts: 77
Location: France
Thank you for documents ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: AWJ and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group