1801
TI Z80 / Re: Tokens
« on: November 02, 2010, 08:29:00 pm »
By the way, you might want to consider messing around with the main text box properties a bit
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. 1801
TI Z80 / Re: Tokens« on: November 02, 2010, 08:29:00 pm »
By the way, you might want to consider messing around with the main text box properties a bit
1802
TI Z80 / Re: Tokens« on: November 02, 2010, 07:22:43 pm »
To read and write to pointers in Axe, you have to enclose the pointer value in curly brackets. I believe Quigibo uses curly brackets on some of his commands, like nib{, because they take only one argument, and that argument is a pointer.
By the way, the Celtic III section seems to be malfunctioning. I accidentally stumbled into this when loading an Axe source file, because Axe uses the command det( followed by a number to allocate data sections in the compiled program. I believe all the Celtic III commands are in the format of det(number,stuff) whereas Axe uses the command in the format of det(number). Even though there is no comma after the first digit in det( calls in the Axe source file, it seems that it is being somehow intercepted by the Celtic III commands. However, because there is no comma, it doesn't actually match a token, and all it ends up doing is deleting the det( token and the first digit following it. EDIT: It appears that this error also applies to other shell extension commands in the xml file. 1803
TI Z80 / Re: Tokens« on: November 02, 2010, 06:10:31 pm »Wow, that's awesome. Thanks so much, Runner. The Axe commands I'll end up taking out into a separate Axe.xml file, but for now this is perfect. There are some things I'll change, and I'll have to look over it a little more in depth, but this is awesome. Out of curiosity, what were the duplicate tokens, and what were the missing ones? $6338-$633F and $7E00-$7E07 were the only duplicates I think ($7E00-$7E07 were the correct ones). You missed $6237-$623C, $BBED-$BBF5, and I think few scattered others. 1804
TI Z80 / Re: Tokens« on: November 02, 2010, 05:25:25 pm »
Ok, here's the modified xml file. Changes include:
Primary strings can all be typed on a keyboard. Alternate strings are sorted in the following manner: Alternates that can be typed on a keyboard are first. "Pretty" alternates appear next. "Alternates" is plural because tokens that have more than one "pretty-ifiable" characters (e.g. chi^2cdf() are broken down into all possible pretty/non-pretty combinations (e.g. χ^2cdf(, chi²cdf(, and χ²cdf(). These are sorted in increasing order of "prettiness." Following any "Pretty" alternates come Axe Parser alternates, sorted according to the preceding rules. 1805
TI Z80 / Re: Tokens« on: November 02, 2010, 04:43:58 pm »You're not the first person to mention that, actually. There's obvious going to be some level of re-learning that needs to be done in order to use this correctly, and the idea is that you should be able to enter everything in on the keyboard. I can think of a few ways to do this so that it's not terribly tedious. I'll think about how to implement it some more, and see if I come with anything I like. In the meantime, if you could upload your changes of the .xml file, that would be awesome! I'm just making some slight changes to it, I added the Axe Parser token alternates but forgot to specify that that's what they actually were, so I'm adding comments to signify Axe tokens. EDIT: And following the idea of "Pretty" tags, do you think it would be possible to make something like an "Axe" tag? That way if you're editing an Axe source file, the tokens can default to the Axe token equivalences. 1806
TI Z80 / Re: Tokens« on: November 02, 2010, 04:32:19 pm »
merthsoft, do you think you could add an option to pretty-ify text? I went through the whole xml file and added lots of token alternates using non-keyboard characters that look much nicer and more visually realistic to the original tokens. Using more realistic tokens (such as Σx² instead of [Sigmax^2]) makes programs much easier to read. If I swapped the alternate strings with the main strings, or if you added some sort of "Pretty" alternate string form to the xml, could you add some sort of feature that would convert all tokens into their "Pretty" versions? Perhaps even as you type?
Ah ok, maybe I got confused with a different URL. I swear he posted some of his own stuff from there, tho. Nope, never posted there. 1807
ASM / Re: A GetKey that doesn't wait?« on: November 02, 2010, 10:24:10 am »It's... a bit complicated. Maybe it would help if you could explain what exactly you're trying to do. I just want to make a program that can work while waiting for key inputs and accepts key inputs in the A/keyExtend format. 1808
ASM / Re: A GetKey that doesn't wait?« on: November 01, 2010, 11:57:23 pm »
Dang, I have no idea how to use hooks... Anyone know of a good guide explaining how hooks work? Or anyone want to post a whirlwind tour of hooks?
1809
ASM / A GetKey that doesn't wait?« on: November 01, 2010, 11:43:36 pm »
Is there such a thing? I know there are things like GetCSC and direct port input, but I'm wondering if GetKey has a non-waiting equivalent that also uses the A/keyExtend output format.
1810
ASM / Re: Some general Questions« on: November 01, 2010, 10:39:23 pm »Straight from the zilog manual for add hl, <register>: Wait, what!? Sean McLaughlin, you lied to me! 1811
TI-BASIC / Re: Quadratic Formula« on: November 01, 2010, 09:42:07 pm »But only one may win... Oh really? Code: [Select] :ClrHome
1812
TI-BASIC / Re: Quadratic Formula« on: November 01, 2010, 09:30:33 pm »(sorry, but I had to optimize a little )And I has to optimize it more. Also, your code doesn't work; it would have to be √(B²/4-AC)/A that works? In which case... Code: [Select] :ClrHome
1813
ASM / Re: Some general Questions« on: November 01, 2010, 09:12:51 pm »And here is the best one: (I think by calc84?) I debated posting that, but that addition will leave some flags (s, z, and n) with incorrect values. 1814
TI-BASIC / Re: Quadratic Formula« on: November 01, 2010, 09:05:06 pm »(sorry, but I had to optimize a little )And I has to optimize it more. Also, your code doesn't work; it would have to be √(B²/4-AC)/A Two can play the optimization game. Code: [Select] :ClrHome
1815
Axe / Re: 8xp to text converter« on: November 01, 2010, 06:45:19 pm »I wonder if that old thing works under Windows 7 64 bit... I used it a lot back then, but I had XP. It was already pretty unstable as it was designed for Windows 95, 98 and NT 4.0. I use TI's Program Editor for most of my program writing, and I'm running Windows 7 x64 |
|