Re: Using Just Basic or Liberty Basic to test a zx spectrum program
Posted: Thu May 24, 2018 2:00 pm
Hikoki are you asking me that question?
Because if so I don't understand it. All I can say is that I save my files without extensions EG:- Save "tank4' and then open that with Notepad set to Allfiles and then I can paste the code here or wherever.
Also- ONLY if its Sinclair Basic commands not any of the extended functions - I can load it into an emulator such as BASin and then save it as a snapshot. Import the snapshot into an emulator that will save to tape! A rather convoluted process and I'm sure you'll get a better answer from someone more knowledgeable!
However the really important point is that SpecBAS output really isn't meant to be run on any Spectrum or clone, its solely for PC use only. That doesnt mean that its impossible to use strictly Sinclair Basic commands to create a program to be used on a Speccy or emulator thereof but its kind of pointless.
Better is the other way round. You can take a Sinclair Basic program thats dreadfully slow and import it into SpecBAS and see it fly. Bear in mind the obvious pitfalls though, such as the different PLOT and PRINT positions, a few similar differences and addresses if you're POKEing or PEEKing, stuff like that but theoretically it can be done. I'd wait for Dunny or ASH-II to comment though because I'm not sure about what I've said.
Because if so I don't understand it. All I can say is that I save my files without extensions EG:- Save "tank4' and then open that with Notepad set to Allfiles and then I can paste the code here or wherever.
Also- ONLY if its Sinclair Basic commands not any of the extended functions - I can load it into an emulator such as BASin and then save it as a snapshot. Import the snapshot into an emulator that will save to tape! A rather convoluted process and I'm sure you'll get a better answer from someone more knowledgeable!
However the really important point is that SpecBAS output really isn't meant to be run on any Spectrum or clone, its solely for PC use only. That doesnt mean that its impossible to use strictly Sinclair Basic commands to create a program to be used on a Speccy or emulator thereof but its kind of pointless.
Better is the other way round. You can take a Sinclair Basic program thats dreadfully slow and import it into SpecBAS and see it fly. Bear in mind the obvious pitfalls though, such as the different PLOT and PRINT positions, a few similar differences and addresses if you're POKEing or PEEKing, stuff like that but theoretically it can be done. I'd wait for Dunny or ASH-II to comment though because I'm not sure about what I've said.