sinclairql.es wrote:
The classic contest programming anything "new" and interesting in
SuperBASIC (who operate in a standard QL without expanding). Who part of
the code is in assembler It is accepted.
That last sentence is a bit Spanish (8-)#
It is very strange. Swear that I am Spanish. ;)
I am glad you saw the joke. It is hard translating literally into
another language - it rarely works.
I love the French restaurant who 'helpfully' translated 'Mousse
chocolat' into "Chocolate foam".
In England we use the French word.
What exactly are you saying there?
... that calls to machine code are accepted?
You can use operating system calls, machine code in DATAs or external
binary files.
In this case, the assembler source code should be delivered.
2.- QL screens programed
Like "Screen Stars" section in QL World. Simple. A QL SuperBASIC program
showing an artistic screen.
A hint - the programs that won a QL World screen drawing program (and
third place I think) used turtle graphics with recursive loops and
data statements.
They did though have one very important proviso. They required one
line basic commands (ie no use of : ) and limited the number of lines.
I think you ought to limit the basic code size in some way, otherwise
things could get out of hand.
What was the line limit? What would be an acceptable number?
I forget exactly - maybe 60 only.
Mind you the winner took full advantage of very very long DATA
statements, so was bending the rules.
He had no machine code though I think. He just used these data
statements to feed values into recursive turtle graphics commands - very
cunning.
Ah I remember - Dragon was the winner and the download (dragon_zip) is
available in files area #1 on my BBS (+44 1442 828255).
It took for ever to draw on an unexpanded QL - which most were then.
.... and I see it was a QL User competition.
Maybe a better way is to limit the code size, and require the assembler
is entirely within the basic program, using data statements.
These could be POKEd into the RESPR space. This would then limit what
machine code programmers could get up to.
I just feel that if you don't impose any code size limits, you are
making it too easy.
Tony
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm