What Editor is best to use ?

Helpful tips and guides, also new users can ask for help here.
Ralf R.
ROM Dongle
Posts: 5
Joined: Fri Jun 15, 2018 8:58 pm

Re: What Editor is best to use ?

Postby Ralf R. » Sat Aug 11, 2018 1:17 pm

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.


User avatar
M68008
Chuggy Microdrive
Posts: 61
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: What Editor is best to use ?

Postby M68008 » Sun Aug 12, 2018 6:13 am

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


Andrew
ROM Dongle
Posts: 25
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Postby Andrew » Sun Aug 12, 2018 12:00 pm

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
Chuggy Microdrive
Posts: 61
Joined: Sat Jan 29, 2011 1:55 am
Contact:

Re: What Editor is best to use ?

Postby M68008 » Sun Aug 12, 2018 9:50 pm

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.


Andrew
ROM Dongle
Posts: 25
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Postby Andrew » Mon Aug 13, 2018 12:35 am

Ok - found it ! Thank you!


User avatar
mk79
Trump Card
Posts: 182
Joined: Sun Feb 02, 2014 10:54 am

Re: What Editor is best to use ?

Postby mk79 » Wed Aug 15, 2018 5:08 pm

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: 59
Joined: Sun Feb 17, 2013 6:16 pm
Location: Puerto Varas, Chile

Re: What Editor is best to use ?

Postby jivrt » Wed Aug 15, 2018 6:42 pm

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
Andrew
ROM Dongle
Posts: 25
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Postby Andrew » Wed Aug 15, 2018 7:26 pm

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: 2489
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: What Editor is best to use ?

Postby RWAP » Wed Aug 15, 2018 8:31 pm

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


Andrew
ROM Dongle
Posts: 25
Joined: Tue Jul 17, 2018 9:10 pm

Re: What Editor is best to use ?

Postby Andrew » Wed Aug 15, 2018 8:41 pm

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.



Return to “Help for New Users”

Who is online

Users browsing this forum: kmmann and 0 guests