Apparently, this only compiles mathematical programs, like the sample provided within the program. It won't compile full basic programs.
A description of the compiler can be found here
Should these tapes be archived?
Moderator: Moderators
- eslapion
- ultimate expander
- Posts: 5458
- Joined: Fri Jun 23, 2006 7:50 pm
- Location: Canada
- Occupation: 8bit addict
Re: Should these tapes be archived?
vicist wrote:Apparently, this only compiles mathematical programs, like the sample provided within the program. It won't compile full basic programs.
A description of the compiler can be found here
Very tiny compiler indeed...
Be normal.
- Kweepa
- Vic 20 Scientist
- Posts: 1315
- Joined: Fri Jan 04, 2008 5:11 pm
- Location: Austin, Texas
- Occupation: Game maker
Re: Should these tapes be archived?
The article seems very lenient on a $25 product!
It doesn't even support PEEK or POKE, which would make it just about practical. As it is, it seems like a toy.
I think it would be fun to write a modern CBM basic compiler.
Some thoughts I had:
- default the variables to float
- use a separate hints file to tell the compiler the variable types (byte, word, long, float)
- run the basic program in a special emulator that monitors the variables and deduces the variable types
- detect certain code patterns and replace with cheap alternatives (eg empty for-next for delays; keyboard and joystick routines; reading data and poking to memory, or filling an array)
It doesn't even support PEEK or POKE, which would make it just about practical. As it is, it seems like a toy.
I think it would be fun to write a modern CBM basic compiler.
Some thoughts I had:
- default the variables to float
- use a separate hints file to tell the compiler the variable types (byte, word, long, float)
- run the basic program in a special emulator that monitors the variables and deduces the variable types
- detect certain code patterns and replace with cheap alternatives (eg empty for-next for delays; keyboard and joystick routines; reading data and poking to memory, or filling an array)
- pixel
- Vic 20 Scientist
- Posts: 1357
- Joined: Fri Feb 28, 2014 3:56 am
- Website: http://hugbox.org/
- Location: Berlin, Germany
- Occupation: Pan–galactic shaman
Re: Should these tapes be archived?
Thanks! Music to my ears. %p Three recordings need forensics:
"Piper the music machine" got kinda stuck on the second half. Perhaps the motor of tape device one played it back with could use some cleaning.
"Budgeteer (copy 1)" has a way too low recording volume to be restored manually to another tape, I assume.
"Budgeteer (copy 2)" cannot be recovered without re-creating the header.
"Piper the music machine" got kinda stuck on the second half. Perhaps the motor of tape device one played it back with could use some cleaning.
"Budgeteer (copy 1)" has a way too low recording volume to be restored manually to another tape, I assume.
"Budgeteer (copy 2)" cannot be recovered without re-creating the header.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
https://github.com/SvenMichaelKlose