Grayscale Lib for TI83 Basic

Got a brilliant program idea? Let us know!

Moderator: MaxCoderz Staff

User avatar
dysfunction
Calc Master
Posts: 1454
Joined: Wed 22 Dec, 2004 3:07 am
Location: Through the Aura

Post by dysfunction »

Perhaps if someone could just modfy Ben Ryves' os hook demo, then you could have 3-levl grayscale even faster than Kevin's BGPP.
Image


"You're very clever, young man, but it's turtles all the way down!"
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

His TSR is basically an interrupt routine the jumps to $0038 when finished iirc.

There are problems with this as some tios routines install their own interrupt routines, or disable interrupts during execution etc ... so some of the tios stuff might cause the calc to crash :?.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

Ehm.. The Ti-OS shouldn't be able to make it crash. It could turn the interrupt off though. Running assembly programs with a tsr in the background could crash the calc.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Hhhmmm... Well all i know is that if i install a tsr then try to use some ti-os functions it crashes ... this is of course only in VTI, i havent tested on hardware :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

What functions, and where do you store the interrupt routine and the interrupt table? There are some saferams that are used with specific calculations, but savesscreen (apdbackup) and statvars (I think) should be quite safe.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Those are the 2 saferam areas i used, but now i think about it ... i may have tried it in the Flash Debugger and it worked ok. Perhaps its a VTI issue?
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
Timendus
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands
Contact:

Post by Timendus »

I'll ask Ben which he used when he comes online ;)
User avatar
DJ_O
Calc King
Posts: 2324
Joined: Mon 20 Dec, 2004 6:47 pm
Location: Quebec (Canada)
Contact:

Post by DJ_O »

the only interrupt based grayscale lib I would be able to use is a gray lib that doesnt use SafeRAM and Appbackupscreen, which are used by xLIB and Omnicalc
Image Image Image Now active at https://discord.gg/cuZcfcF (CodeWalrus server)
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

heh

Post by the_unknown_one »

And i'll try to make that greyscale routine :D
Gambit
Sir Posts-A-Lot
Posts: 252
Joined: Mon 21 Feb, 2005 5:34 am
Location: Laveen, Arizona

Post by Gambit »

Kevin wrote:the only interrupt based grayscale lib I would be able to use is a gray lib that doesnt use APD RAM and Appbackupscreen, which are used by xLIB and Omnicalc
Yeah, I got archived pictures to work, but it would be slow (see previous post). So we (Kevin and I) are thinking that it should be SE/84+ only, using the extra RAM pages on those models. But that wouldn't be good for the 83+ BEs...

@the_unknown_one: Go right on ahead :D
"If SOURCE is outlawed, only outlaws will have SOURCE."
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

uh

Post by the_unknown_one »

... Do u maybe think i can't do it?
Gambit
Sir Posts-A-Lot
Posts: 252
Joined: Mon 21 Feb, 2005 5:34 am
Location: Laveen, Arizona

Post by Gambit »

Of course you're able to. It's relatively easy, if you know how to set up a TSR. If you don't know, I suggest reading up on it: I recommend Joe's Interrupt Guide, findable on the maxcoderz.com front page documentation section.
"If SOURCE is outlawed, only outlaws will have SOURCE."
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

hm

Post by the_unknown_one »

Okay, thx man. Sorry for my reaction, but i was kinda pissed off/depressed at that moment, and i overreacted.
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Post by Jim e »

I wanna jump on this band wagon to, i'll make my own graylib except it will app and se only and fast!! :P
Image
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

:(

Post by the_unknown_one »

It's mine! MINE! :twisted: :evil:
Post Reply