5 trivial SBASIC programs
Posted: Fri Nov 19, 2021 10:32 pm
I have been trying to learn to program in SBASIC using documents found in Dilwyn's site. Without an ancient SMS2 setup floppy I had, I think I would have found writing multitasking programs for SMSQE almost impossible.
As it is, I have only scratched the surface of what is possible, as there is so much to understand. More than half the time my code does not work, and for so many reasons.
SMS is a seriously complex system and without a single comprehensive manual I have found writing programs very difficult.
I started with an SMS2 startup floppy from nearly 30 years ago and then, bit by bit, tested SBASIC instructions to see what they actually did. One of the most useful documents was the QL beginner's or the QL concept guides (I can't remember which). Even these docs presented a problem for me because they were written from the perspective of running code examples in a low resolution interpreter.
Some of the trivial but possibly mildly amusing programs I have written can be found in a zipped WIN disk as follows:
The bat and ball game might run on a QL and could be entered (if it works) into the "Crap games for QL" competition if someone wants to do this. The idea is move the "bat" to stop the bouncing ball escaping through the slit using the arrow keys. Esc kills the program
The "Bounce" program produces ever changing linear patterns that are adjusted by pressing or holding down a key.
The babbler is an improved (slightly) version of the one I posted earlier.
The art and ball programs are activated by clicking on the B or +.
As it is, I have only scratched the surface of what is possible, as there is so much to understand. More than half the time my code does not work, and for so many reasons.
SMS is a seriously complex system and without a single comprehensive manual I have found writing programs very difficult.
I started with an SMS2 startup floppy from nearly 30 years ago and then, bit by bit, tested SBASIC instructions to see what they actually did. One of the most useful documents was the QL beginner's or the QL concept guides (I can't remember which). Even these docs presented a problem for me because they were written from the perspective of running code examples in a low resolution interpreter.
Some of the trivial but possibly mildly amusing programs I have written can be found in a zipped WIN disk as follows:
The bat and ball game might run on a QL and could be entered (if it works) into the "Crap games for QL" competition if someone wants to do this. The idea is move the "bat" to stop the bouncing ball escaping through the slit using the arrow keys. Esc kills the program
The "Bounce" program produces ever changing linear patterns that are adjusted by pressing or holding down a key.
The babbler is an improved (slightly) version of the one I posted earlier.
The art and ball programs are activated by clicking on the B or +.