VISION 4.5a is out!

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

JeanMars
Captain Atari
Captain Atari
Posts: 203
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Postby JeanMars » Fri Sep 27, 2019 1:57 pm

Hi Thorsten,

OK will have a look; in how many colors mode are you viewing this picture?

Did you have time to make a test with last release about the timeout for Drag&Drop protocol?

Cheers,
Jean

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 969
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Postby ThorstenOtto » Fri Sep 27, 2019 2:30 pm

It is viewed in truecolor, but the file itself only has 16 colors. Funnily, Pixart4 displays it using the same, wrong colors. Graftool does not even recognize it, and smurf crashes...

Vision display it like
Screenshot_20190927_162706.png


but it should look like

Screenshot_20190927_162744.png


Drag&drop still does not seem to work, i have to wait ~3sec until i get an error
You do not have the required permissions to view the files attached to this post.

JeanMars
Captain Atari
Captain Atari
Posts: 203
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Postby JeanMars » Fri Sep 27, 2019 3:40 pm

Hi Thorsten,

I have an idea for the BMP file, need to check will let you know.
BTW, why zview reports a Degas Elite image file here?

For Drag&drop, could you please post vision.log with all traces bit set?
I would expect this kind of trace:
AP_DRAGDROP received for xxxx
AP_DRAGDROP, NACK returned

OL
Atari Super Hero
Atari Super Hero
Posts: 527
Joined: Fri Apr 01, 2005 6:59 am
Contact:

Re: VISION 4.5a is out!

Postby OL » Fri Sep 27, 2019 3:46 pm

ThorstenOtto wrote:The definitions in Pure-C are for its library function signal():

#define SIG_IGN (sigfunc_t)-2L

But MiNT uses

#define SIG_IGN ((__sighandler_t) 1L)

Maybe they are defined to the correct value somewhere else in your project (portab.h?), because Pure-C's signal() does not even know about SIGPIPE

>I not use the toslib from PureC but the replacement from Philipp Donze for around 15 years.

That might also explain it ;)


The oldest I have february 21 1994 (I think original):
#define SIG_IGN 1 /* ignore the signal */

From Philipp January 22 2005
#define SIG_IGN 1L

Strange !
Philipp library pctoslib replacement really work nice

Olivier
OL

JeanMars
Captain Atari
Captain Atari
Posts: 203
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Postby JeanMars » Fri Sep 27, 2019 7:36 pm

cardcodec.bmp loading is fixed, it was just an extension of original BMP format (from the 90s) that was not properly handled.

Available at http://vision.atari.org/download/temp/vision.zip as usual.

Cheers,
Jean

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 969
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Postby ThorstenOtto » Fri Sep 27, 2019 10:01 pm

JeanMars wrote:BTW, why zview reports a Degas Elite image file here?


The BMP file is just a snapshot of that dialog, don't get confused ;)

JeanMars
Captain Atari
Captain Atari
Posts: 203
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Postby JeanMars » Fri Sep 27, 2019 10:52 pm

LOL, stupid confusion :-)

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 969
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Postby ThorstenOtto » Sat Sep 28, 2019 5:40 am

Tested new version, and works ;) Drag&Drop also seems to work (in the sense that i immediately get a response now).

ThorstenOtto
Atari Super Hero
Atari Super Hero
Posts: 969
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Postby ThorstenOtto » Sat Sep 28, 2019 5:49 am

OL wrote:[From Philipp January 22 2005
#define SIG_IGN 1L

Strange !
Philipp library pctoslib replacement really work nice


But thats not quite right. Psignal() and signal() are two different functions. The prototype of the callback function is also different. I've also replaced pctoslib (mainly to add the missing mint functions), but signal() is part of pcstdlib.lib.

JeanMars
Captain Atari
Captain Atari
Posts: 203
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Postby JeanMars » Sat Sep 28, 2019 2:33 pm

Great, thanks for the outcome Thorsten!

OL
Atari Super Hero
Atari Super Hero
Posts: 527
Joined: Fri Apr 01, 2005 6:59 am
Contact:

Re: VISION 4.5a is out!

Postby OL » Sat Sep 28, 2019 6:54 pm

ThorstenOtto wrote:
OL wrote:[From Philipp January 22 2005
#define SIG_IGN 1L

Strange !
Philipp library pctoslib replacement really work nice


But thats not quite right. Psignal() and signal() are two different functions. The prototype of the callback function is also different. I've also replaced pctoslib (mainly to add the missing mint functions), but signal() is part of pcstdlib.lib.



Sorry for confusion you were speaking std signal() I not understand this because lib I use for dragdrop direct call to Mint Api Psignal(), I never think it could have a version translate in std lib, thats a bit strange for me. Ok

Sorry for confusion you were speaking std signal() I not understand this because lib I use for dragdrop direct call to Mint Api Psignal(), I never think it could have a version translate in std lib, thats a bit strange for me. Ok

Correction previous message : I checked and I understand better now, in signal.h PureC define SIG_IGN as you mention, issue if I understand Atari use same name as std signal but with different values, PureC should have correct signal.h but was not done, does purec std signal can work with change values or the std lib have been adapted with internal translate ? The small source code I have provided, there is no issue as PureC use TOS.H while other compiler use signal.h yes I agree a lot of possible issues with this, not nice.

Olivier
OL


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: No registered users and 3 guests