Computer One Assembler's Editor - NICE

A place to discuss general QL issues.
Post Reply
User avatar
ql_freak
Gold Card
Posts: 472
Joined: Sun Jan 18, 2015 1:29 am

Computer One Assembler's Editor - NICE

Post by ql_freak »

I'm currently preparing to write my ref_getLnHi SuperBASIC function (BTW: Currently only tested with Minerva NOT with QPC) into a machine code function. I want to be able to debug it with symbolic debugging with the Computer One Monitor Professional. C1Mon Pro recommends (of course) its own assembler (C1 Assembler, it's on Dilwyns page). So I give it a try. I have now first tested the editor, it's nice:
c1AsmEditor01.png
Problem: It opens at a suboptimal place on a modern system. I have already looked, if there's a 'CON_XSIZExYSIZEaXPOSxYPOS' string in the binary - it's not :-( to change the window position. But it's not bad, I think it could be improved to be compatible with modern QL operating systems and high resolutions if we had the source code.

I also do not know if it's reentrant (can be HOT_CHPed without the "I"gitit option).


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
ql_freak
Gold Card
Posts: 472
Joined: Sun Jan 18, 2015 1:29 am

Re: Computer One Assembler's Editor - NICE

Post by ql_freak »

Because of the C1 Ed I have now have had ad a look on QD (The QPC editor). Sorry, I don't like it.

If you are on first column of a line and press the CURSOR LEFT you go to (behind?) the last char of the previous line. If you now press CURSOR RIGHT you do not go to first char of next line but to one char beyond current line. Arrggghhhh...

There are other quirks, BUT ITS GUI and some parts of its user interface are really great. It would be nice, if one could make an editor like Notepad for it (I now use notepad very often, it's now okay(!). Supports UTF-8 without BOM [new files unfortunately are IMHO still created with BOM or even UTF-16], show line number and column [the first versions did not], ...). BTW: QD does NOT need a multiple document interface. It is reentrant (can be HOT_CHPed without the "I"gitit option), so you can start it (as on modern Windows/Linux/...) as often as you want via HOT_KEY (e.g. HOT_CHP). With a proper hotkey the code is loaded only once (AND the QL does NOT have a MMU and can still move its S(uper)BASICs while they are running!).

QD could IMHO be the Notepad for the QL. Of course MicroEMACS 4.0 is much better, but it's much more complicated and not a thing for beginners AND there's the (former Amiga) editor, ported by Dirk Steinkopf (the one who has have built the first public domain harddisk interface for the QL - my original QL is running this - a powerful editor, comes near to MicroEMACS, but is much more Sinclair-like) which name I cannot remember (it's on Dilwyns Page).


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Derek_Stewart
Font of All Knowledge
Posts: 4651
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Computer One Assembler's Editor - NICE

Post by Derek_Stewart »

QD is not QPC editor, but a text editor that runs in the Pointer Environment, included in SMSQ/E and can be added to QDOS.

Look at the QL Homepage there are other implemented Text Editors, QED it is better text editor.


Regards,

Derek
Post Reply