Search found 1322 matches
- Wed Apr 08, 2015 3:31 pm
- Forum: Software & Programming
- Topic: Cursor Position (Invisible)
- Replies: 2
- Views: 1846
Re: Cursor Position (Invisible)
I am after finding the character position 0-80 odd and y axis 0-22 roughly. As already mentioned, you need an external toolkit. I use one with the keywords CHAN_W% and CHAN_L, probably similar in function to Tobias'es CHAN_BASE. I think youll find this one or similar in a DIY Toolkit. However, olde...
- Wed Apr 08, 2015 1:24 pm
- Forum: Software & Programming
- Topic: Command line parameters
- Replies: 30
- Views: 13989
Re: Command line parameters
If your m/c routine is an S*Basic PROCedure there is no need to clear the stack on return! Just leave it alone. Its really not that hard to get the name of a variable rather than its value (which, in effect, is what you are trying to do with quote-less file names): Eg: MYPROC file_name_ext or MYPROC...
- Tue Apr 07, 2015 10:23 am
- Forum: Software & Programming
- Topic: Command line parameters
- Replies: 30
- Views: 13989
Re: Command line parameters
On returning from a machine code S*Basic function the stack does have to be in order: Only the return value must be left on the stack with both a1 and the RI stack pointer pointing to it (and d4 must contain the code for the type of value to be returned). If you fail to do this, the stack will grow ...
- Fri Mar 13, 2015 12:57 am
- Forum: Software & Programming
- Topic: Minerva Assembly
- Replies: 10
- Views: 6048
Re: Minerva Assembly
Tobias, The link file I mentioned only contains library references. I believe it was put together by Lau himself, so it should be pukka. I attach it here, in case it has gone missing elsewhere. However, this presupposes that you have all the other cct files. Most Qdos roms are exactly 48k. I thought...
- Thu Mar 12, 2015 9:16 pm
- Forum: Software & Programming
- Topic: Minerva Assembly
- Replies: 10
- Views: 6048
Re: Minerva Assembly
I have the Minerva 1.98 sources, obtained from either Dilwyn or Laurence. In the directory M_ROM you should find the link file. I just assembled it now and everything appeared to go well. However, the resultant file is 48822 bytes which differs from other rom files, including one I have here called ...
- Sun Feb 01, 2015 1:40 pm
- Forum: Software & Programming
- Topic: SBASIC not compatible with SB: PROCedure in PROCedure
- Replies: 3
- Views: 2090
Re: SBASIC not compatible with SB: PROCedure in PROCedure
Nested procedures arent implemented either in SuperBASIC or SBASIC. A lazy interpreter let a cheeky programmer get away with it in the instance above. A shame, its a nice idea.....
DeFine PROCedure something
DeFine PROCedure pat
do something
END DeFine PROCedure
END DeFine PROCedure
...
Per
- Sun Feb 01, 2015 1:32 pm
- Forum: General QL Chat
- Topic: How to start a SBASIC from other languages (e. g. C, ASM)
- Replies: 24
- Views: 10234
Re: How to start a SBASIC from other languages (e. g. C, ASM
Ah, the fix to the loosing control issue I mentioned above is:
but then there are no error messages at all. There may well be other and better ways to do it..
Per
Code: Select all
19 cm$ = 'ci = fop_in(#0; "' & pip$ & 'o")'
Per
- Sun Feb 01, 2015 12:55 pm
- Forum: General QL Chat
- Topic: How to start a SBASIC from other languages (e. g. C, ASM)
- Replies: 24
- Views: 10234
Re: How to start a SBASIC from other languages (e. g. C, ASM
Tobias et al, One of the reasons to use Things is that you can access systems facilities from any programming language. I dont know the details from c68, but in SBASIC you can do the following: EXEP "SBASIC"; 'LRUN "win1_myprog_bas"' ie you feed the (inbuilt) SBASIC Thing with th...
- Sun Jan 25, 2015 1:13 am
- Forum: General QL Chat
- Topic: Where to get all the new keywords, possibilities?
- Replies: 2
- Views: 2259
Re: Where to get all the new keywords, possibilities?
There are various other lists and manuals around. Try Dilwyn! You could try the original QL manuals, though the corresponding QPC manuals are mainly (incomplete) update on these. And the TK2 manuals (The Miracle Systems one I usually found most comprehensive). An index of most keyword in the wild ca...
- Sun Jan 25, 2015 12:45 am
- Forum: General QL Chat
- Topic: How to start a SBASIC from other languages (e. g. C, ASM)
- Replies: 24
- Views: 10234
Re: How to start a SBASIC from other languages (e. g. C, ASM
You will find that information in the QPC Keywords manual. Basically you can just use the EX* command family to execute an SBasic job just like any other. From the manual: EX, EXEC EW, EXEC_W ET SMSQ/E EX and EW will load a sequence of programs and execute them in parallel. EX will return to the com...