Exact match. Not showing close matches.
PICList
Thread
'[SX] SX48/52 register values question'
2005\11\27@113625
by
cbmeeksn/a
|
|
My project needs a LOT of RAM. Well, technically, it needs 160 bytes (plus a little extra). The 262 in the SX52 is actually more than enough.
What I am trying to do is both read and write to the register ram in a serial manner.
For example, I need to hold 160 bytes. I assume I would put the start at $08 (0) and run it to $9f (159). So, once those 160 bytes are full, I need to run through them one at a time. I know it should be simple but I can't find out how to loop through the registers one at a time.
So, if I needed to read/write to position 100, how would I do that?
Also, I am concerned about skipping banks. I know the SX48 has 16 banks with 16 registers each (plus some extra). Is there anything special about doing what I want?
Thanks again and sorry for such a basic question.
Oh, I am using ASM and not basic.
cbmeeks
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=98235
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\11\27@125633 by Coriolisn/a
|
|
Since you're using the SX52, the indirect memory addressing is easier, the user manual does a pretty good job explaining it. You use the fsr as the index by loading it with the base address of the array plus index. Then use ind as a source or destination register to access the register pointed to by the fsr.
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=98235#m98245
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
2005\11\27@153208 by cbmeeksn/a
|
|
ok, thanks. I will also be using the SX48 but I assume they are both the same. I will check that out and see if I can pull it off.
BTW, it's for an NTSC computer I am building. ALPHA screen shots of the GPU can be seen here:
(oh the picture is actually stable minus the skewing at the top....my camera just didn't get the sync correct and that's why it is wavy)
http://galaxy.signaldev.com/~cbmeeks/gpu2/DSCF0468.JPG
http://galaxy.signaldev.com/~cbmeeks/gpu2/DSCF0469.JPG
http://galaxy.signaldev.com/~cbmeeks/gpu2/
Thanks!
cbmeeks
---------- End of Message ----------
You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=98235#m98254
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)
More... (looser matching)
- Last day of these posts
- In 2005
, 2006 only
- Today
- New search...