Welcome, Guest. Please login or register.

Author Topic: picasso96 development  (Read 2260 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TinsaTopic starter

  • Newbie
  • *
  • Join Date: Jan 2004
  • Posts: 4
    • Show all replies
    • http://www.EtherealWorld.com
picasso96 development
« on: January 16, 2004, 08:16:39 AM »
Hi again.

I changed p96OpenScreenTagList to p96OpenScreenTags and managed to compile, but now the linker says: "Symbol "p96OpenScreenTags(...) Not defined"...

Any suggestions?

/*
I am trying to open a screen in picasso96 and it's driving me crazy....

I have this piece of code:
screen = p96OpenScreenTagList(P96SA_Width, 800, P96SA_HEIGHT, 600, P96SA_Depth, 24, P96SA_Title, "doodie", TAG_END);

The compiler (StormC3 from devcd) complains about : "Illegal argument"...
I have added the "Picasso96API.lib" library to the project...

I would really appreciate any halp on this matter...
*/

Thanks in advance
 

Offline TinsaTopic starter

  • Newbie
  • *
  • Join Date: Jan 2004
  • Posts: 4
    • Show all replies
    • http://www.EtherealWorld.com
Re: picasso96 development
« Reply #1 on: January 16, 2004, 10:54:54 AM »
Quote

Thomas wrote:

You could do it like this:

ULONG tags[] = {P96SA_Width, 800, P96SA_HEIGHT, 600, P96SA_Depth, 24, P96SA_Title, "doodie", TAG_END};
screen = p96OpenScreenTagList(tags);

But I'd rather use CGX than P96, because it runs on all graphics boards not only on P96 ones. CGX programs run on P96, not vice versa.

And additionally I would by all means avoid using graphics card-only funktions. If you'd use OpenScreenTags instead of p96OpenScreenTags, the program could run on non-graphics card systems also.

Bye,
Thomas


That did not work either, I still got "Illegal argument", it seems as if the error must be in the tag list, but i can not find it...
 

Offline TinsaTopic starter

  • Newbie
  • *
  • Join Date: Jan 2004
  • Posts: 4
    • Show all replies
    • http://www.EtherealWorld.com
Re: picasso96 development
« Reply #2 on: January 19, 2004, 08:12:42 AM »
Quote

Crumb wrote:
To use Picasso96 with stormc3 you should adapt the includes with FD2Pragma.

There's no need to add the Picasso96.lib...


ok, thanks. But  how would the commandline look for fd2pragma?