Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hot_Dog

Pages: 1 ... 105 106 [107] 108 109 ... 194
1591
ASM / Evaluating Ti-Basic expressions using the Parser
« on: November 17, 2010, 01:57:02 am »
This is for Correlation, for those of you who were going to ask  8)

Let's say HL points to the token currently being read by the Parser.  So if the Token is Output(, I increase HL to evaluate what the Row for the text will be.  Assuming the expression isn't just a number (it could be something like A + 1), how do I easily evaluate the expression?

1592
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 16, 2010, 04:43:08 pm »
Ah ok, thanks for the info. I wondered about drawing methods since a lot of people like to have white text on black backgrounds.

That won't be hard.  I can do that

1593
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 16, 2010, 03:02:16 pm »
Question: What kind of drawing methods will be supported? Will they be the same as xLIB? (overwrite, OR, XOR, AND, LCD update0?

Also will a 6x8 letter be the same size as a 8x8 one? (Since 1 byte is a multiple of 8 pixels)

Just like Text() and Output(), text drawing will be strictly overwrite.  Also, 6x8 fonts will be drawn as 6x8, just like on the homescreen.  However, they will be the same size in bytes as 8x8, if that's what you mean.

1594
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 16, 2010, 02:06:42 pm »
Quote from: Hot_Dog
"Wrap around" will be supported with Output, and clipping will be supported with Text.

Btw, the maximum font size will be 16 x 16.

Great! Tilemaps are going to be so easy with this...

A question: Can we have different sizes for different chars?

Not really.  In a 6x8 font, you can have an uppercase A bigger than a lower a, but they must both be 6x8.  If you want different sizes altogether, you will need to create more than one font.

1595
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 15, 2010, 03:07:00 pm »
o.O wut?  I am suddenly confused. when you install the hook, it modifies the Output and Text commands so that Strings are displayed using a separate font routine right?  And so if you try to display the letter L, it will look for the custom font L, and use that instead?

My question was if it supported replacement of all 256 characters, although it would seem so XD

What I meant is, when your program is all finished, the calculator will use return to the normal TI-OS font.  You won't see any custom characters.  You can have your own font, but you can't muck around with TI's font.

1596
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 15, 2010, 02:47:01 pm »
And you will be able to modify all 256 characters in the Ti OS font set?

Sorry, no.  You can only use your own font with up to 256 characrers.

1597
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 15, 2010, 12:32:32 pm »
Ah ok, sounds good. :)

Also, those fonts are really real fonts corresponding to respective TI-OS chars, right? I am asking this because it would be cool to be able to display custom fonts based on a string of characters, for example, like the character name, chosen at the game start.

Yes they are, if you create your font correctly.  Following the instructions in the manual, for example, you can make your own "L", your own "I", your own "N" and your own "K" to display the string "LINK" in customized graphics.

1598
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 15, 2010, 12:10:52 pm »
"Wrap around" will be supported with Output, and clipping will be supported with Text.

Btw, the maximum font size will be 16 x 16.

1599
Correlation / Re: Correlation: A New Project Aimed at Ti-Basic Programmers
« on: November 15, 2010, 01:54:59 am »
Output can now display any size font.  The difference is Output() displays in 8 rows, 16 columns, unlike the Text() 96 columns x 64 rows.

1600
Correlation / Re: Correlation Screenshots
« on: November 15, 2010, 01:16:36 am »
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?

Output() is used to display text as if you were making a homescreen game. 

Can you rephrase your question?  If you're asking about using the text buffer, the answer is no.  The text you use in your game will not appear on the homescreen when your Ti-Basic program exits.

No, I don't mean the buffers related to the screen. The homescreen font is technically 6*8 pixels but only 5*7 is used for the actual font leaving the row of the far right and the bottom empty as a "buffer" row/column. It's the row/column that will erase things on the graphscreen if used (with the little font its the top row and right column). I was just curious if we were able to use those unused rows/columns or if we are still restricted to the 5*7 part.

You can indeed use those columns and rows as 6*8.  In fact, you have a choice as to "6*8" or "5*7", and it all comes down to how you design your font.  But I can't explain it right now without any images.

1601
General Calculator Help / Re: Pgrm File Format
« on: November 15, 2010, 12:58:05 am »
If you don't mind using C#, I have a library for modifying all sorts of files, including .8xp.  Let me know if you are interested.

I really appreciate that!  But I think I've got it made for right now.  Thanks, though :)

1602
Correlation / Re: Correlation Screenshots
« on: November 15, 2010, 12:47:06 am »
So every time I see you talk about the Output( font you say 6*8. So does that mean that we will be able to use the buffer row and column?

Output() is used to display text as if you were making a homescreen game. 

Can you rephrase your question?  If you're asking about using the text buffer, the answer is no.  The text you use in your game will not appear on the homescreen when your Ti-Basic program exits.

1603
Correlation / Re: Correlation Screenshots
« on: November 15, 2010, 12:32:26 am »
This is just a thought for when this finally comes out, if you haven't thought of it yet. But since this is coming with a computer application too maybe it'd be handy to have a step-by-step image tutorial on how to do the computer stuff (that you or just someone makes) that way things might not get confusing in just a text tutorial. Just a thought :)

Looks great though :) Can't wait :D

If you understood ASM from my tutorials, you'll certainly understand Correlation from the .pdf help file :D  In other words, I'll be sure to include that

Nice Hot Dog. What will be this program dependencies by the way? Also, now that I see we can specify the height/width of fonts, will we eventually be able to use fonts of any size?

The program requires .NET, though I'm going to use Mono to get it to work on Mac and Linux.  For worst coming to worst, I'll have a detailed section in the help file on how to manually create a font.

You can use fonts of any size, though Output() will be strictly 6x8.  Also, you can only have one font size per font file.

1604
General Calculator Help / Re: Pgrm File Format
« on: November 15, 2010, 12:08:48 am »
i believe the first two bytes are the number token bytes in the program, and then the rest is the data of the program.

When I look at the binary/hex code for an .8xp file on the computer, there's more at the beginning than that.

On the calc it just the two size bytes and a mess of data, though.
* Deep Thought wonders what this is for

probably for Correlation project.  ;)

Exactly.  I just finished turning bmp fonts into .8xp files

1605
Nice work, apcalc!

Pages: 1 ... 105 106 [107] 108 109 ... 194