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 - Deep Toaster

Pages: 1 ... 552 553 [554] 555 556
8296
TI-BASIC / Group memory check
« on: May 31, 2010, 03:40:00 pm »
Not necessarily a BASIC programming routine; just a helpful tip.

Sometimes, when I'm working on an on-calculator project which I occasionally "save" by storing the variables to a group, I need to check whether I already saved the current version. For example, I might be working on project "A", but want to switch to project "B", but don't know whether the group containing project "A" is the newest version or the old version from a few days ago. Instead of deleting and regrouping the files, which might be a complete waste of flash memory if the group was the newest version anyway, I found that, assuming the update changed the amount of RAM a variable takes up, the amount of memory a group takes up is equal to the sum of all its constituent (I like this word :)) variables, plus the length of the name of the group, plus 9. For example, if project "A" is comprised (I like this word also :)) of a program of 2624 bytes, a list of 12 bytes, and a string of 208 bytes, and if group *A takes up 2734 bytes, I'd know that I didn't save the updated variables (since 2624+12+208+1+9≠2734).

8297
TI-BASIC / Re: Pure TI-BASIC grayscale ASCII game
« on: May 31, 2010, 02:40:11 pm »
The link is here:
http://www.unitedti.org/forum/index.php?showtopic=3586&view=findpost&p=57778
(I think that's what you're talking about.)

8298
TI-BASIC / Re: Optimized Routine: Set Up Friendly Graph Window
« on: May 31, 2010, 11:51:31 am »
Code: [Select]
:ZStandard
:84→Xmin
:-72→Ymax
:ZInteger

Wow, that is optimized. Thanks.

Thats the window setting i use as well ^^ I find its most useful when mixing window based drawing and screen based drawing.  haha i remember when i used to use the Integer window setting, and i had to do math in order to draw accurately ;D

Me too. And before that, I just left the window in ZStandard and tried to work with the decimals. It was horrible.

EDIT: Especially for a game like checkers.

8299
Other / Re: I hope this kind of spambot never comes on SMF D:
« on: May 31, 2010, 11:45:28 am »
Wonder if two bots could be left alone in "conversation" with each other?

8300
TI Z80 / Re: Calcalca
« on: May 31, 2010, 11:26:03 am »
I made a program that does all of these conversions in the same way and a whole lot more other features that I used for chemistry.  I can show you the source code if you'd like, I never released it.

Sure. How much memory does it take up, just for reference?

By the way, does anyone know of a PEMDAS-style evaluator in BASIC? It'd be really helpful for me when I add the operators.

Doesn't the calculator already do this by default?

Yeah, but I wanted to see a BASIC program for the source code.

Good point, though. Probably no one would bother to make another one.

EDIT:
(I know I'm quoting myself here, but I'm too lazy to type it all out.)
Unfortunately, I couldn't figure out division, parentheses, or exponents, so I set it aside and continued with other projects. One day, I really needed to clear some ARC space, so I deleted the group where I had saved it (I called it CALCALCA). I finally started regretting this decision, and will start coding it again, but I really need help with the issues I mentioned above.

Never mind! The operations turned out easier than I thought, or at least easier than it seemed last year.

Thanks for offering your help, though!

UPDATE: Division, exponents, and 2/-1 all work! If all goes well, I can get the final version of this program at least onto my thumb drive by the end of the school year. :)

EDIT2: Wow, this is the first time xor has ever been useful to me.

UPDATE2: Now it supports all of the units listed above, with all SI prefixes from yocto to Yotta. Anyone think I'm overdoing this?

This is DEEP THOUGHT'S 42nd post!

8301
Other Calculators / Re: Programming Speed
« on: May 31, 2010, 11:13:23 am »
It's possible to program an entire Axe RPG in 5 minutes. You just need to use slowdowns and savestates.

J/k I used to type faster on calc than the computer. However now I would say both my typing speeds are even

16. You type on your TI calculator faster than on the computer.

http://www.unitedti.org/forum/index.php?showtopic=1326

If there were TI-83 keying lessons.

8302
General Calculator Help / Re: How to get virtual calculator?
« on: May 30, 2010, 12:34:35 pm »
I discovered that when I was editing OTBP Assembler (since my calculator, for some reason, treated the main program as a null variable). After I got it on my calculator, I had to go through the code and change every r<span size=6>1</span>.

And that reminds me: Has anyone notified OTBP about their assembler bug? I tried to post a report, but their website didn't let me register an account, for some reason.

8303
General Calculator Help / Re: How to get virtual calculator?
« on: May 30, 2010, 12:18:07 pm »
program, you mean like c# or ti-basic.  I recommend visual C#/C++/C for the computer (in windows) and for ti-basic: SourceCoder on cemetech.net is kinda good (I don't understand it that well, but I could get used to it), but the upside to SC is you can type out the code.  http://sc.cemetech.net/

