Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Happybobjr on July 24, 2010, 03:35:29 pm

Title: [IDEA] backround
Post by: Happybobjr on July 24, 2010, 03:35:29 pm
Is there anyway on the ti-84 to costom make a backround image for the homescreen?
i got the idea while reading the irc... :P
Title: Re: [IDEA] backround
Post by: calcdude84se on July 24, 2010, 03:39:21 pm
It might be possible, but the best way would be to install a custom interrupt (or something more permanent, like a hook to enable said interrupt, because custom interrupts get killed often) to draw the image behind every space character on the home screen. (With possible exceptions for the current line)
When I have some time, I'll look into how practical this could be :)
Edit: A possible problem that comes to mind is that the hook might not be enabled during a program, if that's important. But I'll look into it.
Title: Re: [IDEA] backround
Post by: Builderboy on July 24, 2010, 03:40:55 pm
Hmmm do you mean have it when you boot up the calc?  Or like its always there when you are typing and you cant get rid of it at all?

EDIT: Ninja'ed with a more competent response :P
Title: Re: [IDEA] backround
Post by: Happybobjr on July 24, 2010, 03:41:08 pm
cool thanks, could you explain to me a little about and how to make hooks and iterupts?

edit: it is easy to do it when you boot up the calc due to ti's startup app.  I want to know how to make the backround in the homescreen always a custom picture :)... also, i wouldn't mind if anyone has a ram clear ti picture for 84 that i can borrow and put on my calc.. (evil thoughts :})
Title: Re: [IDEA] backround
Post by: jnesselr on July 24, 2010, 03:42:35 pm
You have to do it in ASM.  Look here:
http://www.ticalc.org/archives/files/fileinfo/168/16870.html
Title: Re: [IDEA] backround
Post by: Happybobjr on July 24, 2010, 03:43:53 pm
coool i'll try to learn.
Title: Re: [IDEA] backround
Post by: calcdude84se on July 24, 2010, 03:46:11 pm
I don't have much experience with hooks, but wikiti can be useful here.
For those and interrupts that stay alive after the setup program ends (it might have to be an app, I'm unsure), you'll definitely have to write it in ASM. (Especially because drawing the image will involve writing directly to the LCD)
AFAIK, a hook is just a routine the OS calls before it does a certain thing, like get a key, for example. These are pretty simple to set up (writing somewhere in RAM or maybe a bcall)
As for the interrupts, yeah, you'll probably end up with a hook (especially if it's an app). But if it's a program, then the basic idea is to use some saferam (like appbackupscreen or statvars) to store the code for handling the interrupt and most likely for the entire routine as well.
Title: Re: [IDEA] backround
Post by: DJ Omnimaga on July 29, 2010, 01:34:30 am
I recall seeing a program like this before. It displayed a grayscale background on the home screen. I forgot the name and who made it, though. It was specifically for backgrounds.
Title: Idea - Backgrounds
Post by: ztrumpet on October 01, 2010, 06:24:22 pm
Let's say you found this really awesome pic and want it to be the background of your calc during the normal TiOS routines like solving math problems, or graphing equations?
Wouldn't it be cool if there was a program to display on of the Pic vars in the background of calculations and stuff in grey (3 level greyscale), so the normal black and white would be used as normal?
Is this possible?
I think it is, but it would have to be in Asm.  Can someone try this? :)  Thanks for learning of my idea. ;D

Here's a mock up of what it could look like:
Title: Re: Idea - Backgrounds
Post by: meishe91 on October 01, 2010, 06:33:33 pm
I feel like there was a topic started by someone else who had this same idea...let me see if I can find it.

