Still hate programming :lol:
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
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
exxos blog - random goings on
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
-
HigashiJun
- Posts: 2365
- Joined: 19 Jun 2020 07:21
- Location: Tokyo
Re: exxos blog - random goings on
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
:bravo: :lolbig:
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
So starting to patch back in the test routines. Of the time text is misaligned (one character to the right to many) and other times like in the example below, I run the first test and it put the text in the wrong boxes and even included to 0% scores.. bonkers.
Now need to work out why those routines are now misbehaving :roll:
Now need to work out why those routines are now misbehaving :roll:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
Got another mystery now it seems :roll:
I have it outputting a bit of debug information in the main event loop.
mess(3) is what evnt_multi is returning when I click on the main window or a test. It does not match the AES handle of the window.
Then if I move the window starts to behave correctly..
BUT.
The window move functions do this, which doesn't match to start with. So should not be able to even move the window in the first place :pullhair:
So for whatever reason the AES does not see any activity on the window whatsoever other than the title bar clicks :shrug:
EDIT:
I could just remove the handle check, then the mouse clicks register as expected. But I don't think it is really safe to do this with key presses as well. As it would be capturing "ANY" key presses the system sees and GB7 would process them keypresses even though it is not in focus. In actual fact I think the original GB6 I did probably suffer from that problem :shrug:
EDIT2:
Just tried my multitasking environment and pressing "A" selects stuff on the desktop and doesn't trigger GB6 events. Maybe you're not supposed to check the handle.. Will have to see what other program examples do..
I have it outputting a bit of debug information in the main event loop.
Code: Select all
MAINID ,our_aeshandle ,mess(3) ,e
0 1 0 0 Then if I move the window starts to behave correctly..
Code: Select all
MAINID ,our_aeshandle ,mess(3) ,e
0 1 1 16 The window move functions do this, which doesn't match to start with. So should not be able to even move the window in the first place :pullhair:
Code: Select all
if mess(3)=our_aeshandleEDIT:
I could just remove the handle check, then the mouse clicks register as expected. But I don't think it is really safe to do this with key presses as well. As it would be capturing "ANY" key presses the system sees and GB7 would process them keypresses even though it is not in focus. In actual fact I think the original GB6 I did probably suffer from that problem :shrug:
EDIT2:
Just tried my multitasking environment and pressing "A" selects stuff on the desktop and doesn't trigger GB6 events. Maybe you're not supposed to check the handle.. Will have to see what other program examples do..
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
So it looks like the handle is only checked when clicking the window for moving it for example.
This comes from the AESDEMO.BAS examples. I assume this is the correct method and I am not supposed to be checking the handle for events inside the window.. Bizarre...
This comes from the AESDEMO.BAS examples. I assume this is the correct method and I am not supposed to be checking the handle for events inside the window.. Bizarre...
Code: Select all
IF mes_type>=WM_TOPPED AND mes_type<=WM_MOVED THEN
IF mess(3)<>our_aeshandle THEN EXIT SUB 'its not our window
END IF
SELECT CASE mes_type
CASE MN_SELECTED:
' its a menu-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
Well I found why the main window figures were not updating correctly :lol: :roll:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
Puzzling over this now. As GB must be some internal number as it seems to vary.
The accompanying code is basically..
So in TOS206 it outputs "1" in XaAES it outputs "-1" so .... :WTF:
Code: Select all
MAX_PROGS=PEEKW(PEEKL(GB+4)+2Code: Select all
IF max_progs>1 THEN
IF GETCOOKIE("MagX",dum&) THEN cookie_tasking$="MagiC Multitasking O/S" : EXIT FUNCTION
IF GETCOOKIE("Gnva",dum&) THEN cookie_tasking$="Geneva Multitasking O/S" : EXIT FUNCTION
IF GETCOOKIE("MINT",dum&) THEN cookie_tasking$="MultiTOS O/S (MINT)" : EXIT FUNCTION
ELSE
cookie_tasking$="Standard TOS Single tasking"
END IF-
stephen_usher
- Site sponsor

- Posts: 7367
- Joined: 13 Nov 2017 19:19
- Location: Oxford, UK.
Re: exxos blog - random goings on
-1 would usually denote an error condition.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
-
exxos
- Site Admin

- Posts: 28224
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: exxos blog - random goings on
ah yep. So no idea about why that errors then. I will just remove that function and not bother with it.
Who is online
Users browsing this forum: CCBot, DuckAssistBot and 13 guests