Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 12:24:00 *
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 [2] 3 4 ... 12   Go Down
  Print  
Author Topic: Correlation: A New Project Aimed at Ti-Basic Programmers -  (Read 9763 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #15 on: 11 November, 2010, 00:47:06 »
0

Hey, not to spam or anything, but I have made a program (SpriteLib) which lets you edit the font a little and use the display routines I even included an example (try example 2) to show what it can do. It is an ASM program and it sets the font hook to work during BASIC program execution and for the hex digits. Example 1 has more maps, but was created early on without the full use of all of the functions...

http://www.ticalc.org/pub/83plus/asm/graphics/spritelib.zip

Nah, it's not spamming.  Quite a nifty program, if I say so myself!  So don't take the next line as an insult, because it's quite impressive.  However, just like your program can do things mine can't, I'm adding features that SpriteLib doesn't have.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

MRide
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 13 July, 2011, 22:22:01
Date Registered: 16 July, 2010, 18:31:10
Location: On a set of Penrose steps
Posts: 710


Total Post Ratings: +14

View Profile
« Reply #16 on: 11 November, 2010, 00:52:01 »
0

So, it's like Omnicalc fonts, but with more versatility, and the user doesn't have to do anything?
Logged


Please click the eggs/dragons! :
Spoiler for My Incubator:
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #17 on: 11 November, 2010, 00:53:44 »
0

So, it's like Omnicalc fonts, but with more versatility, and the user doesn't have to do anything?

Well, the user does have to run something to enable/disable hooks in his basic program, and create his own font of course.  Other than that, it is more versatile, faster, and can be done with regular Output(), Text(), etc. commands.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

Raylin
Godslayer
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 25 February, 2013, 17:03:58
Date Registered: 01 July, 2009, 22:55:16
Location: In the City of Labyrinth
Posts: 1405


Total Post Ratings: +53

View Profile WWW
« Reply #18 on: 11 November, 2010, 00:56:32 »
0

It would be nice if one could install an APP on the calc that could make a brand new locale-based font and change the locale in the program temporarily so that the other font is displayed.

(i.e. the foreign language programs preinstalled on the calcs.)
Logged

Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm








Phantom Sanctuary: Sins of the Savior [==........] 20%
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Last Login: Today at 09:13:11
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4507


Total Post Ratings: +154

View Profile WWW
« Reply #19 on: 11 November, 2010, 01:00:45 »
0

I didn't realize it was going to work with Text and Output. That's pretty nifty! =) So the hooks "point" to your custom routine to display text when the program is enabled as opposed to TI's?
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #20 on: 11 November, 2010, 01:04:06 »
0

So the hooks "point" to your custom routine to display text when the program is enabled as opposed to TI's?

Exactly.  I just need to understand how to get it to work.  No trouble yet Wink
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

ztrumpet
The Rarely Active One
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 11 June, 2013, 05:10:51
Date Registered: 08 November, 2009, 21:10:12
Location: Michigan
Posts: 5688


Total Post Ratings: +360

View Profile
« Reply #21 on: 11 November, 2010, 01:14:47 »
0

Sounds neat.  I don't know how much I'd use it, but it's a neat alternative. Smiley
Logged

Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #22 on: 11 November, 2010, 01:38:34 »
0

Now that I understand hooks, I'm going to use Output() to let people specify a font character size.  Text() will display the text.  I'm also going to have something that will update the screen when all text is drawn.

So, a person will run pgrmText to enable the special font routines.  If there is a need in the Ti-Basic program to use the regular Ti-Basic font (with normal Output and Text functions), another hooked function is run to switch back and forth.  At the end of the program, pgrmText is run again.
« Last Edit: 11 November, 2010, 01:42:16 by Hot_Dog » Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #23 on: 11 November, 2010, 08:28:24 »
0

What if someone wants to use the homescreen at one point, though? Huh?

Maybe ANOVA? (although that's a 2 byte token, if I remember)
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #24 on: 13 November, 2010, 09:49:55 »
0

Correlation will now come with two programs.  The first will be pgrmCORELATE.  This program will be small--hopefully 200 bytes or less--and is used for initalizing and deinitalizing.  The other program is pgrmFONTROUT.  It's much bigger, but it can be stored in archive.

Both programs are required for Ti-Basic programs wanting to do custom fonts using Correlation.
« Last Edit: 13 November, 2010, 09:50:42 by Hot_Dog » Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #25 on: 13 November, 2010, 10:05:28 »
0

Ah ok so it installs font files and hooks?

Also could you answer the first question in http://www.omnimaga.org/index.php?topic=5245.msg85392#msg85392 ?
« Last Edit: 13 November, 2010, 10:05:56 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #26 on: 13 November, 2010, 10:12:11 »
0

Ah ok so it installs font files and hooks?

Also could you answer the first question in http://www.omnimaga.org/index.php?topic=5245.msg85392#msg85392 ?

pgrmCORELATE installs hooks, but does not need to install fonts.  The user specifies a font in his program by using Select().

Sorry about not answering that first question.  If I read it correctly, Output() will display a homescreen-sized font, but it will not appear on the homescreen when the program ends.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #27 on: 13 November, 2010, 10:13:37 »
0

It does in BASIC. Try it for yourself on a real calc.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Hot_Dog
If you can't find a cat, look for its tail.
Project Author
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:11:33
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2943


Topic starter
Total Post Ratings: +432

View Profile
« Reply #28 on: 13 November, 2010, 10:15:33 »
0

It does in BASIC. Try it for yourself on a real calc.

It does in Basic because it uses the Ti-OS font routines, which save to a Text Buffer.  With correlation, I'm using special routines that do not save to a text buffer, or else gibberish would appear when a Ti-Basic program ends. 
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #29 on: 13 November, 2010, 10:16:18 »
0

Oh ok but what if someone absolutely needs to use the homescreen while using Coorelation?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: 1 [2] 3 4 ... 12   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.564 seconds with 33 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.