Using Greyscale for APPs
Moderator: Duck
But you can probably get to the API. It contains the same code chopped in convenient pieces. See sig.thegamefreak0134 wrote:I cannot get anywhere near the file for the package. Could I get someone to e-mail it to me? (thegamefreak0134@yahoo.com) Thanks!
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
- KermMartian
- Calc Wizard
- Posts: 549
- Joined: Tue 05 Jul, 2005 11:28 pm
- Contact:
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
Yay! Field trips to hotels with high speed are really usefull!
I got the file with Jim e's package. Now for the purposes ofmy whining I need you to assume I have two things: A blank APP, and his package alone.
Say I want to do something nice and simple like get a picture running. What all do I need to do to enable greyscale (keeping that APP part in mind) and how do I edit the stuff on the screen directly? (which buffer corresponds to which buffer, etc. etc.)
I think my main prob here is going to be actually getting the greyscale running. After that, I should have the actual drawing part down without too much grief. I am using TASM, so keep that in mind.
BTW, I think this is the last thing I need to actually begin work on the battle engine and world map for pokemon, meaning that I might have working screenshots soon after this is finished with. Thanks again so far!
-gamefreak
I got the file with Jim e's package. Now for the purposes ofmy whining I need you to assume I have two things: A blank APP, and his package alone.
Say I want to do something nice and simple like get a picture running. What all do I need to do to enable greyscale (keeping that APP part in mind) and how do I edit the stuff on the screen directly? (which buffer corresponds to which buffer, etc. etc.)
I think my main prob here is going to be actually getting the greyscale running. After that, I should have the actual drawing part down without too much grief. I am using TASM, so keep that in mind.
BTW, I think this is the last thing I need to actually begin work on the battle engine and world map for pokemon, meaning that I might have working screenshots soon after this is finished with. Thanks again so far!
-gamefreak
You may want to get your answer over at revsoft as they have a forum using Jims RGP.
-
- Calc King
- Posts: 2195
- Joined: Sun 27 Mar, 2005 4:06 am
- Location: sleeping
- Contact:
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
Someday this week, I am going to be brave and attempt to get the greyscale kit (Jim e's) running in an APP. Note that this probably won't work, and then I'll have questions. It wouldn't have taken so long, but I'm working on other projects as well.
Provided I do get it to work, I have a question. How do you do text with greyscale running? I just need black text. I realise I can get it going with sprites and a display routine, but it would be nice to be able to use the regular functions, if possible.
-gamefreak
Provided I do get it to work, I have a question. How do you do text with greyscale running? I just need black text. I realise I can get it going with sprites and a display routine, but it would be nice to be able to use the regular functions, if possible.
-gamefreak
Just use the normal vputs and have it write to plotsscreen rather than the display. You can set that with some flag. This will output the text in dark grey, which is probably good enough at first.
It's probably a good idea to write one routine that calls vputs and have all your code call that one routine, so that you'll only have to change things in one place when you want to display text in black.
It's probably a good idea to write one routine that calls vputs and have all your code call that one routine, so that you'll only have to change things in one place when you want to display text in black.
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
- thegamefreak0134
- Extreme Poster
- Posts: 455
- Joined: Mon 23 Jan, 2006 10:09 pm
- Location: In front of a Computer, coding
- Contact:
From the Ti-83 manual:
So:
res textwrite,(iy+SGRFLAGS)
Code: Select all
Note: The graph backup buffer is used as the "shadow"
for variable font writes. So when using this font
in the home screen make sure this flag is reset :
textwrite,(iy+SGRFLAGS)
Note: Variable font chars cannot be written to
the graph screen and its backup buffer
with one call. If the char needs to be written
to both the display and the graph backup buffer
then you must call the display routine once
with the TEXTWRITE flag reset to write to
the display, and once with the flag reset to
write to the buffer.
res textwrite,(iy+SGRFLAGS)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS