Acorn Arcade forums: Programming: BASIC reader
|
BASIC reader |
|
(08:32 24/5/2002) Chris (08:55 24/5/2002) rich (08:58 24/5/2002) Hertzsprung (13:58 15/6/2002) bmsh (09:25 24/5/2002)
|
|
Hertzsprung |
Message #5122, posted at 08:32, 24/5/2002 |
Unregistered user
|
Does anyone know of a program that can convert Btokenised BASIC files into readable text on the PC? If not, does anyone know how to convert the BASIC tokens back into text? |
|
[ Log in to reply ] |
|
Chris |
Message #5123, posted at 08:55, 24/5/2002, in reply to message #5122 |
Unregistered user
|
There's a program called Bas2Txt which does this (there's a copy on the AcornSearch filebase or I can email you one). This usefully has the source included (in C), so you can derive the full list of tokens and their textual equivalent by looking at this. I've written bits and pieces in BASIC which convert text to tokens, etc, so feel free to email me if you like. |
|
[ Log in to reply ] |
|
rich |
Message #5124, posted at 08:58, 24/5/2002, in reply to message #5122 |
Unregistered user
|
Couldn't you just load the BASIC into StrongED (okay, or Zap) and then change to text mode and save the resulting text out? If you don't have an Acorn machine nearby to do this on, why not emulate... |
|
[ Log in to reply ] |
|
bmsh |
Message #5126, posted at 09:25, 24/5/2002, in reply to message #5125 |
Unregistered user
|
You could use the PC version of Brandy <http://brandy.riscos.org.uk/> as this can read tokenised BASIC files but always saves as plain text. |
|
[ Log in to reply ] |
|
Hertzsprung |
Message #5125, posted at 13:58, 15/6/2002, in reply to message #5124 |
Unregistered user
|
Couldn't you just load the BASIC into StrongED (okay, or Zap) and then change to text mode and save the resulting text out?If you don't have an Acorn machine nearby to do this on, why not emulate... I was trying to avoid doing downloading + running a (dodgy) emulator just to convert BASIC files |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: BASIC reader |