New game for the QL

Anything QL Software or Programming Related.
User avatar
belg4rion67
Trump Card
Posts: 194
Joined: Sun Feb 20, 2011 6:15 pm
Location: Milan - Italy

Re: New game for the QL

Post by belg4rion67 »

oh damn...is the same compiler!...ok this are my steps: load game in basic, lrespr turbo_tk_code ( my ql has Minnie 1.98 and tk 2.2) execute parser_task that gives 0 errors and 1 warning ( it says dim v$(100) assumed)... then I start codegen_task. it creates test_task, if I exec_w that task, it starts and makes the first two tiles but if I press down or up arrow key, QL stops and gives this error : test_task halted after line 1130 for this error: bad parameter...
in line 1130 there is command STRIPE color
have you any suggest?


Only original hardware! :)
RWAP
RWAP Master
Posts: 2893
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: New game for the QL

Post by RWAP »

belg4rion67 wrote:oh damn...is the same compiler!...ok this are my steps: load game in basic, lrespr turbo_tk_code ( my ql has Minnie 1.98 and tk 2.2) execute parser_task that gives 0 errors and 1 warning ( it says dim v$(100) assumed)... then I start codegen_task. it creates test_task, if I exec_w that task, it starts and makes the first two tiles but if I press down or up arrow key, QL stops and gives this error : test_task halted after line 1130 for this error: bad parameter...
in line 1130 there is command STRIPE color
have you any suggest?
I hope you mean

Code: Select all

1130 STRIP color
It should not report an issue otherwise with this command...


User avatar
belg4rion67
Trump Card
Posts: 194
Joined: Sun Feb 20, 2011 6:15 pm
Location: Milan - Italy

Re: New game for the QL

Post by belg4rion67 »

oh yes Rich, of course the line is that... I'm surprise me too about this error... morever because Petri has used same compiler withour problem ! I tried to compile game on my second unexpanded ql with JS rom but same result...


Only original hardware! :)
User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: New game for the QL

Post by ppe »

belg4rion67 wrote:oh damn...is the same compiler!...ok this are my steps: load game in basic, lrespr turbo_tk_code ( my ql has Minnie 1.98 and tk 2.2) execute parser_task that gives 0 errors and 1 warning ( it says dim v$(100) assumed)... then I start codegen_task. it creates test_task, if I exec_w that task, it starts and makes the first two tiles but if I press down or up arrow key, QL stops and gives this error : test_task halted after line 1130 for this error: bad parameter...
in line 1130 there is command STRIPE color
have you any suggest?
Hi Paolo,

my steps are below:
0) prog_use mdv1_
1) lrespr mdv1_turbo_tk_code
2) load mdv1_2048_bas
3) run compiler with keyword "CHARGE"
3.1) Change name of executable to 2048_task
3.2) Compile - gives one warning
4) exec_w 2048_task

Works fine, seems like we do things different in that I use the "CHARGE" keyword and you execute the compiler tasks manually.

The other difference is that I did the actual compilation on QemuLator.

Hope this helps,
Petri


Derek_Stewart
Font of All Knowledge
Posts: 4796
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: New game for the QL

Post by Derek_Stewart »

Hi,

The Error looks to a Data Space error, you can change this in the Turbo Front End Menus Options. Also it is a good idea to read the manual again.

Since all the manuals are readsble on an E-Reader, I have a spare Kindle next to the QL for reference to all the manuals.

I find Turbo a harder compiler to use than Qliberator.


Regards, Derek
User avatar
belg4rion67
Trump Card
Posts: 194
Joined: Sun Feb 20, 2011 6:15 pm
Location: Milan - Italy

Re: New game for the QL

Post by belg4rion67 »

Thank you to all :D

Petri: I'll try again using your suggests and re-read manual again :P

Derek: thank to you too...as I want to try all kind of QL software next time I will use Qliberator.... after a looong review of the manual ... :D


Only original hardware! :)
User avatar
Dave
SandySuperQDave
Posts: 2816
Joined: Sat Jan 22, 2011 6:52 am
Location: Austin, TX
Contact:

Re: New game for the QL

Post by Dave »

I wish someone would teach an online class to a group looking to learn how to use these compilers. I'd happily pay $10/hr and if a couple of others would it would be worthwhile for the instructor.


Post Reply