Search found 172 matches

by JeanMars
Mon Oct 07, 2019 7:51 pm
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Re: Make .prj from CLI

Works like a charm now!
Thank you very much!
by JeanMars
Mon Oct 07, 2019 6:46 am
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Re: Make .prj from CLI

Hi Thorsten,

would you mind the share the current source code in its current state? I need such a tool and as I'm about to make it, it would be better to not start from scratch.
by JeanMars
Sun Oct 06, 2019 10:01 pm
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Re: Make .prj from CLI

Hi again, I made a new test by adding temporarily my PURE_C path to PATH env variable: In my PRJ file I have: VISION.PRG .C [ -L64 -P -NOUTPUT -I ../../INCLUDE ] .S [ -2 -8 ] .L [ -S=10240 ] = ... list of .S / .C files However when compiling: pcmake: entering directory U:\h\PURE_C\PROJECTS\VISION\ p...
by JeanMars
Sun Oct 06, 2019 7:57 pm
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Re: Make .prj from CLI

Hi Thorsten, I think I'm not so far away from being sucessfull but wherever I start pcmake.ttp from (VISION folder or PUREC folder), it stops with error (pasm.ttp or pcc.ttp not found): pcmake.gif If you have some examples for PRJ and how to call pcmake.ttp, that would help me I guess. I'm using Min...
by JeanMars
Sun Oct 06, 2019 9:51 am
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Re: Make .prj from CLI

Hi Thorsten,

looks like it's exactly what I need; just a question: how does object file folder is identified? Is it using pc.cfg or does it have to be part of prj file?

Is pcmake source code available BTW?

Thanks,
Jean
by JeanMars
Sun Oct 06, 2019 9:01 am
Forum: Coding
Topic: Make .prj from CLI
Replies: 10
Views: 756

Make .prj from CLI

Hi,

in order to automate some prg generation, I'd like to automate "Make all" menu entry from PureC from command line.
Is there a way to do this or this kind of "make all" can only be initiated from PureC GUI?

Thanks,
Jean
by JeanMars
Tue Oct 01, 2019 1:16 pm
Forum: Coding
Topic: evnt_multi, scan code and ASCII code
Replies: 3
Views: 299

Re: evnt_multi, scan code and ASCII code

Hi, thanks! I did not realize that control-letter are actually valid ASCII characters! And yes some keyboards do not have numbers by default but different characters such as "&é"'(-è_çà" for "1234567890" on a french keyboard. I should now be able to deal with that. Thank...
by JeanMars
Tue Oct 01, 2019 12:17 pm
Forum: Coding
Topic: evnt_multi, scan code and ASCII code
Replies: 3
Views: 299

evnt_multi, scan code and ASCII code

Hi, I never looked deeply into this but it is giving me some headache from time to time: Is there any efficient way to deal with what key(s) user pressed regardless of the language, operating system and keyboard? For evnt_multi, ev_mkreturn returns the scancode of pressed key. I would expect it to b...
by JeanMars
Sat Sep 28, 2019 2:33 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

Great, thanks for the outcome Thorsten!
by JeanMars
Fri Sep 27, 2019 10:52 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

LOL, stupid confusion :-)
by JeanMars
Fri Sep 27, 2019 7:36 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

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
by JeanMars
Fri Sep 27, 2019 3:40 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

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
by JeanMars
Fri Sep 27, 2019 1:57 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

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
by JeanMars
Thu Sep 26, 2019 8:33 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

Hi Thorsten, I have added basic support on AP_DRAGDROP to return this protocol is unsupported to avoid timeout. Can you please give it a try as I'm not sure how to test that. Here as usual: http://vision.atari.org/download/temp/vision.zip If someone has official dragdrop source for PureC, I can try ...
by JeanMars
Wed Sep 25, 2019 9:30 am
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

Hi Thorsten, thanks for the log. Actually dragdrop.c is part of TOOLS folder but it not listed in VISION.PRJ :-) I have added this file some time ago with probably in mind the idea to use it at some point but I never did. I don't see this issue on my side as I'm using Thing! desktop which uses a dif...
by JeanMars
Wed Sep 25, 2019 5:52 am
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

I don't remember using any Psignal in Vision, and i'm surprised ir (dragging a file to a vision's window) works on my side. Need to have a.deeper look, in the meantime if you can send me vision.log file (please set all logging bits in LoggingFlags) that would help

Cheer,
Jean
by JeanMars
Tue Sep 24, 2019 5:44 pm
Forum: Applications
Topic: VISION 4.5a is out!
Replies: 60
Views: 7897

Re: VISION 4.5a is out!

Hi Thorsten, when it encounters something unsupported, it seems to just send the file to the viewer, which is imho not what the user expects. It is intended to send the file to hex viewer only when file format is unknown, there's probably a bug there I'll have a look. Thanks for notifying. And anoth...
by JeanMars
Sun Sep 15, 2019 6:54 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, sorry I realize this dicussion is starting to bug you and that was not my objective at all. Let's just conclude we have different views on what a plugin/dynamic lirary is and how it should behave regarding apps and that's it. You are very free to have your opinion on this as well as me....
by JeanMars
Sun Sep 15, 2019 1:23 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, You can't be serious about that... Agree that my wording might be a bit too much but think about it: what are the pro/cons of dynamic libraries vs static libraries? Pros: 1- Not having everything in memory as app can decide only to load the code only when needed 2- Not having to recompi...
by JeanMars
Sun Sep 15, 2019 9:59 am
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, Then you are back to the LDG system, which needs an extra program in the auto folder, but this time even if the library is not shared. This model does not look bad to me, I always prefer having a common thing to deal with a problem rather than having every application making its own imp...
by JeanMars
Sat Sep 14, 2019 8:55 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, Malloc(-1) only gives you the size of the largest block, that might be the same if the module was loaded somewhere else. To get the total memory, you can use Dfree(35) on Mint. For Single-TOS, you have to allocate blocks until you get NULL, then free them again. In ORCS, i use something...
by JeanMars
Sat Sep 14, 2019 4:57 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi, maybe it is not unloaded immediately. And have you ldg.prg in the auto folder? And how to you display the available mem, if you just display the largest block, it might just have been fragmented. I tried with ldg.prg in auto folder, same behavior. I'm using Mxalloc(-1, 0) and Mxalloc(-1, 1) to g...
by JeanMars
Fri Sep 13, 2019 11:03 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, Thats your choice of course, but IIRC it was you who asked for SLB support, long before i started working on zview and the modules. Originally, it was to provide support for png to Vision, this has been done by using the SLB png library (the port you made for Atari from open source libr...
by JeanMars
Fri Sep 13, 2019 7:23 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, But that doesn't make sense. If you don't set some function, and the plugin fails if any is null, you won't be able to use any of them. I'm pretty sure all plugins don't need all exported functions. My suggestion was just to fail init if some function plugin knows it needs is not provid...
by JeanMars
Fri Sep 13, 2019 4:47 pm
Forum: Coding
Topic: SLB 'devkit' ?
Replies: 68
Views: 5420

Re: SLB 'devkit' ?

Hi Thorsten, But that is already done. Well..not. I didn't add these pieces of code in Vision's sources because I'm not ready to have this kind of dependency in Vision. My proposal here is to have some kind of trade-off between your SLB model, for which I don't want it to make these dependencies in ...

Go to advanced search