Re: [Ql-Users] io.fline end of line

2010-09-14 Thread Malcolm Lear



On 13/09/2010 16:05, QL-Mylink wrote:

Re: Malcolm's -

Hi,

I've noticed some inconsistent handling of text files in QPC2. The
problem was reading text files with both carriage return and line feed
at the end of line. Several programs could read these files from the
qxl.win drive without complaint. However the same file being read from a
dos or ram drives caused problems. One particular program that got upset
was the GST assembler.  I finally tracked the problem down to the
io.flin trap. It was converting the carriage return to a line feed, but
only on the win drive. Is there any switch to change this behaviour and
have it working on all drives? Or is this a bug?

Cheers
Malcolm
=

Thank you Malcolm.  You've revealed a previously unkown scource of 
some of my historical headaches.


Best wishes,

John in Wales  ___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

I've now located the code that does the character replacement in 
dv3_dv3_buff_asm. However I can't seem to get QMON into supervisor mode 
using LS. Maybe it's just my copy of QMON or I'm doing something stupid 
(quite possible).


Cheers
Malcolm

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] io.fline end of line

2010-09-14 Thread Malcolm Lear



On 14/09/2010 16:28, gdgqler wrote:

On 14 Sep 2010, at 13:54, Malcolm Lear wrote:


I've now located the code that does the character replacement in 
dv3_dv3_buff_asm. However I can't seem to get QMON into supervisor mode using 
LS. Maybe it's just my copy of QMON or I'm doing something stupid (quite 
possible).

I've never successfully used LS with QMON. Anyway when it works you can't look 
at ram - all you get is the contents of registers and so on displayed by QMON.

On Sunday I was looking at a bit of SMSQE code which went into supervisor mode 
(to allow the use of A6 commented the program) so I used SPC to step round the 
trap #0 instruction. Perhaps you can use that in buff_asm.

George
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Thanks George, I'll give it a go. Have you any idea if QMON ever worked 
in supervisor mode or is it an issue with SMSQE?


Malcolm

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


[Ql-Users] io.fline end of line

2010-09-13 Thread Malcolm Lear

 Hi,

I've noticed some inconsistent handling of text files in QPC2. The 
problem was reading text files with both carriage return and line feed 
at the end of line. Several programs could read these files from the 
qxl.win drive without complaint. However the same file being read from a 
dos or ram drives caused problems. One particular program that got upset 
was the GST assembler.  I finally tracked the problem down to the 
io.flin trap. It was converting the carriage return to a line feed, but 
only on the win drive. Is there any switch to change this behaviour and 
have it working on all drives? Or is this a bug?


Cheers
Malcolm

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm