Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
26 May, 2013, 02:43:29 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Keep program output on graph screen? -  (Read 437 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Michael.3545
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 14 December, 2012, 22:15:19
Date Registered: 24 June, 2010, 18:10:57
Location: Flatland
Posts: 68


Topic starter
Total Post Ratings: +6

View Profile
« on: 06 May, 2012, 04:19:39 »
0

When an axe program ends, it leaves anything you drew on the home screen.  (Unless you clear it first, of course)  I'd like to get this effect, only on the graph screen instead.  For example, PrettyPrint leaves its output on the graph screen, and you can refer back to it later, or store it to a picture if you wish.  Is this possible in Axe?
Logged

Pacman:
  • Progress:  80%
  • Paused until I get some free time.
  • Ghosts are giving me issues Sad
thepenguin77
z80 Assembly Master
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 22:00:35
Date Registered: 14 December, 2009, 04:21:52
Location: Purdue
Posts: 1484


Total Post Ratings: +778

View Profile
« Reply #1 on: 06 May, 2012, 04:29:25 »
0

Put Asm(FCCB0386) near the end of your program.

res graphDraw, (iy + graphFlags) for the asm minded.


What's happening is that the OS has the graph screen marked as dirty, so it will try to redraw it the next time you go to the graph screen. This simple flag reset will mark it as clean so the OS won't touch it.
« Last Edit: 06 May, 2012, 04:32:48 by thepenguin77 » Logged

zStart v1.3.011 4-29-2013  zStart fully works on 83+BE's (except custom font)
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112
Michael.3545
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 14 December, 2012, 22:15:19
Date Registered: 24 June, 2010, 18:10:57
Location: Flatland
Posts: 68


Topic starter
Total Post Ratings: +6

View Profile
« Reply #2 on: 06 May, 2012, 05:35:03 »
0

I don't notice any difference with or without the Asm(FCCB0386).  Sometimes it works, sometimes it doesn't.

Well, this is what I have been working on.  It is about 9001 times faster than the TIBASIC version I made first. 



Bonus points if you know what it is!
Spoiler for the answer:
It's a Ulam spiral!
Logged

Pacman:
  • Progress:  80%
  • Paused until I get some free time.
  • Ghosts are giving me issues Sad
nikitouzz
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: Yesterday at 22:25:39
Date Registered: 30 June, 2012, 13:59:02
Posts: 100


Total Post Ratings: +13

View Profile
« Reply #3 on: 19 September, 2012, 18:40:42 »
0

I take this post to ask how to keep the screen in axis at the end of the program? but this time on the screen and normal all at once?
Logged
Michael.3545
LV3 Member (Next: 100)
***
Offline Offline

Gender: Male
Last Login: 14 December, 2012, 22:15:19
Date Registered: 24 June, 2010, 18:10:57
Location: Flatland
Posts: 68


Topic starter
Total Post Ratings: +6

View Profile
« Reply #4 on: 19 September, 2012, 21:56:25 »
0

I take this post to ask how to keep the screen in axis at the end of the program? but this time on the screen and normal all at once?

What?  Firstly, this topic has been inactive for four months.  Secondly, it isn't axis, it is Axe.  Thirdly, your questions aren't really questions, just statements ending in question marks.

But to answer what I assume you intended to ask, this post is asking if there is a way to reliably stay on the graph screen after a program exits, instead of what normally happens, which is returning to the home screen or clearing the graph screen.

Essentially my program draw something to the graph screen, and I wanted that output to remain visible after the program exits.  This is no longer a problem, however, as my program works fine.
Logged

Pacman:
  • Progress:  80%
  • Paused until I get some free time.
  • Ghosts are giving me issues Sad
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.249 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.