SourceCoder's a nice BASIC programming tool, except that it doesn't support Y-vars. Whenever it takes a Y1, for example, it converts it to Y<span size=6>1</span>, which gets pretty annoying once you export it.

8304
TI-BASIC / Re: Extra tokens and token picker (with grayscale)
« on: May 30, 2010, 12:06:51 pm »
Yes, that is exactly it.

I think my program has all visual tokens with 1 symbol of width we need. AXSYMBZ has all non accessible from TI-OS menus like Catalogue and statistics and ATOKZ2.8xp has all of them.
What do you think about the order of tokens and usage?

The programs were shrunk a few more bytes on my calculator and is all I can reduce. After I receive feedback and write the ignoreme, I mean readme, I will release in ticalc since is one of the best tokens picker and the only with grayscale. ;D
The grayscale I note in the program is that the current selected token is a bit lighter than the other tokens on the screen.
Do you think there is any problem saying it has grayscale? People may bash me with it being flicker and not grayscale. (especially TI-83+ users) I though it is quite funny to say this has grayscale.

That's as close as you can get to TI-BASIC grayscale on my TI-83 Plus. The only time I've seen nearly flickerless BASIC grayscale was when I tried it out with a single pixel turning on and off with nothing else in the loop. Can't find a use for that, though. :)

8305
TI-BASIC / Re: Extra Characters Reordered
« on: May 30, 2010, 12:00:50 pm »
Aaaaaagh, everyone's talking about how great Axe is! REALLY want to download it, but I can't ... until Tuesday! Yay! :D

I still remember the first time I saw the description for Axe on ticalc.org. Back then, I actually thought that it was another library of some sort that no one would ever take the time to download just to play a game slightly better than pure BASIC. Whoops. ;D
Yeah it's great. It's the only alternative to TI-BASIC (for any calc) that I could understand, plus the way the language and doc works it sneakily introduces you to some stuff used in ASM like pointers and memory addresses (such as the ability to edit the RAM content directly).

Personally I do not judge the quality of a calculator game based on if it's pure-BASIC or lib-enhanced basic (such as xLIB games). I think it is just wrong and narrow-minded, as those people spent as much time working on their game and might have prefered to use libs to do stuff normally only doable in the hard-to-learn ASM. xLIB APP, for example, allows you to have grayscale. Plus for the most part, lib-enhanced games generally include the actual libs in the download file so no need to download them separately in most cases.

Not that I don't like lib-enhanced games. Some of them are really good, and do use the enhancements well. It's just I am very protective of my flash ROM space, and I don't want to download a bunch of libs just to run other people's games. There are too many popular libraries out there and it's not obvious which one is most popular. :/

Oh, ok. So they are accessible, just not to any form of BASIC programmer without direct assembly help?

And sweet :)

Oh, I get it! So _putC really displays the character, not the token? Sorry, I'm trying and failing to learn ASM.

8306
TI-BASIC / Re: Extra tokens and token picker (with grayscale)
« on: May 30, 2010, 11:39:20 am »
Ah, found it:

It's in this post:
http://www.unitedti.org/forum/index.php?showtopic=3586&view=findpost&p=57778
There's a similar image made by Weregoose here:

EDIT: Sorry about the size.
EDIT2: And the horizontal scrollbar. http://www.explosm.net/comics/2030/

8307
TI-BASIC / Re: Vertical Text Sprites
« on: May 30, 2010, 01:00:52 am »
On a related topic, what would you use for columns for horizontal text sprites that don't have a 3x5 token starting with that column? For example, what if you had a text sprite that absolutely had to have a column of 11001?

8308
TI-BASIC / Re: Extra Characters Reordered
« on: May 30, 2010, 12:32:50 am »
Aaaaaagh, everyone's talking about how great Axe is! REALLY want to download it, but I can't ... until Tuesday! Yay! :D

I still remember the first time I saw the description for Axe on ticalc.org. Back then, I actually thought that it was another library of some sort that no one would ever take the time to download just to play a game slightly better than pure BASIC. Whoops. ;D

8309
TI Z80 / Re: Mosaic
« on: May 30, 2010, 12:24:45 am »
Just to clarify: Does the app assemble a program built in the TI-OS editor, or does it have its own editor?

Also, how many flash pages are you planning for this to take up? The only reason I'm wondering is that with MirageOS, CalcSys, and a larger app on my calculator, as well as the dozen or so groups of programs I keep indefinitely in development, my calculator's flash ROM's going to be pretty crammed. :(

8310
TI-BASIC / Re: Extra Characters Reordered
« on: May 30, 2010, 12:06:52 am »
A pity. So this means that if we wanted to display, say, the alpha-on cursor, we'd have to draw the pixels individually? I was hoping it'd be easier.

Pages: 1 ... 552 553 [554] 555 556