Search found 74 matches

by waeV
Mon 15 Dec, 2008 1:59 am
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

Well that make for much cleaner code, thanks. I remember you could do something like that in QBASIC but not in Ti-Basic.

So are the following equivalent?

Code: Select all

if ans

Code: Select all

if ans != 0
by waeV
Sun 14 Dec, 2008 11:35 pm
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

Thanks for the link. I am confused, though, I am used to the following syntax: if ans != 0 and ans !=21 then ans -> k end If : is just the same as a new line, then what how come the following doesn't need a then, an end, or a logic operator for the first comparison? if ans and ans != 21:ans -> k
by waeV
Sun 14 Dec, 2008 6:47 am
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

Well, now it won't accept 2nd as input.

Does the ":" equate to a "then"?
by waeV
Sun 14 Dec, 2008 6:26 am
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

Awesome, that works and keeps the speed fast even when a key is held. However, I had no idea something like this could be done and still barely understand : does. Where can I read up on this sort of stuff? I also wanted a variable F that switches between -1 and 1 when 2nd is pressed, an I came up wi...
by waeV
Sun 14 Dec, 2008 4:55 am
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

Huh, I didn't know you could do that. How would you get it to continue in the direction of the keypress without needing to be held down?
by waeV
Sun 14 Dec, 2008 1:10 am
Forum: Programming Help
Topic: [TI BASIC] Optimizing
Replies: 167
Views: 172083

Re: [TI BASIC] Optimizing

I don't know if something like this has been posted, but I used this in my Tron Basic program and it sped up quite a lot: instead of getkey -> g if g = 24 then ... end if g = 25 then ... end I did this getkey -> g if g != 0 if g = 24 then ... end if g = 25 then ... end end The only problem is that t...
by waeV
Fri 12 Dec, 2008 5:01 am
Forum: BBC BASIC
Topic: Original Progress Thread
Replies: 119
Views: 257466

Re: Original Progress Thread

That makes sense. Took me a while to wrap my head around, but I understand how that's superior to Ti-Basic. It reminds me of assembly, actually (though less difficult). One thing I learned in QBASIC that I miss in Ti is the one-line if statement like you have in your example. That reminds me of anot...
by waeV
Fri 12 Dec, 2008 2:59 am
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

No no, if it wasn't for you I wouldn't even have thought of the idea! This has gotten me really interested in computer hardware rather than just the software end. But what do you think of running z80s in parallel? If one assembled it as a multi-core processor there would probably have to be some sor...
by waeV
Fri 12 Dec, 2008 2:56 am
Forum: BBC BASIC
Topic: Original Progress Thread
Replies: 119
Views: 257466

Re: Original Progress Thread

Wow, that looks great.

Does BBC Basic use loops or gotos more? If the former, I'd definitely use it over Ti-basic. If the latter, I still might check it out. Having 0,0 in the lower left corner is almost reason enough to use it.
by waeV
Fri 12 Dec, 2008 2:47 am
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

Yeah, the idea (to get SymbOS running) has kinda been losing steam. Thanks a ton for all your comments, I certainly hope to get SOMETHING up and running, if only a text-based something. Out of plain curiosity, what would you think of getting multiple z80s to run in parallel? I imagine one could get ...
by waeV
Fri 12 Dec, 2008 2:29 am
Forum: Off Topic
Topic: Replace Ti-OS?
Replies: 1
Views: 6936

Replace Ti-OS?

Is it possible to replace Ti-OS with something else? Not that'd it'd be particularly useful, but it'd certainly be interesting. My guess is that it's stored in ROM somewhere, which could be difficult to access. On the other hand, Ti does update the OS, so it's may be possible. Any thoughts?
by waeV
Fri 12 Dec, 2008 2:27 am
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

What sort of chips can be used as video chips?
by waeV
Thu 11 Dec, 2008 11:02 pm
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

You may have to source a clone of the video chip used in the MSX2/CPC/whatever hardware SymbOS targets if you can't write your own video driver. Hmm... but I wonder how that would interface with the LCD? This seems like it's getting harder every minute. Maybe I'll try and just get a linux shell run...
by waeV
Wed 10 Dec, 2008 11:09 pm
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

Wouldn't that interfere with SymbOS / whatever I manage to get on there?
by waeV
Wed 10 Dec, 2008 10:17 pm
Forum: Off Topic
Topic: DIY Z80 Computing
Replies: 53
Views: 115954

Re: DIY Z80 Computing

So will this driver be inherent in the wiring? Or will it be software?