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
See here for more information viewtopic.php?f=20&t=7296
exxos blog - random goings on
Re: exxos blog - random goings on
@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)
Re: exxos blog - random goings on
Have no idea. I half remember looking at GFA in the 90s and thinking nope. Cannot remember why.Steve wrote: Thu Jan 05, 2023 10:08 am @exxos Is Hisoft basic completely foreign to other basics like GFA-Basic?
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.
Re: exxos blog - random goings on
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 

Re: exxos blog - random goings on
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 
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
In the video below I put a one second delay in the redraw events so I can see what is happening easier.
I wonder if this is also because it uses HISOFT functions to do the rectangle draws

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

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

Re: exxos blog - random goings on
Replacing the rectangle list functions did not seem to help. But I guess not using the HISOFT controls are probably a good thing anyway.
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.
Code: Select all
'WINDOW GET MAINID,get_first,x1,y1,w1,h1
junk=wind_get( our_aeshandle, WF_FIRSTXYWH, x1,y1,w1,h1 )
Re: exxos blog - random goings on
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
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.
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

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.
Re: exxos blog - random goings on
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.
EDIT:
Okay that amazement did not last long because it does not redraw the contents when another window is put on top.
EDIT:
Okay that amazement did not last long because it does not redraw the contents when another window is put on top.

Re: exxos blog - random goings on
Will never forget this superb cosplay from Dragon Con a few years back...HigashiJun wrote: Thu Jan 05, 2023 7:54 am I guess a lot of kids cried when Artax the horse died in the swamps...![]()
Re: exxos blog - random goings on
It is starting to slowly look like it is supposed to!
Does not work in TOS anymore though now

Does not work in TOS anymore though now


Re: exxos blog - random goings on
Since using the new window move function I seem to have developed a new problem
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

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
