Amiga.org
The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: blobrana on October 31, 2008, 06:34:19 PM
-
Commodore BASIC as a Scripting Language for UNIX and Windows - now Open Source
Read more (http://www.pagetable.com/?p=48)
-
I just tried it under OS X and it doesn't appear to work. Everything I enter, even simple print commands, result in syntax errors. I copied in their sieve program and it doesn't run either....
While it's cool to watch it startup withe 38911 free message, it sure doesn't beat Frodo as a 64.
-
The LLVM backend that exports C is not very well supported. You'd be better off exporting directly to llvm bitcode and then running it under LLVM's JIT compiler or static compile to PPC/x86.
Keep in mind also that this is just an exercise in porting by software algorithm rather than by hand. As the LLVM optimizer codes get better, so will the output codes. Frodo emulates the C64 chipset itself.
-
beller wrote:
I just tried it under OS X and it doesn't appear to work. Everything I enter, even simple print commands, result in syntax errors. I copied in their sieve program and it doesn't run either....
While it's cool to watch it startup withe 38911 free message, it sure doesn't beat Frodo as a 64.
It's case sensitive. Make sure you write your program in UPPER CASE (commands and variables).
for example, if you type
10 let a=10+1
20 print a
run
Then you'll get a syntax error
Type
RUN
and you'll get a syntax error in 10
edit 10 to read:
10 LET a=10+1
and you'll still get the syntax error in 10
edit 10 to read:
10 LET A=10+1
and you'll gte the syntax error in 20
It does work. At least it does on my HP laptop running Vista.
-
Case sensitive...ok, I'll give it another shot.
YES (oops forgot to turn off the caps lock) it works. I copied and pasted the sieve program and it ran fine. Now to port over Saucer Attack!