Joystick/Sound in Supervisor mode?

Anything QL Software or Programming Related.
Derek_Stewart
Font of All Knowledge
Posts: 3997
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Joystick/Sound in Supervisor mode?

Post 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.


Regards,

Derek
User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


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

Re: Joystick/Sound in Supervisor mode?

Post 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.


Regards,

Derek
User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


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

Re: Joystick/Sound in Supervisor mode?

Post 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


Regards,

Derek
User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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


User avatar
t0nyt
Gold Card
Posts: 432
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Joystick/Sound in Supervisor mode?

Post 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.


Post Reply