Page 5 of 7

Re: What Editor is best to use ?

Posted: Sat Aug 11, 2018 1:17 pm
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.

Re: What Editor is best to use ?

Posted: Sun Aug 12, 2018 6:13 am
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).

Re: What Editor is best to use ?

Posted: Sun Aug 12, 2018 12:00 pm
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 ?

Re: What Editor is best to use ?

Posted: Sun Aug 12, 2018 9:50 pm
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.

Re: What Editor is best to use ?

Posted: Mon Aug 13, 2018 12:35 am
by Andrew
Ok - found it ! Thank you!

Re: What Editor is best to use ?

Posted: Wed Aug 15, 2018 5:08 pm
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

Re: What Editor is best to use ?

Posted: Wed Aug 15, 2018 6:42 pm
by jivrt
That is incredible good news! will enjoy!


Enviado desde mi iPhone utilizando Tapatalk

Re: What Editor is best to use ?

Posted: Wed Aug 15, 2018 7:26 pm
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

Re: What Editor is best to use ?

Posted: Wed Aug 15, 2018 8:31 pm
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

Re: What Editor is best to use ?

Posted: Wed Aug 15, 2018 8:41 pm
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.