VISION 4.5a is out!

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

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

Re: VISION 4.5a is out!

Post by JeanMars »

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 God
Atari God
Posts: 1191
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Post by ThorstenOtto »

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: 266
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Post by JeanMars »

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: 548
Joined: Fri Apr 01, 2005 6:59 am
Contact:

Re: VISION 4.5a is out!

Post by OL »

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: 266
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Post by JeanMars »

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 God
Atari God
Posts: 1191
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Post by ThorstenOtto »

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: 266
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Post by JeanMars »

LOL, stupid confusion :-)
ThorstenOtto
Atari God
Atari God
Posts: 1191
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Post by ThorstenOtto »

Tested new version, and works ;) Drag&Drop also seems to work (in the sense that i immediately get a response now).
ThorstenOtto
Atari God
Atari God
Posts: 1191
Joined: Sun Aug 03, 2014 5:54 pm

Re: VISION 4.5a is out!

Post by ThorstenOtto »

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: 266
Joined: Fri Apr 09, 2010 5:15 pm
Location: France
Contact:

Re: VISION 4.5a is out!

Post by JeanMars »

Great, thanks for the outcome Thorsten!
OL
Atari Super Hero
Atari Super Hero
Posts: 548
Joined: Fri Apr 01, 2005 6:59 am
Contact:

Re: VISION 4.5a is out!

Post by OL »

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
Post Reply

Return to “Applications”