Edit:
Ah yes, it's not exactly the same I guess but very similar. Here (http://ourl.ca/6455) it is.
Title: Re: Idea - Backgrounds
Post by: nemo on October 01, 2010, 06:39:46 pm
there was. i think an ASM-er said it would have to be written as a hook.
Title: Re: Idea - Backgrounds
Post by: DJ Omnimaga on October 01, 2010, 06:49:58 pm
I have tried to search the program that did that on ticalc.org but couldn't find it :( (I saw it around 2001-03)
Title: Re: Idea - Backgrounds
Post by: alberthrocks on October 01, 2010, 06:59:04 pm
I'd love to this happen :D
Maybe you can base it off of this program?
http://www.ticalc.org/archives/files/fileinfo/168/16870.html
(And yes, source is included - the file is a Z80 itself.)
Title: Re: Idea - Backgrounds
Post by: meishe91 on October 01, 2010, 07:02:41 pm
What if someone could change the running indicator thing to like a cool indicator instead of a little bar that goes up constantly, that'd be pretty cool. (That program gave me that idea.)
Title: Re: Idea - Backgrounds
Post by: Deep Toaster on October 01, 2010, 07:03:22 pm
I feel like there was a topic started by someone else who had this same idea...let me see if I can find it.

Edit:
Ah yes, it's not exactly the same I guess but very similar. Here (http://ourl.ca/6455) it is.

I seriously thought this was a necropost to that topic :P

Anyway, wouldn't it be slow to have such a large pic being alternated while someone's also using the home screen, though? Especially with OS 2.53MP x.x

EDIT: meishe91, I think that was one of the 1000 Signs :D
Title: Re: Idea - Backgrounds
Post by: alberthrocks on October 01, 2010, 07:11:45 pm
I feel like there was a topic started by someone else who had this same idea...let me see if I can find it.

Edit:
Ah yes, it's not exactly the same I guess but very similar. Here (http://ourl.ca/6455) it is.

I seriously thought this was a necropost to that topic :P

Anyway, wouldn't it be slow to have such a large pic being alternated while someone's also using the home screen, though? Especially with OS 2.53MP x.x

EDIT: meishe91, I think that was one of the 1000 Signs :D

Not that bad, since you're drawing directly to the screen, and not using OS 2.53MP's text display functions.
(And btw, setting the option to CLASSIC in [Mode] will make printing faster.)

And a special indicatior - nice :D But I'm not too sure what you can put there....

And here's the source code for the picture drawing:
http://www.ticalc.org/pub/83plus/asm/source/weird.z80
Title: Re: Idea - Backgrounds
Post by: DJ Omnimaga on October 01, 2010, 07:20:35 pm
Wow I remember that program. I wonder if bad stuff can happen when going at some places in the TI-OS? I remember someone made an interrupt-based grayscale routine to use in BASIC games in 2005, but it was extremly unstable due to conflicts with the TI-OS
Title: Re: Idea - Backgrounds
Post by: Deep Toaster on October 01, 2010, 07:22:14 pm
And a special indicatior - nice :D But I'm not too sure what you can put there....

Binary counter? That's better than a floating ribbon, at least.
Title: Re: Idea - Backgrounds
Post by: alberthrocks on October 01, 2010, 07:24:52 pm
And a special indicatior - nice :D But I'm not too sure what you can put there....

Binary counter? That's better than a floating ribbon, at least.

Actually, an idea: a little dot bouncing back and forth. :)
Title: Re: [IDEA] backround
Post by: ztrumpet on October 01, 2010, 07:46:32 pm
I merged the two topics; I didn't realize someone had the same idea. :)
Title: Re: [IDEA] backround
Post by: Deep Toaster on October 01, 2010, 07:49:06 pm
And a special indicatior - nice :D But I'm not too sure what you can put there....

Binary counter? That's better than a floating ribbon, at least.

Actually, an idea: a little dot bouncing back and forth. :)

Hey, that actually would look better. Kinda like the Ubuntu writing-to-disk screen, or SmartView's file-loading popup. Yeah, that'd be nice.
Title: Re: [IDEA] backround
Post by: Happybobjr on October 01, 2010, 09:05:40 pm
I feel like there was a topic started by someone else who had this same idea...let me see if I can find it.

Edit:
Ah yes, it's not exactly the same I guess but very similar. Here (http://ourl.ca/6455) it is.

I seriously thought this was a necropost to that topic :P

Anyway, wouldn't it be slow to have such a large pic being alternated while someone's also using the home screen, though? Especially with OS 2.53MP x.x

EDIT: meishe91, I think that was one of the 1000 Signs :D

