Please be advised that access to Atari Forum this coming Friday will be sporadic whilst the backend operating system and dependency upgrades are carried out.
CosmosEx and GFA Basic
Moderators: Jookie, Moderator Team
-
- Hardware Guru
- Posts: 2823
- Joined: Tue May 24, 2016 6:47 pm
CosmosEx and GFA Basic
Over in the German forum (https://forum.atari-home.de/index.php/t ... #msg260134) there is a user who observed that GFA Basic (multiple versions including 3.6TT) hangs when used with the CosmosEx as keyboard replacement. The same versions work when he connects the original keyboard. Someone else added that GFA Basic sends a command to query the joysticks; and then the question came up whether said command is correctly handled by the CosmosEx.
Now I wonder - considering that GFA Basic is not an obscure program: Is this a known issue? Is there a firmware fix or workaround?
PS: Note that I don't have a CosmosEx and cannot test anything myself.
Now I wonder - considering that GFA Basic is not an obscure program: Is this a known issue? Is there a firmware fix or workaround?
PS: Note that I don't have a CosmosEx and cannot test anything myself.
-
- Fuji Shaped Bastard
- Posts: 2821
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
-
- Hardware Guru
- Posts: 2823
- Joined: Tue May 24, 2016 6:47 pm
Re: CosmosEx and GFA Basic
Do you know where that NOP needs to go? Otherwise, I'll have a look later. (However, I think this might be something the CosmosEx developers should test and possibly fix, as well.)
-
- Fuji Shaped Bastard
- Posts: 2821
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
Re: CosmosEx and GFA Basic
Well from my point of view CosmosEx needs fixed. GFA works everywhere else as is. I only work with 3.6 (English) so it depends on what version he wants to use and what language, obviously that would change the offset for the nop. Do you know his preference?czietz wrote: Sun Apr 17, 2022 4:12 pm Do you know where that NOP needs to go? Otherwise, I'll have a look later. (However, I think this might be something the CosmosEx developers should test and possibly fix, as well.)
-
- Hardware Guru
- Posts: 2823
- Joined: Tue May 24, 2016 6:47 pm
Re: CosmosEx and GFA Basic
I fully agree. In fact, I'm wondering why this was not already found and fixed on the CosmosEx side a long time ago. GFA Basic is not exactly a "niche" program.lp wrote: Sun Apr 17, 2022 4:24 pm Well from my point of view CosmosEx needs fixed. GFA works everywhere else as is.
Sorry, I don't. But then again, there's a German saying (also used figuratively) that one has to eat whatever is put on the table. Hence, if you know how to patch 3.6 English without much effort, I would post that over in the German forum.lp wrote: Sun Apr 17, 2022 4:24 pm I only work with 3.6 (English) so it depends on what version he wants to use and what language, obviously that would change the offset for the nop. Do you know his preference?
-
- Fuji Shaped Bastard
- Posts: 2821
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
Re: CosmosEx and GFA Basic
At the highlighted line place a nop and eliminate the loop that waits for the reply.
Disassembly is the English 3.6 version that is 104597 bytes.You do not have the required permissions to view the files attached to this post.
-
- Hardware Guru
- Posts: 2823
- Joined: Tue May 24, 2016 6:47 pm
Re: CosmosEx and GFA Basic
Thank you!
Found the place in the file, put in a NOP, and gave it to the CosmosEx user. Hopefully he'll report back.
Found the place in the file, put in a NOP, and gave it to the CosmosEx user. Hopefully he'll report back.
-
- 10 GOTO 10
- Posts: 3361
- Joined: Fri Oct 04, 2002 11:23 am
- Location: Warsaw, Poland
Re: CosmosEx and GFA Basic
I wonder why it works fine with the TOS and CosmosEx needs that NOP.
ATW800/2 / V4sa / Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
-
- Fuji Shaped Bastard
- Posts: 3413
- Joined: Sun Aug 03, 2014 5:54 pm
Re: CosmosEx and GFA Basic
GFA-Basic sends a command to the IKBD to query the joysticks, then waits for a reply. The CosmosEx does not send a reply, so GFA waits forever.
-
- Hardware Guru
- Posts: 2823
- Joined: Tue May 24, 2016 6:47 pm
Re: CosmosEx and GFA Basic
He did: He confirmed that with this single NOP-patch GFA Basic runs when using the CosmosEx as keyboard replacement. For reference: You can find the version where I applied the NOP as suggested here: https://forum.atari-home.de/index.php/t ... #msg260160czietz wrote: Sun Apr 17, 2022 7:54 pm Found the place in the file, put in a NOP, and gave it to the CosmosEx user. Hopefully he'll report back.
Thanks again.
-
- Fuji Shaped Bastard
- Posts: 2821
- Joined: Wed Nov 12, 2003 11:09 pm
- Location: GFA Headquarters
Re: CosmosEx and GFA Basic
Nice. What's the odds of getting CosmosEx corrected? Don't have one myself, just curious.czietz wrote: Mon Apr 18, 2022 7:09 am He did: He confirmed that with this single NOP-patch GFA Basic runs when using the CosmosEx as keyboard replacement. For reference: You can find the version where I applied the NOP as suggested here: https://forum.atari-home.de/index.php/t ... #msg260160
Thanks again.
-
- Forum Administrator
- Posts: 5836
- Joined: Wed Oct 23, 2002 4:36 pm
- Location: Friedrichshafen, Germany
Re: CosmosEx and GFA Basic
The user reports that it is working though STICK() and STRIG() functions are not working anymore acording to czietz.
this is a strong indication that the CosmosEX is at fault there...even if GFABASIC could time out the wait for an reply from the IKBD.
this is a strong indication that the CosmosEX is at fault there...even if GFABASIC could time out the wait for an reply from the IKBD.
Simon Sunnyboy/Paradize - http://paradize.atari.org/
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
-
- Captain Atari
- Posts: 480
- Joined: Fri Mar 01, 2013 10:52 pm
Re: CosmosEx and GFA Basic
Are we able to submit a pull request to kookie?