You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296

exxos blog - random goings on

Blogs & guides and tales of woo by forum members.
Steve
Posts: 3063
Joined: Fri Sep 15, 2017 11:49 am

Re: exxos blog - random goings on

Post by Steve »

@exxos Is Hisoft basic completely foreign to other basics like GFA-Basic? I'm thinking that if it is similar would it be worth porting over to GFA, especially since Lonny Pursell is still actively working on it & he has a great Discord group - so basically if you got a little stuck on something you'd have the master right there to give you advice (And others on the Discord)
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

Steve wrote: Thu Jan 05, 2023 10:08 am @exxos Is Hisoft basic completely foreign to other basics like GFA-Basic?
Have no idea. I half remember looking at GFA in the 90s and thinking nope. Cannot remember why.

Though I really don't want to rewrite the whole thing from the ground up for a third time while trying to figure out a new programming language. If I was going to do that I would probably just not bother and use assembly or C instead. Its is not really worth learning a new language for limited apps I will be writing.

I was thinking about the flashy clock software in the mix of all this because that was written in HISOFT as well. That isn't likely going to play nice multitasking environments either. Though that would involve a total rewrite as well. I think in the mix of all this I think I would just not bother writing a fancy GUI again. Not because I don't want things to look pretty, but the sheer amount of time involved.
Steve
Posts: 3063
Joined: Fri Sep 15, 2017 11:49 am

Re: exxos blog - random goings on

Post by Steve »

I guess that's kind of what I'm getting at, at the moment we're both unaware whether hisoft basic is similar to gfa - if for example they were similar, and a port to gfa isn't too difficult (which, people in the *active* gfa community would gladly help with) Then it would pay massive dividends for you. So in my estimation, it's worth investigating :)
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

More experimenting with the redraw problem. It is odd because it only seems to happen when there is three sections to redraw. And it does them twice :shrug:

The AES ascending redraw events twice as illustrated with "window 3". Though not sure why that happens and why the rectangle list comes back as the exactly the same rectangles to redraw :shrug:

In the video below I put a one second delay in the redraw events so I can see what is happening easier.





Code: Select all

 28            4             337           83            400           400 
 20            4             340           446           393           33 
 20            3             332           197           5             249 
REDRAW CALLED
 28            4             376           82            400           400 
 20            3             337           141           39            305 
REDRAW CALLED
 28            4             349           204           400           400 
 20            3             376           141           400           63 
REDRAW CALLED
 20            3             749           204           27            242 
REDRAW CALLED
 28            4             352           282           400           400 
 20            3             349           204           3             242 
REDRAW CALLED
 20            3             352           204           397           78 
REDRAW CALLED
 28            4             353           98            400           400 
 20            4             356           376           393           118 
 20            3             352           282           1             164 
REDRAW CALLED
 28            4             393           171           400           400 
 20            3             353           141           40            305 
REDRAW CALLED
 20            3             393           141           360           30 
REDRAW CALLED

I wonder if this is also because it uses HISOFT functions to do the rectangle draws :roll:
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

Replacing the rectangle list functions did not seem to help. But I guess not using the HISOFT controls are probably a good thing anyway.

Code: Select all

'WINDOW GET MAINID,get_first,x1,y1,w1,h1
junk=wind_get( our_aeshandle, WF_FIRSTXYWH, x1,y1,w1,h1 )
I think there must be something else to deal with the redraw events which I am missing. Because I redraw the intersections of the window and it works fine. But there is no need to do this every time I think.
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

Some more testing as to what the area is the AES is reporting on a redraw event.

So the top window is moved from left to right. Then the AES since the area which is now exposed which is correctly redrawn.

The area on the right which is now "wiped" is what the intersection routine is doing. At this point it would not actually need to redraw that part. So I'm not sure what the mechanism is to differentiate to what it needs to and doesn't need to redraw :shrug:


1.PNG
1.PNG (130.42 KiB) Viewed 1445 times
2.PNG
2.PNG (60.12 KiB) Viewed 1445 times

I just turned off the intersection altogether and it seems to almost behave correctly anyway. Though opening up a desktop window does not seem to redraw properly half the time. I think that is a separate issue anyway.

EDIT:

Ah yep its when I clear the new window, it clears the windows total area, not just whats visible. So I just need to do a proper redraw routine for that and hopefully that will clear it all up.

Capture.PNG
Capture.PNG (72.02 KiB) Viewed 1442 times
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

oh cool. Putting text in the new window and moving it, the text automatically moves with the window contents! I had the horrible notion that I would have to process the text drawing manually.

11.PNG
11.PNG (66.07 KiB) Viewed 1439 times
22.PNG
22.PNG (87.82 KiB) Viewed 1439 times

EDIT:

Okay that amazement did not last long because it does not redraw the contents when another window is put on top. :roll:

33.PNG
33.PNG (78.69 KiB) Viewed 1437 times
User avatar
derkom
Moderator
Moderator
Posts: 1226
Joined: Sun Jul 29, 2018 6:45 pm

Re: exxos blog - random goings on

Post by derkom »

HigashiJun wrote: Thu Jan 05, 2023 7:54 am I guess a lot of kids cried when Artax the horse died in the swamps... :cry:
Will never forget this superb cosplay from Dragon Con a few years back...

EDiiWelXoAAGy3I.jpg
EDiiWelXoAAGy3I.jpg (102.86 KiB) Viewed 1433 times
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

It is starting to slowly look like it is supposed to!

Capture.PNG
Capture.PNG (162.71 KiB) Viewed 1418 times

Does not work in TOS anymore though now :lol: :roll:
User avatar
exxos
Site Admin
Site Admin
Posts: 25748
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: exxos blog - random goings on

Post by exxos »

Since using the new window move function I seem to have developed a new problem :roll:

Moving a window generally works fine until it moves off the screen and then moved back again. The whole window vanishes other than the contents that is :pullhair:

1.PNG
1.PNG (107.06 KiB) Viewed 1444 times
3.PNG
3.PNG (112.2 KiB) Viewed 1444 times
Post Reply

Return to “MEMBER BLOGS”