Search found 2258 matches

by NormanDunbar
Sun Apr 26, 2015 9:31 pm
Forum: Hardware
Topic: QL Microdrives - why oh why....
Replies: 8
Views: 4378

Re: QL Microdrives - why oh why....

Hi Rich, Nothing as exciting as you. We took my mother in law out for the day. She has dementia, so conversations were a little repetitive to say the least! C'set la vie! Later on, I wanted to get some debugging done on the next QL Assembly Language eMagazine, but I got slightly distracted and ended...
by NormanDunbar
Mon Apr 13, 2015 10:02 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

nowhere in the docs I have it's promised that on entry to a FN or PROC a1 would be holding the Arithmetic Stack (I've checked ;) - only a6 is part of the deal). Wolfgang's pdf of the QDOS SMSQ docs, section 9 makes no mention of it in relation to obtaining parameters. Section 10 mentions it in resp...
by NormanDunbar
Sun Apr 12, 2015 10:54 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

Hi Per, If I remember correctly, the testing was done on QPC and SMSQ. I wrote a function, can't remember what for, that took no parameters but obviously returned a result. It crashed the system. I used QMON2 and was surprised to find that A1 was nothing like a decent value for the offset to the mat...
by NormanDunbar
Sun Apr 12, 2015 3:30 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

I've had a really quick look and noticed, as mentioned elsewhere, that your number of procs is wrong. If the average length of the new procs is greater than 7, then you must use the formula as detailed. If the average is 7 or less, then the individual lengths is fine. I also see a comment about A1 b...
by NormanDunbar
Wed Apr 08, 2015 7:50 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

Maybe post some of the stack tidying code you are running to clear off at the end of a procedure? With a bit of context as to what is or should be on the stack from parameters fetching etc?

Cheers,
Norm.
by NormanDunbar
Wed Apr 08, 2015 4:59 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

I had a quick look in the DIY Toolkit source. Volume V has more_asm which displays a file on screen one page at a time. The following code can be found in there.... * * Get the file name parameter as a string or a name * get_name tst.b 0(a3,a6.l) Is the value set? bne.s value_set If so, use GTSTR to...
by NormanDunbar
Tue Apr 07, 2015 5:03 pm
Forum: Software & Programming
Topic: Command line parameters
Replies: 30
Views: 13900

Re: Command line parameters

As far as I remember, if you check the parameter type and find a name, you need to copy the name from the name table. If you found a string, then it will be on the maths stack after fetching. In a Procedure, only, you can leave any old crud on the stack when you return, for a Function, you must clea...
by NormanDunbar
Wed Mar 11, 2015 9:17 pm
Forum: The Welcome Area
Topic: Hi from Scotland
Replies: 9
Views: 5928

Re: Hi from Scotland

Hoots Mon, far's ma heid!
as Mary Queen of Scots was known to have said! (Allegedly)

Welcome.

Cheers,
Norm.
by NormanDunbar
Wed Mar 04, 2015 4:15 pm
Forum: Software & Programming
Topic: SBASIC / SuperBASIC Reference Manual - HTML
Replies: 44
Views: 19155

Re: SBASIC / SuperBASIC Reference Manual - HTML

XorA wrote:There was certainly one that imported the text. I used it to edit contracts before!
Maybe I missed that one, on the grounds of the "import as an image" one being so naff!


Cheers,
Norm.
by NormanDunbar
Wed Mar 04, 2015 4:14 pm
Forum: Software & Programming
Topic: SBASIC / SuperBASIC Reference Manual - HTML
Replies: 44
Views: 19155

Re: SBASIC / SuperBASIC Reference Manual - HTML

Hi Rich, That said, no-one has come forward to offer to do any more work on the HTML version for some months - this is a community project, but maybe people don't want it.... I sent you some HTML files today, hopefully, all nicely tidied up and properly formatted etc. It's been a while since I had a...