sort of, it was Rick Astly video that replaced the indicator if memory serves correctly
Title: Re: [IDEA] backround
Post by: Deep Toaster on October 01, 2010, 09:25:31 pm
Yup. Wonder if that's really possible :D
Title: Re: [IDEA] backround
Post by: FinaleTI on November 05, 2010, 08:38:15 pm
Sorry for the necro, but I believe the found the answer to this:
I recall seeing a program like this before. It displayed a grayscale background on the home screen. I forgot the name and who made it, though. It was specifically for backgrounds.
It's about 3/4's of the way down this page (http://www.junemann.nl/maxcoderz/viewtopic.php?f=24&t=1904).
Title: Re: [IDEA] backround
Post by: DJ Omnimaga on November 05, 2010, 09:56:12 pm
Oh right, yeah, it was a pi symbol. Ben got a few of his programs removed from ticalc.org a while ago so that's why I couldn't find it.
Title: Re: [IDEA] backround
Post by: MRide on November 05, 2010, 11:01:14 pm
This could be interesting.  Not exactly useful, but fun and entertaining.
Title: Re: [IDEA] backround
Post by: meishe91 on November 05, 2010, 11:05:05 pm
Sorry for the necro, but I believe the found the answer to this:
I recall seeing a program like this before. It displayed a grayscale background on the home screen. I forgot the name and who made it, though. It was specifically for backgrounds.
It's about 3/4's of the way down this page (http://www.junemann.nl/maxcoderz/viewtopic.php?f=24&t=1904).

Where is it? I don't see what or see a screenshot of it.
Title: Re: [IDEA] backround
Post by: MRide on November 05, 2010, 11:07:45 pm
I don't think there is a screenie, but it's mentioned in one of the posts.  benryves made it, I think.
Title: Re: [IDEA] backround
Post by: meishe91 on November 05, 2010, 11:32:09 pm
Ah ok.
Title: Re: [IDEA] backround
Post by: Madskillz on November 06, 2010, 12:13:18 am
Yeah Ben made it. Cant remember where the program is but heres a picture of it:
(http://benryves.com/images/screenshots/piback.gif)
Title: Re: [IDEA] backround
Post by: willrandship on November 06, 2010, 12:34:41 am
That's really cool, too bad about the OS ram thing. Did you see the multithreading they had there though? cool!
Title: Re: [IDEA] backround
Post by: meishe91 on November 06, 2010, 02:17:49 am
Yeah Ben made it. Cant remember where the program is but heres a picture of it:
(http://benryves.com/images/screenshots/piback.gif)

Wow, that looks really sweet.
Title: Re: [IDEA] backround
Post by: DJ Omnimaga on November 07, 2010, 02:56:34 am
I can't imagine how hard it must be to have interrupt-based grayscale while the TI-OS is running. So much stuff to watch out for ???
Title: Re: [IDEA] backround
Post by: AngelFish on November 07, 2010, 03:03:53 am
I think that was part of the problem with it. It didn't perfectly avoid TI-OS, so TI-OS occasionally crashed because of it.
Title: Re: [IDEA] backround
Post by: DJ Omnimaga on November 07, 2010, 03:13:09 am
Yeah. I remember after I released Reuben Quest: The Lost Mirror, someone e-mailed me a program he was working on that did something similar, for use in BASIC games for grayscale, supposedly better than Omnicalc's grayscale (at the time xLIB APP didn't exist), and it kept crashing all the time.
Title: Re: [IDEA] backround
Post by: Deep Toaster on November 07, 2010, 12:17:27 pm
Wow, backgrounds are possible... And it looks great! Too bad it crashes.
Title: Re: [IDEA] backround
Post by: MRide on November 07, 2010, 02:39:05 pm
Is it possible to do it stably?
Title: Re: [IDEA] backround
Post by: DJ Omnimaga on November 07, 2010, 03:40:23 pm
That's a good question. I think custom interrupts would have to be used as well as RAM areas that are never used during TI-OS execution.
Title: Re: [IDEA] backround
Post by: Deep Toaster on November 07, 2010, 10:01:55 pm
So it would get killed by certain routines, right?

Unless there was a hook to reenable that interrupt...

We really should try :D