Re: [Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread Norman Dunbar via Ql-Users
This might be handy too then, it's the official 68000 programmers manual, 
covering all the cpus:

http://www.nxp.com/docs/en/reference-manual/M68000PRM.pdf


Have fun.


Cheers,
Norm.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List


Re: [Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread Daniel Baum via Ql-Users
Hi Norman,

I am familiar with your excellent Assembly Language book.

I will take a look at the toolkit that you mention; it certainly sounds as
if it could be used as a template for what I am looking for.

Come to think of it, I have actually never written any assembly language on
the QL, as far as I remember. The last time I attempted to write assembly,
it was 68000 code on an Atari ST. The ST went up into the attic in the
early 90s (it is still there), so it must have been before that.

D.

PS. Thanks for the great EasyPtr tutorial too.

On Sat, Sep 9, 2017 at 12:09 AM, Norman Dunbar via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> Evening Daniel,
>
> Re assembly language and writing extensions, my eBook has a few chapters
> on that. Help yourself to http://qdosmsq.dunbar-it.co.
> uk/downloads/QLToday/QL_Assembly.pdf.
>
> If you need to return two values, or four, then take a look at the
> DJTOOLKIT sources at https://github.com/SinclairQL/DJToolkit, you will be
> interested in the MAX_CON function which is passed a channel I'd and 4
> integers, and returns an error code as the result, plus updates the 4
> integers with the channel's window or console sizes and positions:
>
> **
> * error = MAX_CON #channel, x%, y%, xo%, yo% => returns an error and
> *updates the 4 (non-channel) parameters to be the
> *maximum sizes & positions that a CON channel is.
> **
>
> You could write something similar quite easily, I'm sure.
>
> HTH
>
> Cheers,
> Norm.
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> ___
> QL-Users Mailing List
>
___
QL-Users Mailing List


Re: [Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread Norman Dunbar via Ql-Users
Evening Daniel,

Re assembly language and writing extensions, my eBook has a few chapters on 
that. Help yourself to 
http://qdosmsq.dunbar-it.co.uk/downloads/QLToday/QL_Assembly.pdf.

If you need to return two values, or four, then take a look at the DJTOOLKIT 
sources at https://github.com/SinclairQL/DJToolkit, you will be interested in 
the MAX_CON function which is passed a channel I'd and 4 integers, and returns 
an error code as the result, plus updates the 4 integers with the channel's 
window or console sizes and positions:

**
* error = MAX_CON #channel, x%, y%, xo%, yo% => returns an error and
*updates the 4 (non-channel) parameters to be the
*maximum sizes & positions that a CON channel is.
**

You could write something similar quite easily, I'm sure.

HTH

Cheers,
Norm.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
QL-Users Mailing List


Re: [Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread Daniel Baum via Ql-Users
Hi François,

Thanks for the pointer to Dilwyn's tutorial.

It is helpful but it doesn't contain what I was looking for. I did
eventually find the answer here:

http://www.qlforum.co.uk/viewtopic.php?f=3=1027

The solution involves PEEKing the window definition table, which is
effective, but not exactly obvious, at least if you've become unaccustomed
to 1980s programming conventions.

I have never written a Basic extension - it's a very long time since I last
attempted to write something in assembler, but this seems like a prime
candidate for my first attempt, assuming it doesn't already exist somewhere.

Rgds,

Daniel

On Fri, Sep 8, 2017 at 9:32 PM, François Van Emelen via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> Op 8/09/2017 om 19:59 schreef Daniel Baum via Ql-Users:
>
>> Hi all,
>>
>> I am trying to get my head around EasyPtr (again).
>>
>> I have been playing with the new ability to create resizable windows. This
>> turns out to be not terribly difficult, and I was able to create a
>> resizable version of the calculator from Norman Dunbar's tutorial without
>> suffering too much.
>>
>> However, creating a freely resizable version of QBase is dependent on
>> being
>> able to read the size of the newly resized window.and its components. I
>> have been unable to find any obvious way to do this.
>>
>> Does anyone know how this is accomplished?
>>
>> Thanks
>>
>> Daniel
>> ___
>> QL-Users Mailing List
>>
>>
>> Hi,
>
> Dilwyn have explained this in 'SCALING IN EASYPTR 4'. Can't remember the
> name of the file. Have a look at his website.
>
> François Van Emelen
>
>
>
>
> ___
> QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Q68 Advanced Notice

2017-09-08 Thread Urs Koenig (QL) via Ql-Users
Peter wrote:
> I hope to be able to comment more about the Q68 at a later time, right now
> let me say thanks to...
> 
> ... Laurence Reeves and Tony Firshman for releasing Minerva as free QL
> operating system, motivating me to develop the Q68 at all
> 
> ... Richard Zidlicky for bringing Minerva plus PS/2 driver to the Q68 and
his
> great help debugging CPU cores
> 
> ... Mark Swift for QDOS Classic, structured so nicely that even I could
port it to
> the Q68 in a single day
> 
> ... Tobias Gubener for the CPU core the Q68 finally uses
> 
> ... Adrian Ives for the QL-SD driver, initially used for Q68 mass storage
> 
> ... Tony Tebby for relasing SMSQ/E as free software after all
> 
> ... Wolfgang Lenerz for his outstanding achievement of porting SMSQ/E to
> the Q68
> 
> ... Wolfgang Lenerz again for very helpful tools, extra drivers and docs
> 
> ... Derek Stewart for his courage and lots of work manufacturing the Q68
> hardware and making it available for the public
This "who's who" is a kind of an extract of the all-time QL hall of fame.

But for the Q68 I believe the real work was done by Peter (HW) and Wolfgang
(OS) plus Derek (Manufacturing). Hence they deserve the roses.

QL forever!

Urs
http://www.sinclairql.net/ - THE DISTRIBUTION, QL/E and more...

___
QL-Users Mailing List


Re: [Ql-Users] Q68 Advanced Notice

2017-09-08 Thread Urs Koenig (QL) via Ql-Users
Derek wrote:
> Q68 Advanced Notice
> ---
> 
> PCB Photograph available at:
> 
> http://qlforum.co.uk/viewtopic.php?f=2=2082#p18729
> 
> Features:
> 
> - Operating System: SMSQ/E
> - CPU: 68000 compatible
> - Speed: 40Mhz
> - RAM: 32 MB
> - SDHC: Two fullsize slots, hot plugging
> - QXL.WIN style storage container format
> - Keyboard and mouse: Combined PS/2 Connection, scrollwheel support
> - VGA: 1024x768 VESA for flatscreen, CRT or HDMI converter
> - Graphic modes:
>  -  256x256 QL Mode 8
>  -  512x256 QL Mode 4
>  -  512x256 Q60 65536 colour
>  - 1024x512 Q60 65536 colour
>  - 1024x768 QL Mode 4
>  -  512x384 Q60 65536 colour
> - Serial port
> - Stereo sampled sound, 3.5 mm output socket
> - Buffered real time clock
> - I2C interface
> - Ethernet, no software support yet
> - QL style LED colours
> - PCB Size: 8x10 cm
> - Recommended power supply: 5V @ 1A
> - Silent operation, no fans or heat
> - Case: Optional
> 
> Available: Mid October 2017
> Price: To be decided

Great announcement! I intend to buy one or two for my own tinkering.

QL forever!

Urs
http://www.sinclairql.net/ - THE DISTRIBUTION, QL/E and more...


___
QL-Users Mailing List


Re: [Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread François Van Emelen via Ql-Users

Op 8/09/2017 om 19:59 schreef Daniel Baum via Ql-Users:

Hi all,

I am trying to get my head around EasyPtr (again).

I have been playing with the new ability to create resizable windows. This
turns out to be not terribly difficult, and I was able to create a
resizable version of the calculator from Norman Dunbar's tutorial without
suffering too much.

However, creating a freely resizable version of QBase is dependent on being
able to read the size of the newly resized window.and its components. I
have been unable to find any obvious way to do this.

Does anyone know how this is accomplished?

Thanks

Daniel
___
QL-Users Mailing List



Hi,

Dilwyn have explained this in 'SCALING IN EASYPTR 4'. Can't remember the 
name of the file. Have a look at his website.


François Van Emelen




___
QL-Users Mailing List

[Ql-Users] EasyPtr and rescalable windows.

2017-09-08 Thread Daniel Baum via Ql-Users
Hi all,

I am trying to get my head around EasyPtr (again).

I have been playing with the new ability to create resizable windows. This
turns out to be not terribly difficult, and I was able to create a
resizable version of the calculator from Norman Dunbar's tutorial without
suffering too much.

However, creating a freely resizable version of QBase is dependent on being
able to read the size of the newly resized window.and its components. I
have been unable to find any obvious way to do this.

Does anyone know how this is accomplished?

Thanks

Daniel
___
QL-Users Mailing List