Vtimers and eloader problem.

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
HexDump
Posts: 70
Joined: Tue Jun 07, 2005 9:18 pm

Vtimers and eloader problem.

Post by HexDump »

Hi,

In my last emulator build i run into a weird problem: Peopple with last version of eloader got stuck at the very beginning getting an annoying black screen. After some tests, I have managed to spot the problem, I install a vtimer for syncronization that waits for a var to get to a certain value, and this value is never reached. VTimer seems to intall ok but the handler assigned to it is never called, and this is the one that increments the var that the while loop is checking.

Has anybody run into the same prob? any solutino for that?

P.D. The program runs OK on fw 1.5.

Thanks in advance,
HexDump.
HexDump
Posts: 70
Joined: Tue Jun 07, 2005 9:18 pm

Post by HexDump »

Well it seems that the problem is not vtimers itself. I have built a little example using vtimers basen on one of the sdk examples and everything went ok... weird... it seems a side effect that another bug is producing, but again, in fw 1.5 everything goes ok.


HexDump.
HexDump
Posts: 70
Joined: Tue Jun 07, 2005 9:18 pm

Post by HexDump »

I think I will use an alternative method. The way of emulating a vtimer is to create a thread that waits/sleeps for the periode time, and then calls a function?


HexDump.
Post Reply