What Editor is best to use ?

Helpful tips and guides, also new users can ask for help here.
User avatar
RalfR
Aurora
Posts: 870
Joined: Fri Jun 15, 2018 8:58 pm

Re: What Editor is best to use ?

Post by RalfR »

janbredenbeek wrote:
Ralf R. wrote: I can't understand this problem. In S_Edit, I set SV_DDLST to "" to not let TK2 use its default directory. The only way to do so, to examine, if a file name really exists and to prevent TK2 to rush its default directory in front of a filename. So, things like "win1_flp2_test_asm" are not possible. That's the most bad behavier of TK2 (in my opinion).

At least, if the filename isn't found, I set SV_DDLST to its original value and try again. If that isn't found, it is a new file.
I assume you clear out the pointer to the default data directory (sys_datd at $B0), not SV_DDLST as clearing out the latter means the system won't find any directory device anymore...
Yes, sorry about misunderstanding. I do this for just a tick of a second, so there would be no problems with any other program. Of course I restore the old value. But it is the only way to prevent TK2 to push its default in front of the given filename.

To be honest, TK2 shouldn't search for eg. "win1_flp2_test_asm". Noone would save this.


4E75 7000
User avatar
M68008
Trump Card
Posts: 223
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: What Editor is best to use ?

Post by M68008 »

Derek_Stewart wrote:Is there a command in Q-Emulator not to add a QDOS header?
In general this is not necessary, any header conversions are automatically performed when copying the files from within Q-emulator, for example when using the COPY or WCOPY commands.

As Rich mentioned, headers are added to native Windows/Mac files only when necessary. This allows for example editing SuperBASIC programs with Windows/Mac editors as there is no header for plain text files. The only common type of files that require headers are QDOS executables.

Whether the file has a header or not in the native file system, this is only seen as a QDOS header from QL software running on the emulator. For example, copying an executable from a Windows directory to a QDOS floppy will _not_ result in the file having extra bytes at the beginning.

Copy files from inside the emulator and you will never have to know anything about the native file system implementation details.

In the unlikely case that a file with a native filesystem Q-emuLator header arrives on a QL (for example because it's an executable and it was transmitted through the serial port using a Windows/Mac communication software instead of using QL software, there is a utility included with Q-emulator that can remove the header on the QL and transform it into a QDOS header).


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Post by Andrew »

M68008 wrote:
In the unlikely case that a file with a native filesystem Q-emuLator header arrives on a QL (for example because it's an executable and it was transmitted through the serial port using a Windows/Mac communication software instead of using QL software, there is a utility included with Q-emulator that can remove the header on the QL and transform it into a QDOS header).
The Qemulator I have downloaded (and registered) did not have any utility included in the package.
Where can I download it ?


User avatar
M68008
Trump Card
Posts: 223
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: What Editor is best to use ?

Post by M68008 »

Andrew wrote: The Qemulator I have downloaded (and registered) did not have any utility included in the package.
Where can I download it ?
Hi Andrew, it should be in the installation folder, for example (on Windows):

Code: Select all

C:\Program Files (x86)\Q-emuLator\QL Software\FileUtil\WinToQL_exe
Use Q-emulator to copy it to a QDOS floppy to transfer it to the QL. In normal operation you should not need this utility, though.


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Post by Andrew »

Ok - found it ! Thank you!


User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: What Editor is best to use ?

Post by mk79 »

Regarding the original topic, there is now a new free contender to consider: the QD editor. It can be downloaded here https://www.kilgus.net/smsqe/qd/

Cheers, Marcel


User avatar
jivrt
Chuggy Microdrive
Posts: 63
Joined: Sun Feb 17, 2013 6:16 pm
Location: Puerto Varas, Chile

Re: What Editor is best to use ?

Post by jivrt »

That is incredible good news! will enjoy!


Enviado desde mi iPhone utilizando Tapatalk


Original BBQL 1985, bought my me in Spain with JM ROM
Tetroid TDI with CF card, ROM switcher, power regulator, Gold Card clone and Backplane
Uses: teaching my children to program
User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Post by Andrew »

mk79 wrote:Regarding the original topic, there is now a new free contender to consider: the QD editor. It can be downloaded here https://www.kilgus.net/smsqe/qd/

Cheers, Marcel
:cry: Doesn't work :cry: LRESPR qd_english just hangs Qemulator


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: What Editor is best to use ?

Post by RWAP »

Andrew wrote:
mk79 wrote:Regarding the original topic, there is now a new free contender to consider: the QD editor. It can be downloaded here https://www.kilgus.net/smsqe/qd/

Cheers, Marcel
:cry: Doesn't work :cry: LRESPR qd_english just hangs Qemulator
Did you try LRUN BOOT_English ?

QD needs the pointer environment loaded (PTR_GEN, WMAN and HOT_REXT) unless you are running SMSQ/e

It is also started with EXEC qd_english, not LRESPR qd_english


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Post by Andrew »

RWAP wrote:
Did you try LRUN BOOT_English ?

QD needs the pointer environment loaded (PTR_GEN, WMAN and HOT_REXT) unless you are running SMSQ/e

It is also started with EXEC qd_english, not LRESPR qd_english
Yes i did.
LRESPR qd_english is line 140 in boot_english. Qemulator freezes there.

Code: Select all

10 TK2_EXT:REM We need this for LRESPR
20 DATA_USE flp1_:PROG_USE flp1_
100 LRESPR ptr_gen
110 LRESPR wman
120 LRESPR hot_rext_english
130 LRESPR menu_rext_english
140 LRESPR qd_english
150 EXEP QD 
EXEC qd_english - works.


Post Reply