Registered: May 2011
Basic V2 to ML compilers|
I have tested these on a 11 block basic V2 program I coded to see the outcome & every compiler just flat out will not convert it correctly. No errors during conversion but when I load the program with ,8,1 and sys to the start everyone goes to a default screen color with a ready prompt.
Here are the ones I tested it with:
Boss Basic, Abacus Basic-64 (6502/6510) & MoSpeed
Reason I tried these out I wanted a faster conversion then having myself translate line by line to assembly. I can do about 90% of the translation but when it comes to strings I can't do it (never done strings in ML) so I end up coding a huge block where instead of strings I use memory locations. One routine is for a text parser that is 50 lines x 39 chars. Each line has a compare on the current line number and the current position.
!byte 0 ;when at 49 do not increase, when at 0 do not decrease
!byte 0 ;max 39 min 0
each line either terminates with max 39 chars or a zero
byte before the end (in case of a line break)
I have tried looking up doing variables in assembly with C64 Studio but can't find any documentation on it. Am I stuck with this type of conversion? Would like to trim it down.