Login
Search for:


Previous | Next

From: Chicken (all posts)
Date: 1998-11-26
Subject: Compiler stuff!
Howdydoodee...

> Does anybody have an utility that can help translate basic program to
> assembly? I need it!

Austrospeed Compiler does a pretty good job... It creates P-Code which still uses lots of BASIC/KERNEL routines. So don't expect MClike results. There are certain things you should be aware of...

First of all, the compiler usually needs all parameters, e.g.
CHAR 1,a,b,"text"
instead of CHAR,a,b,"text"

Including MC subroutines with parameters causes weird errors... Instead of SYS 9000,x,y,a... POKE that stuff

Remember to STA $ff3e after MC subs...

Additionally, there's some kind of HUNGARIAN ripp-off version of AUSTROSPEED... It looks a bit different but is basically the same program.
Furthermore, M+T published "MICRO BASIC COMPILER" a couple of years ago.
MICRO stands for the reduced vocabulary... This one can't even handle STRINGS. So you can't compile a standard BASIC program, like for speeding up an old bit-to-slow game. However, if using PEEKS and POKES you can create really fast subroutines. Well, this programming "style" is pretty close to reall MC :) Still, not as fast as...

Finally, I know another "tool"... RODNAY ZAKS's "Learning 6502 Assembly Language"!

Cheers,
Chicken

Copyright © Plus/4 World Team, 2001-2024