ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: First BASIC to assembly compiler released

First BASIC to assembly compiler released
Posted on 3 January 1999, 00:59 GMT

David Hart has released the TI-BASIC Compiler v0.2 Alpha for Windows 9x/NT. This program will compile tokenised TI-BASIC programs into assembly programs for the TI-86. Currently there is only limited command support and most graphing commands are not supported. Compiling a program will increase its size by 20-40%, which is quite large when you compare BASIC and assembly programs. David will continue development on this program if he gets enough support (which he probably will).

 


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: First BASIC to assembly compiler released
Morpheuss  Account Info
(Web Page)

who can help me to convert 83+ programs into machine speech to speed it up

     22 June 2000, 18:28 GMT

Re: First BASIC to assembly compiler released
Helter
(Web Page)

Sure ! Go for it. I didn't even know that was possible, and I own a TI-86 :-) That's great. Give a call if you need any help (Dunno how I can help though). It's a strange idea but it's a good one.

Go for it ! :-)

     3 January 1999, 01:11 GMT

Re: First BASIC to assembly compiler released
David

What does "tokenise" mean? If this converts assmebly to BASIC, then I am overjoyed.

     3 January 1999, 01:16 GMT


Re: Re: First BASIC to assembly compiler released
Bryan Rabeler
(Web Page)

When you execute a program on the TI-85 and TI-86, the calculator tokenises it before it actually runs. This process converts the program so it runs a little faster on the calculator. When you edit a program, it becomes un-tokenised.

     3 January 1999, 01:27 GMT


Re: Re: Re: First BASIC to assembly compiler released
Rudi.83g  Account Info

