QL monitor....

Anything QL Software or Programming Related.
Post Reply
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

QL monitor....

Post by prime »

Hi all,

Is there a machine code monitor available for the QL, I'll need to be able to single step code set breakpoints etc. I've seen references to QMON2, but understand this is still commercial, is it still available anywhere ?

Cheers.

Phill.


EmmBee
Trump Card
Posts: 245
Joined: Fri Jan 13, 2012 5:29 pm
Location: Kent

Re: QL monitor....

Post by EmmBee »

Hi Phill,

How about using Q-emuLator? I'ts free. You start the m/c debugger by pressing F11. I've never actually used this, but going from the documentation, it would appear that it could easily do all the things you want it to do.

Michael


Martin_Head
Aurora
Posts: 973
Joined: Tue Dec 17, 2013 1:17 pm

Re: QL monitor....

Post by Martin_Head »

There is the Talent, Assembler Workbench. Available to Quanta members.


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

Re: QL monitor....

Post by Derek_Stewart »

Hi,

Why not look on Dilwyn's web site in the Assembler Tools section or with this link:

http://www.dilwyn.me.uk/asm/index.html

Computer One Monitor may suit your needs.


Regards,

Derek
User avatar
tofro
Font of All Knowledge
Posts: 3112
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL monitor....

Post by tofro »

Derek_Stewart wrote:Hi,

Why not look on Dilwyn's web site in the Assembler Tools section or with this link:

http://www.dilwyn.me.uk/asm/index.html

Computer One Monitor may suit your needs.
Can only second that. C1M is by far the best MC monitor for the QL, IMHO. Even better than QMON2, especially for debugging executable jobs. It has a concept of a "Base pointer" - That is, the load address of your code. This means you don't need to fiddle around with address offsets when comparing a paper listing to Monitor output.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: QL monitor....

Post by prime »

Thanks for the suggestions guys, I would normally use the debugger in MESS to single step the code but as this is hardware related (and hardware not emulated by MESS :( ), it needs to be done on a real machine.

I have after all these years taken the plunge and signed up for QUANTA and will try some of the software in the library.
tofro wrote: Can only second that. C1M is by far the best MC monitor for the QL, IMHO. Even better than QMON2, especially for debugging executable jobs. It has a concept of a "Base pointer" - That is, the load address of your code. This means you don't need to fiddle around with address offsets when comparing a paper listing to Monitor output.
I downloaded the C1M, as i used to use the C1 Assembler / Linker back in the day, and it looks promising, but the base pointer thing (may) get in the way of debugging ROM code, especially if it's in the $c000 area, the readme does say there is a way of forcing an absolute address but, it seems to suggest accent-u (ú) as a suffix, I tried that but got an error....

Cheers.

Phill.


User avatar
tofro
Font of All Knowledge
Posts: 3112
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL monitor....

Post by tofro »

If bp annoys you, simply set it to 0, and all your addresses are absolute

Code: Select all

.bp 0
Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: QL monitor....

Post by prime »

tofro wrote:If bp annoys you, simply set it to 0, and all your addresses are absolute

Code: Select all

.bp 0
Ahhh, thanks that should do the trick.

Phill.


prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: QL monitor....

Post by prime »

Incase anyone else is looking for the C1M docs, they are available here :

http://sinclairql.speccy.org/archivo/do ... tor_c1.pdf

In PDF format.

They where linked from : http://sinclairql.speccy.org/archivo/docs/docs.htm

Cheers.

Phill.


Post Reply