Welcome, Guest. Please login or register.

Author Topic: openscreen problems!!!  (Read 5365 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Noster

  • Sr. Member
  • ****
  • Join Date: Jan 2004
  • Posts: 375
    • Show only replies by Noster
Re: openscreen problems!!!
« Reply #14 from previous page: March 25, 2004, 08:51:38 AM »
Hi

@jonssonj

Do you use CyberGraphX ? Which version ?
The older versions (< V.4) are known that they have problems with CyberGraphX-screens and screens opened via the custom-chips at the same time, upgrade to CyberGraphX version 4, look for newer patches vor version 4 in the internet.

Noster
DON\\\'T PANIC
    Douglas Adams - Hitch Hiker\\\'s Guide to the Galaxis
 

Offline jonssonjTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2003
  • Posts: 254
    • Show only replies by jonssonj
Re: openscreen problems!!!
« Reply #15 on: March 25, 2004, 09:51:45 AM »
@Noster
Hello!

No I'm using Picasso 96.

/Jörgen
 

Offline Thomas

Re: openscreen problems!!!
« Reply #16 on: March 25, 2004, 11:50:46 AM »

Which one of the programs freezes, The RKRM example or my self-written one ?

Do you really want to open an AGA-native screen or would you rather like to open a P96 screen but didn't yet proceed that far ?

IMHO you should drop the RKRM example and use my one. You should understand how it works and then develop your own (better) programming style rather than to copy another one's style.

Are you really sure that the whole Amiga freezes ? Couldn't it be that you just see the rest of an inactive display ? Try to switch back to the Workbench screen using right Amiga-M. If it doesn't work, try to Amiga-M before it freezes (IIRC it freezes after the Delay(), so there should be enough time to react).

Also try to run the program from a shell window without the Storm environment around it.

Bye,
Thomas

Offline jonssonjTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2003
  • Posts: 254
    • Show only replies by jonssonj
Re: openscreen problems!!!
« Reply #17 on: April 05, 2004, 02:30:55 PM »
Hello!

I would of course rather want to open up a p96 screen, but I have not proceeded that far. I just want to learn the basics first and then move on to the new stuff, but it seems that I will have to learn the new stuff right now, because the old stuff does not seem to work any more.

I don't know if this is due to the relative new compiler Storm C V4 or if it's the "new" OS 3.9 that makes this hard.

I have now tried two examples directly from the RKRM manual and I cannot get any one of them working. The first one was to use the DisplayBeep function that does not work (and yes I have tried it in AGA mode and not in RTG mode) and now I can't get this simple screen to open up and close.

I just hate it when I get stuck in things like these. I lose all the inspiration to continue and then it will take a long time before I tries again.

I will try the Amiga-M button trick tonight, and see if I get the RTG Screen back. I have tried to run the program from the shell, with the same result. Maybe I just should switch to another compiler? I don't know...

/Jörgen
 

Offline Thomas

Re: openscreen problems!!!
« Reply #18 on: April 05, 2004, 02:55:37 PM »

Well, I usually mistrust the RKRM examples, it often seems like the people who wrote the books didn't test their examples. Also the Amiga people used SAS/C to develop their programs and SAS/C is very tolerant about small mistakes. StormC is tolerant either in that form that it doesn't warn these mistakes, too. But the code does not run in the end.

Quote

I just want to learn the basics first and then move on to the new stuff, but it seems that I will have to learn the new stuff right now, because the old stuff does not seem to work any more.

I don't know if this is due to the relative new compiler Storm C V4 or if it's the "new" OS 3.9 that makes this hard.


I've got an A4000 with CSPPC, Mediator 4000, Voodoo 3, Picasso96 and OS3.9 and I can assure you that the old stuff *does* still work. I cannot imagine why it should crash you machine. Perhaps you are running some screen mode promotion utility ?

Bye,
Thomas


Offline jonssonjTopic starter

  • Sr. Member
  • ****
  • Join Date: Oct 2003
  • Posts: 254
    • Show only replies by jonssonj
Re: openscreen problems!!!
« Reply #19 on: April 05, 2004, 03:57:26 PM »
Hello again!

No, I'm not running any screenmode promotion utilities. I will try your tip on using the Amiga-M button and see if that is the solution.

Thanks again...

/Jörgen