An example: If you press the sin key, the calculator writes "sin(". This is a token as you can see when you try to remove the i on your calculator. You will fail because the "sin(" is a token (like one character) and so only takes up one byte. Also, you cannot write SIN( with your alpha keys because of this.

     21 June 2000, 11:19 GMT

Re: First BASIC to assembly compiler released
Stephen O''Connor

Finally an easy way to write ASM! I downloaded the ASM software and it is like I am 2 years old (I am not stupid, just no experience). I can't wait until the final product.

     3 January 1999, 01:34 GMT

Re: First BASIC to assembly compiler released
Adam Gross

Am I the only one who has gotten an installation error? When I tried to install it. The error was because it tried to install to a directory with the wrong slash (i didn't type the directory in, the install program did).

     3 January 1999, 02:49 GMT

Re: Re: First BASIC to assembly compiler released
David

I had the same problem. That freakin' example directory. The first words from my mouth were "What the hell?!" I was so eager to try this program, too. I tried to install on 3 computers: P100, PPro200, and PII400. It didn't install on any of them.

     3 January 1999, 03:20 GMT


Re: Re: Re: First BASIC to assembly compiler released
Helter

had the same problem because of the slash, guess it's a VERY alpha version :)

     3 January 1999, 05:42 GMT


Re: Re: Re: Re: First BASIC to assembly compiler released
David Hart
(Web Page)

Yeah, I'm sorry about this. The example was a last minute addition to the package, and I was a bit rushed at the time and forgot to test it. It works fine if you do a Custom installation without the Examples, but I've also put a corrected version (0.2a Alpha) on my totally unfinished web site (select the above link to download it). Hope this is the only major bug!

     3 January 1999, 12:45 GMT


Re: Re: First BASIC to assembly compiler released
dan the man

i got the same error, too. i even tried to make the directory before i installed, but it still didnt work

     10 January 1999, 20:02 GMT

Nifty
Nifty Beano

Go for it. And while your at it, make it work for 89 programs (If you know 68k).

     3 January 1999, 02:55 GMT

Re: Nifty
Moi

I Agree....!!!

     3 January 1999, 14:09 GMT


Re: Re: Nifty
David Hart

I would if I had a TI-89! Seriously, though, if I can get some Alpha testers with TI-89s I will try to make the compiler support the TI-89. I know a bit of 68000 assembly, so I may be able to get it to work. Contact me if you'd like to help with testing.

     3 January 1999, 16:38 GMT


Re: Nifty
Warren720

Don't forget us 82/83 owners!

     4 January 1999, 08:06 GMT

Re: Re: Nifty
David Hart

The next version will include TI-83 support. I won't be adding TI-82 support because I don't know the addresses of any of the floating-point op-calls, and I think they vary from one ROM version to another. Incidentally, all future versions will allow a TI-BASIC program written on one calculator to be compiled to assembly that will work on any of the other supported calculators.

     4 January 1999, 19:20 GMT


Re: Re: Re: Nifty
!

Thats great! I have a TI-89 and a TI-83. With the 89's memory, this could really be usefull.

     5 January 1999, 02:33 GMT


Re: Re: Re: Re: Nifty
Skylight

Yes, I agree too! I have a TI 89 and I was dreaming of that soft. Now, it's made ! cOOl !

     15 January 1999, 20:16 GMT


Re: Re: Nifty
85 User

And the 85! It may be old, but it still rules!!!
(no offewnce intended for any calc users except for casios, who wouldn't be reading this anyway unless they see the error of their ways 8-)

     7 January 1999, 06:07 GMT

Re: First BASIC to assembly compiler released
lexlugger

BASIC is for quiche eaters who don't know what an opcode is.

     3 January 1999, 03:18 GMT

Re: Re: First BASIC to assembly compiler released
S.T.L.
(Web Page)

Fine, goofus, then port my program PRIME6 to assembler. You'll have a hell of a time with 64-bit math, I'll tell you that. :-D
-*---*-------
S.T.L.

     3 January 1999, 07:04 GMT

Re: Re: Re: First BASIC to assembly compiler released
Brandon Sterner

handling 64 bit numbers is no big deal in asm if you use op1 with rom calls

     3 January 1999, 18:58 GMT


Re: Re: Re: Re: First BASIC to assembly compiler released
lexlugger

You can also use instructions such as ADC to add big numbers together (size only limited by available memory).

     4 January 1999, 03:42 GMT

Re: Re: Re: First BASIC to assembly compiler released
David

You really like your PRIME6 program, don't you? I've heard you mention it quite a few times before in other comments.

     4 January 1999, 04:08 GMT


Re: Re: Re: First BASIC to assembly compiler released
Jeremy

Really?! Why?
It shouldn't be a problem for anybody who knows at least a little math and asm.

     4 January 1999, 13:53 GMT

watch it
KAKE

hey, watch it mister. there are some of us out here who RECOGNIZE the place of each kind of language. for example, it's damn hard to whip up a program to do 23 identical (except for the numbers) problems during a math test in asm. no, actually it's impossible. but then again, ever seen MarioBasic86? i think not. remember, 70% of calculator owners don't have a clue when it comes to programming.

-KAKE

     4 January 1999, 08:25 GMT


Re: watch it
lexlugger

I don't have that problem since my teacher does not allow programmable calculators during tests :-(

     6 January 1999, 01:11 GMT

hehe
KAKE

just that,
hehe.
some people have all the luck. my math teacher was a cia fellow who lost most his hearing. he has an 82 and doesn't know shit about calcs. hell, we've even shared calcs, and HE SAW IT!!

hehe.

that's all.

-KAKE

     6 January 1999, 04:55 GMT


Stop whining about BASIC
Nathan Ladd

You don't care because of your teacher, but you have no problem flaming on BASIC programmers? BASIC is powerful language with heavy MATH CAPABILITIES. Writing math formulas in ASM is so incredibly superfluous that the idea is simply proposterous. This program provides the great service of compressing those BASIC program, and all you can do is mock it? Go ahead, write an ASM formula that can do 23 functions at one time. But do me a favor-track how much time it takes you. I am an ASM programmer soon-to-be (I know the language, but am waiting for a Graph Link) and I will use it for programming games for sure. It's better. You are just deriding BASIC programmers to put you in an elite group of people who stand out not for their own expertise, but their ability to convince themselves and hopefully others that another group of people is worse. I don't mean to really offend you, but I consider myself in a different group of programmer alltogether.

     6 January 1999, 05:18 GMT


Re: Re: First BASIC to assembly compiler released
temporalwizard

That's not nice

Like someone up above said, most of the people that own TI calcs have no clue what so ever. I've seen people in my physics class who can't even do a calc to calc link. (lots of them)
I love programing BASIC. It's fun and keeps my brain working during all my boring classes. I'd like to learn ASM, but guess what, I don't happen to have a very good computer. I have a 10mhz Mac LC II with 4 mb RAM that my electronics teacher gave to me. Unlike some people I don't have parents who can afford to go out and buy me the most up to date computer on the market. I have a job that I have to go to in order to pay my rent and buy my food. And guess what else I also paid for my own calcs, all three of them. (85, 86, & 89) I have to use my school's computer labs and the library in order to get on the internet.
So you see maybe you should think before you speak. Certain people may have different circumstances than others. I'm sure I could learn ASM and understand it very well. I would do it at school if I had some extra time, but the school has pretty much all Macs anyway so I'm kinda SOL.

Anyhow my point is don't be so uppity.
temporalwizard

     7 January 1999, 01:36 GMT

Re: Re: Re: First BASIC to assembly compiler released
static

u should be greatful that u can use the schools computer lab for the internet, its atleast 20 times better then what u would get at home and its free to

     25 January 1999, 05:22 GMT


Re: Re: Re: First BASIC to assembly compiler released
mad_ian  Account Info

Mac LC II's run at 16 MHz usually...
I have Mac (a couple actually), and although I DO have a new G4, my previous one was a mac LC 630 that I've had for years...although it's a bit harder to find the stuff to do it, programmeing for TI-calcs on a Mac is not any harder than on a PC...In my room, soon I'll have the G4 to do graphic work and page layout and PPC programming, and a mac SE/30 to do the TI stuff (it also gets all my e-mail and take messages for me)
Why use an old computer you ask? If you set it up right, it's faster than new ones...Why use a computer with 128 megs of RAM when the programme you're useing uses 2?

and if anyone knows how I can do a ROM dump on a mac..please e-mail me! mad_ian@excite.com

-Donald

     12 October 1999, 17:17 GMT

1  2  3  4  5  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer