Evening all,
I'm experimenting for the first exciting episode of the new assembly
language mailing list. It's the first time I've sat down with QPC since
I started my new job!
I have noticed something a little odd, well, even to be honest.
Strangely enough, the answer is 42 - what is the que
Norman, I use this all the time when hoodwinking students and
about how intelligent retro computers are.
Firing up Q-emuLator basic setup (if you have a QL then switch it on)
type in directly
PRINT the_answer_to_life_the_universe_and_everything then press enter
Note what appears on the screen
the
Norman,
I haven't got the slightest idea why this is so.
To my knowledge, heap memory allocations should be rounded up to multiples of
16 (and, at least Minerva sources confirm that).
Tobias
Am 07.10.2013 um 21:36 schrieb Norman Dunbar:
> Evening all,
>
> I'm experimenting for the first exc
Norman Dunbar wrote:
> I have noticed something a little odd, well, even to be honest.
> Strangely enough, the answer is 42 - what is the question? ;-)
The question is: "What size is your EXE file?".
> I'm wondering if the mysterious 42 extra bytes is also accumulated in
> the space desired in TR
Sorry about possible format problems, I'm on my phone.
Hi Marcel,
My file size is 30 bytes. I checked. Default data space from GWASL is 4000
bytes. I expected that to end up as 4030 or possibly rounded to the nearest 8
or 16 which would be 4032.
Hence my confusion as 4042 is not divisible by
nor...@dunbar-it.co.uk wrote:
> My file size is 30 bytes. I checked. Default data space from GWASL
> is 4000 bytes. I expected that to end up as 4030 or possibly rounded
> to the nearest 8 or 16 which would be 4032.
What's the value of a4 then?
My test exe was 1024 bytes data space and 222 bytes
A4 is $1e.
I execute the job simply as ex test_bin. JMON picks it up at startup.
Sent from my HTC
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
On 7 Oct 2013, at 20:36, Norman Dunbar wrote:
> Evening all,
>
> I'm experimenting for the first exciting episode of the new assembly language
> mailing list. It's the first time I've sat down with QPC since I started my
> new job!
>
> I have noticed something a little odd, well, even to be h
On 07/10/13 21:18, Lee Privett wrote:
PRINT the_answer_to_life_the_universe_and_everything
> ...
Ok, I'm game
PRINT the_answer_to_life_the_universe_and_everything
0
Print CODE("0")
48
What am I missing?
--
Norman Dunbar
Dunbar IT Consultants Ltd
Registered address:
27a Lidget Hill
Pu
On 08/10/13 17:21, George Gwilt wrote:
Pennel says that (A6,A4) points to the start of data and (A6,A5) points to
immediately past the data area end. This implies that the size of the data
space is A5 - A4.
Yes, A4 is actually the program size, which in my case is 30 bytes only.
It's not a c
Hee he, it has to be on a standard QL Norman.
Or on QemuLator standard QL settings
You shouldn't get a 0, but another *
Sent from my iPad
> On 8 Oct 2013, at 17:56, Norman Dunbar wrote:
>
> universe
___
QL-Users Mailing List
http://www.q-v-d.demon.co.
On 08/10/2013 06:54, Lee wrote:
Hee he, it has to be on a standard QL Norman.
Or on QemuLator standard QL settings
You shouldn't get a 0, but another *
Sent from my iPad
On 8 Oct 2013, at 17:56, Norman Dunbar wrote:
universe
___
QL-Users Mailing L
Norman Dunbar wrote:
> In my code size 30 example, I get 42 which is an extra 12 as well.
> What's so special about 12 I wonder?
>
>
>
> Right, it must be something in the allocation of memory. I found the
> code that creates a job and it simply allocates memory for
> #jcb_end+d2+d3 and jcb_end
ng my dummy job does indeed show that it has two pipes open.
I think if I pass a channel to the job as well, ex #3 to test_bin. I het
another 2 pies listed. I need to look further.
Thanks again.
Cheers,
Norm.
Sent from my HTC
- Reply message -
From: "Marcel Kilgus"
To:
Subject:
Evening Marcel,
>...
> EX adds 12 bytes for "two pipes (and two counts)". Reading the source
the counts seem to refer to two words counting the number of channels
and the bytes of the command string (EX test_exe;'command string').
Yes, I have no problem with these two words. I have problems wit
Am 09.10.2013 um 22:53 schrieb Norman Dunbar:
Norman,
> > EX adds 12 bytes for "two pipes (and two counts)". Reading the source
>> the counts seem to refer to two words counting the number of channels
>> and the bytes of the command string (EX test_exe;'command string').
> Yes, I have no proble
Norman Dunbar wrote:
> If I open #3,some_file and ex #3 to test_bin, I do get a channel Id
> on the stack (and a word count of 1) but if I run it again, the
> channel Id on the stack is different. I would have thought that the
> [qdosmsq] channel id for SuperBasic channel #3 would remain
> constant
I dif, honest! It's just that my Tk2 manual is the original as supplied with
Trump Card and I can't read the tiny print any more.
Heading for Dilwyn"s web site soon
Cheers,
Norm.
Sent from my HTC
- Reply message -
From: "Marcel Kilgus"
To:
Subject:
Am 10.10.2013 um 00:37 schrieb Marcel Kilgus:
> Norman Dunbar wrote:
> The TK2 manual says "If the parameters of EX start with '#channel TO',
> then the corresponding SuperBASIC channel will be closed (if it was
> already open) and a new channel opened as a pipe to the first
> program."
>
>>> M
Oh oh, i'm off into hiding ;-)
Dilwyn
-Original Message-
From: nor...@dunbar-it.co.uk
Sent: Thursday, October 10, 2013 7:07 AM
To: ql-us...@q-v-d.com ; ql-us...@q-v-d.com
Subject: Re: [Ql-Users] Job data space - foibles?
I dif, honest! It's just that my Tk2 manual is the o
On 10 Oct 2013, at 07:08, Tobias Fröschle wrote:
>
> Am 10.10.2013 um 00:37 schrieb Marcel Kilgus:
>
>> Norman Dunbar wrote:
>
>> The TK2 manual says "If the parameters of EX start with '#channel TO',
>> then the corresponding SuperBASIC channel will be closed (if it was
>> already open) and a
Am 10.10.2013 um 12:02 schrieb George Gwilt:
>> Marcel, Norman,
>>
>> I looked at both (the manual and the code), could see the mention of 'close'
>> in the manual, but not in the code. The original channel is not "really"
>> closed - It's channel ID in the SuperBASIC channel table is simply
Gottit! :-)
I knew I read it somewhere, and that somewhere was the Tk2 manual.
If there is only one channel on a job's stack then it is open for read/write
unless it is a pipe. In which case the direction is as per the pipe.
If there a more channels on the stack, the the first is standard inpu
23 matches
Mail list logo