Search found 528 matches

by pjw
Sun Jun 30, 2019 5:49 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

the above algorithm is (from a pure FILL perspective) actually one of the most efficient ones - It guarantees that every pixel to be filled is only visited exactly once. Youre right: Its fantastic! No need to look further ;) To check out your claim that it visits each pixel only once, I did some (n...
by pjw
Sun Jun 30, 2019 12:44 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

Fiddled a bit just for the fun of it.... Very nice! :) Something to work with. Theres also something called QuickFill which by all accounts seems to be one of the more efficient and versatile algorithms around. Unfortunately, I dont know enough C++ to understand in detail how it works or to transla...
by pjw
Sun Jun 30, 2019 11:10 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

If you can define a shape as a blob, theres an inbuilt routine to fill it with any colour or texture, in any mode. I dont know what limitations the routine has re size, memory or efficiency, but it might be worth investigating.
by pjw
Sun Jun 30, 2019 11:04 am
Forum: Software & Programming
Topic: Hardware pointers and cursors.
Replies: 30
Views: 2230

Re: Hardware pointers and cursors.

Dave, I didnt mean to sound as harsh as it came across; I just wanted to try to save you from another distraction ;) Being a sufferer myself, Im familiar with how the imagination races ahead, generating ideas at thousands of times the speed of any chance of implementing them! Im sure many people her...
by pjw
Sat Jun 29, 2019 11:12 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

tcat wrote:.. EDIT, Hi Per,
Knoware/toolkits/RPIX% does colour picking?
Very useful!
Tom
Yes. Its not as clever as the original RPIXL from Qptr, but it will read a pixel relative to a given window, or relative to the screen, and return the colour in native or RGB mode.
by pjw
Sat Jun 29, 2019 11:07 pm
Forum: Software & Programming
Topic: Hardware pointers and cursors.
Replies: 30
Views: 2230

Re: Hardware pointers and cursors.

.. Let me explain this in a way that might spark some empathy. .. He, he. Poor sod. Now you know how Rip van Winkle must have felt when he woke up after a hundred years! Look, its not that I wouldnt want a new graphics accellerator standard or anything, but I wouldnt want one designed by someone wh...
by pjw
Sat Jun 29, 2019 4:31 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

Tomas, the QL's native FILL works with a simple scanline algorithm that simply remembers a start and an endpoint per scanline while FILL is active... Sorry, Tobias. I did read your piece some days ago and just forgot. I'll read the Wikipedia link you posted and shut up until I can improve on silenc...
by pjw
Sat Jun 29, 2019 4:24 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 6779

Re: SCREEN1 = SYSVAR @ JSROM

I am further thinking about fill. I do scan line fill for circle, and ellipse using BLOCK, that I now have optimised. Filled rectangle really is BLOCK on its own... Funnily enough, Ive also been thinking about FILL recently, not least because the built-in fill doesnt work for larger screen resoluti...
by pjw
Sat Jun 29, 2019 11:58 am
Forum: Software & Programming
Topic: Hardware pointers and cursors.
Replies: 30
Views: 2230

Re: Hardware pointers and cursors.

.. I've come by my dislike of [PE] honestly - which is that if you sit down at a computer by yourself and try to understand it, it is one of the most obtuse systems ever devised by man to torture another man. This is made worse if you've used more modern systems, and learned the One Appointed True ...
by pjw
Thu Jun 27, 2019 10:21 pm
Forum: Software & Programming
Topic: Knoware.no
Replies: 16
Views: 1299

Re: Knoware.no

Hi, Perfect, I like `Last Match' game. It reminds a film hero in `Last Year at Marienbad', who was playing some tricks on a lady, always winning this sort of game. If I am right, there is some binary logic strategy, when applied the player cannot lose. Would it it run on a black box QL? Yes, Match ...