Page 2 of 7

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 3:30 pm
by Derek_Stewart
HI,

Jan's QED use F3 to enter a command and F2 to repeat the last command entered.

I think the GST manual has got mixed up.

In general you can use any Text Editor and enter the assebler source code and use QMAC/QLINK to assemble the code.

I used QED or QD to enter the assembler code then just execute QMAC and load the programme to be assembled or use the command line to to load and assemble the programme.

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 3:39 pm
by t0nyt
janbredenbeek wrote: Tue Feb 20, 2024 3:20 pm
t0nyt wrote: Tue Feb 20, 2024 1:58 pm Have settled on the Quanta version of GST but have replaced the QED_exe with Jans v2 QED

(BTW I couldn't find any version of QED that matched the downloadable, from Dilwyn's download pages, Quanta QED manual though, but my old physical manual seems to have the correct commands. e.g. the Quanta manual has most of the commands being linked to pressing F2 but that gives no option to enter a command)
The latest version is available at https://github.com/janbredenbeek/QED

(in fact, my QED is really a clone of the Metacomco editor but entirely rewritten in Assembler - back in 1988 speed was really relevant on a BBQL without Gold Card :) ).
Thanks, have now updated to latest

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 3:40 pm
by t0nyt
Derek_Stewart wrote: Tue Feb 20, 2024 3:30 pm HI,

Jan's QED use F3 to enter a command and F2 to repeat the last command entered.

I think the GST manual has got mixed up.

In general you can use any Text Editor and enter the assebler source code and use QMAC/QLINK to assemble the code.

I used QED or QD to enter the assembler code then just execute QMAC and load the programme to be assembled or use the command line to to load and assemble the programme.
Thanks Derek

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 4:09 pm
by Derek_Stewart
Hi Tony,

You could look at the DIY toolkit series in QL Workd, available on the QL Homepage, Assembler programming Comic by Norman Dunbar, though, he use GWASS, but the concepts are the same.

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 4:20 pm
by t0nyt
Derek_Stewart wrote: Tue Feb 20, 2024 4:09 pm Hi Tony,

You could look at the DIY toolkit series in QL Workd, available on the QL Homepage, Assembler programming Comic by Norman Dunbar, though, he use GWASS, but the concepts are the same.
Thanks, will do

Am currently trying to find the GST directive for storing words of data in the program file. This is definitely going to be a slog (but fun hopefully) :D

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 4:25 pm
by t0nyt
t0nyt wrote: Tue Feb 20, 2024 4:20 pm
Derek_Stewart wrote: Tue Feb 20, 2024 4:09 pm Hi Tony,

You could look at the DIY toolkit series in QL Workd, available on the QL Homepage, Assembler programming Comic by Norman Dunbar, though, he use GWASS, but the concepts are the same.
Thanks, will do

Am currently trying to find the GST directive for storing words of data in the program file. This is definitely going to be a slog (but fun hopefully) :D
Looks like I just use something like

MYSTUFF 0000,0000,0000,0001,0001

Will give it a go anyway

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 4:36 pm
by Derek_Stewart
t0nyt wrote: Tue Feb 20, 2024 4:25 pm
t0nyt wrote: Tue Feb 20, 2024 4:20 pm
Derek_Stewart wrote: Tue Feb 20, 2024 4:09 pm Hi Tony,

You could look at the DIY toolkit series in QL Workd, available on the QL Homepage, Assembler programming Comic by Norman Dunbar, though, he use GWASS, but the concepts are the same.
Thanks, will do

Am currently trying to find the GST directive for storing words of data in the program file. This is definitely going to be a slog (but fun hopefully) :D
Looks like I just use something like

MYSTUFF 0000,0000,0000,0001,0001

Will give it a go anyway
The storing of words can be used with DC.x where .x is the size: B, W, L So your storage would be:

MYSTUFF DC.W 0000,0000,0000,0001,0001

Then use LEA to point to MYSTUFF

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 4:46 pm
by t0nyt
Derek_Stewart wrote: Tue Feb 20, 2024 4:36 pm
t0nyt wrote: Tue Feb 20, 2024 4:25 pm
t0nyt wrote: Tue Feb 20, 2024 4:20 pm

Thanks, will do

Am currently trying to find the GST directive for storing words of data in the program file. This is definitely going to be a slog (but fun hopefully) :D
Looks like I just use something like

MYSTUFF 0000,0000,0000,0001,0001

Will give it a go anyway
The storing of words can be used with DC.x where .x is the size: B, W, L So your storage would be:

MYSTUFF DC.W 0000,0000,0000,0001,0001

Then use LEA to point to MYSTUFF
Thanks, will give that a try

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 6:38 pm
by t0nyt
Wow, this is frustrating. Am going to take a step back from any attempts at coding and read some more books

CLR.L D0
RTS
END

(each line has white space at the start)

Gives me

Screenshot 2024-02-20 at 18.35.29.png

Re: Joystick/Sound in Supervisor mode?

Posted: Tue Feb 20, 2024 7:01 pm
by t0nyt
t0nyt wrote: Tue Feb 20, 2024 6:38 pm Wow, this is frustrating. Am going to take a step back from any attempts at coding and read some more books

CLR.L D0
RTS
END

(each line has white space at the start)

Gives me


Screenshot 2024-02-20 at 18.35.29.png
Ok, seems I have to put a SECTION directive at start. That assembles ok now.