
|
84799 packages online
|
|
 |
|
dev/lang/ti99basic.lha |
|
No screenshot available
|
Short: | TI-99/4A BASIC as a scripting language |
Author: | James Abbatiello, Michael Steil, port by uploader |
Uploader: | polluks sdf lonestar org (Stefan Haubenthal) |
Type: | dev/lang |
Version: | 1.0 |
Architecture: | ppc-morphos |
Date: | 2010-03-28 |
Download: | dev/lang/ti99basic.lha - View contents | Readme: | dev/lang/ti99basic.readme |
Downloads: | 1197 |
|
ti99basic - TI-99/4A BASIC as a scripting language
This is a version of Texas Instruments' BASIC as found in ROM on the TI-99/4A.
Note that this is not TI Extended BASIC. It is also not the same as the
TI-BASIC used in TI's line of calculators. You can use it in interactive mode
or pass a BASIC file as a command line parameter.
This source does not emulate TMS9900 code. The function of the original TMS9900
code is handled by native code. The Graphics Programming Language (GPL) code is
still run in a virtual machine just as it was on the original hardware.
Download
* 2009-08-12 Version 1.0 (Win32 binary, OS X binary, source)
Windows users should also install Microsoft Visual C++ 2008 SP1 Redistributable
Package.
Compatibility
It has been tested with
* Mac OS X 10.4/10.5/10.6 i386/x86_64/ppc (GCC 3.3/4.2)
* Ubuntu Linux 9.04 (GCC 4.3)
* Windows XP (Visual Studio 2008)
Other CPUs, operating systems and compilers should work, too.
Compiling
To build from source you will need a copy of Perl and the original TI-99/4A
ROMs. These files should have the following MD5 sums:
6cc4bc2b6b3b0c33698e6a03759a4cab *rom.bin
ed8ff714542ba850bdec686840a79217 *grom.bin
Other versions of the files are unlikely to work.
Usage
The specifics of the dialect of BASIC used by the TI-99/4A are available in the
original User's Reference Guide. The Cassette, Disk, and Sound devices are not
currently emulated. You can use tibasic in interactive mode by just running the
binary without parameters, or you can specify an ASCII-encoded BASIC program on
the command line. You can also use tibasic as a UNIX scripting language by
adding a hashbang line to your BASIC program and making it executable.
$ ls -l hello.bas
-rwxr-xr-x 1 user user 43 2009-08-06 23:55 hello.bas
$ cat hello.bas
#!/usr/bin/tibasic
10 PRINT "HELLO WORLD!"
$ ./hello.bas
HELLO WORLD!
Also included are 3 sample programs in the 'samples' directory. The first two
are sample games provided in the original manual; these expect upper-case input
at the prompts so it may be convenient to turn on Caps Lock when running them.
Filename Description
codebreaker.bas A clone of Mastermind
secretnumber.bas Guess the secret number but with an unusual twist
sieve.bas Prints out prime numbers from 1 to 120,000
Source
The latest source code can be found in the repository.
License
Feel free to use this project for any purpose, give credit if you like, and
send back improvements to the authors, if you like, so that others can benefit
from it. See source for license details.
Contact
James Abbatiello, Michael Steil
See Also
If you liked this you may enjoy cbmbasic - Commodore BASIC V2 as a scripting
language
|
Contents of dev/lang/ti99basic.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 492 964 51.0% -lh5- 7bf7 Mar 28 01:16 ti99basic/bin2c.pl
[generic] 149 202 73.8% -lh5- b0a9 Aug 7 2009 ti99basic/Makefile
[generic] 408 750 54.4% -lh5- 69fa Aug 7 2009 ti99basic/Makefile.win32
[generic] 2345 4938 47.5% -lh5- 27f7 Aug 12 2009 ti99basic/README.html
[generic] 5052 15346 32.9% -lh5- e564 Aug 12 2009 ti99basic/runtime_functions.c
[generic] 198 352 56.2% -lh5- f64d Aug 4 2009 ti99basic/runtime_functions.h
[generic] 584 1801 32.4% -lh5- 8f67 Apr 14 2009 ti99basic/runtime_regs.h
[generic] 127 267 47.6% -lh5- 0acc Apr 14 2009 ti99basic/runtime_types.h
[generic] 472 887 53.2% -lh5- cd65 Nov 15 2008 ti99basic/samples/codebreaker.bas
[generic] 391 773 50.6% -lh5- 1bb8 Nov 15 2008 ti99basic/samples/secretnumber.bas
[generic] 98 127 77.2% -lh5- f36b Nov 15 2008 ti99basic/samples/sieve.bas
[generic] 132249 290784 45.5% -lh5- bfbd Mar 28 01:22 ti99basic/tibasic
[generic] 176657 2066182 8.5% -lh5- 2d51 Mar 28 00:59 ti99basic/tibasic.c
[generic] 407 730 55.8% -lh5- 2091 Mar 28 01:25 ti99basic/tibasic.diff
[generic] 282 500 56.4% -lh5- 72ab Aug 5 2009 ti99basic/tibasic.rules
[generic] 354 884 40.0% -lh5- d341 Aug 4 2009 ti99basic/tibasic.sln
[generic] 1209 4897 24.7% -lh5- c8ad Aug 7 2009 ti99basic/tibasic.vcproj
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 17 files 321474 2390384 13.4% Mar 27 22:14
|
|
|
 |
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |