Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 135 users online: 1 member, 94 guests and 40 bots. Members: Tari. Bots: VoilaBot (4), Spinn3r (1), Magpie Crawler (3), VoilaBot (12), Googlebot (19), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
noahbaby94
Member

Joined: 09 Oct 2008 Posts: 118 Location: I don't know I was hoping you knew.
|
Posted: 03 Dec 2008 06:47:08 pm Post subject: Scrolling graphscreen |
|
|
| Ok so this is more of a proof of concept than anything but I think I might of made a functioning scroll on the graphscreen It's more of a proof on concept than anything. Once Kerm uploads it I'll provide a link Just go to the end of the screen and see it scroll. |
|
| Back to top |
|
|
rthprog

Expert

Joined: 21 Sep 2007 Posts: 726 Location: Pittsburgh, PA
|
Posted: 03 Dec 2008 08:11:32 pm Post subject: |
|
|
| I havent seen the code, but could you elaborate? I'm assuming it scrolls part of the screen; how fast is it? Could you source-coder it and post the code itself here? |
|
| Back to top |
|
|
noahbaby94
Member

Joined: 09 Oct 2008 Posts: 118 Location: I don't know I was hoping you knew.
|
Posted: 03 Dec 2008 08:24:28 pm Post subject: |
|
|
Darnet I'm having issues with ti-connect right now but heres a gif.
It uses stat sprites and changing the Xmin and Xmax. |
|
| Back to top |
|
|
rthprog

Expert

Joined: 21 Sep 2007 Posts: 726 Location: Pittsburgh, PA
|
Posted: 03 Dec 2008 08:49:09 pm Post subject: |
|
|
| .... so it "scrolls" the graphscreen a couple pixels to the right, given coordinates I presume...? |
|
| Back to top |
|
|
noahbaby94
Member

Joined: 09 Oct 2008 Posts: 118 Location: I don't know I was hoping you knew.
|
Posted: 03 Dec 2008 08:56:56 pm Post subject: |
|
|
| Yes thats basicly how it works. |
|
| Back to top |
|
|
rthprog

Expert

Joined: 21 Sep 2007 Posts: 726 Location: Pittsburgh, PA
|
Posted: 03 Dec 2008 09:02:06 pm Post subject: |
|
|
have you thought about anyway to "scan in" a unique graphscreen? for example, have the code shift pixel by pixel, an entire block of the graphscreen? for example, :
Code: :for(x,1,30)
:for(y,1,30)
:If pixelTest(Y,X+1)
:Then
:PixelOn(Y,X
:Else
:PixelOff(Y,X
:End
:End
:End
:for(y,1,30
:pixeloff(Y,31
:End
(if it dosent work... yeah, I might be making up commands...) |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55886 Location: Earth, Sol, Milky Way
|
Posted: 03 Dec 2008 09:05:39 pm Post subject: |
|
|
rthprog, I've tried that before; it's disgustingly slow. If you're doing that, you'd better be StorePic'ing it and then RecallPic'ing in rapid succession (unless it's for a graphics editor, in which case no one cares). _________________
 |
|
| Back to top |
|
|
rthprog

Expert

Joined: 21 Sep 2007 Posts: 726 Location: Pittsburgh, PA
|
Posted: 03 Dec 2008 09:08:03 pm Post subject: |
|
|
| KermMartian wrote: | | rthprog, I've tried that before; it's disgustingly slow. If you're doing that, you'd better be StorePic'ing it and then RecallPic'ing in rapid succession (unless it's for a graphics editor, in which case no one cares). |
which is why I usually use Codex/XLIB to scroll. however, if it for some reason needs to be all-basic and the area is small...
plus, how often do you really need to scroll lines? |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
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 vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.026929 seconds.
|