@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
Posted: 05 Jan 2023 10:57
by exxos
Steve wrote: 05 Jan 2023 10:08
@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.
Re: exxos blog - random goings on
Posted: 05 Jan 2023 11:34
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 :)
Re: exxos blog - random goings on
Posted: 05 Jan 2023 11:42
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.
'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.
Re: exxos blog - random goings on
Posted: 05 Jan 2023 13:08
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
2.PNG
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
Re: exxos blog - random goings on
Posted: 05 Jan 2023 14:19
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
22.PNG
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
Re: exxos blog - random goings on
Posted: 05 Jan 2023 15:04
by derkom
HigashiJun wrote: 05 Jan 2023 07:54
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
Re: exxos blog - random goings on
Posted: 05 Jan 2023 17:03
by exxos
It is starting to slowly look like it is supposed to!
Capture.PNG
Does not work in TOS anymore though now :lol: :roll:
Re: exxos blog - random goings on
Posted: 05 Jan 2023 19:24
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: