View unanswered posts | View active topics It is currently Tue Sep 02, 2014 10:20 pm






Reply to topic  [ 1 post ] 
Runtime error: PgmCnt: ... 
Author Message
Rookie

Joined: Thu Dec 29, 2011 8:34 pm
Posts: 14
Post Runtime error: PgmCnt: ...
I don't have detailed info on this, so I don't expect any support, and, besides, the error went away after I deleted some calls to FTC intrinsics, so I don't need support. I'm just posting it in case it provides a clue for solving some other, better-described error.

I was getting a runtime "PgmCnt: xxxx Type 11" error (sorry, can't remember the xxxx).

I found that the error occured with
Code:
const short accel_time = 256;
But not with
Code:
const short accel_time = 255;

So I figured it was some kind of 2 byte vs. 1 byte memory thing. But after I cleaned up the code in order to post it, the error went away!

I can't remember exactly what code I removed, but it was all calls to intrinsics like nextDisplayBigStringAt() and PlaySound();

The code includes the JoystickDriver.c code, both during the strange behavior and after it started behaving.

Sorry I don't have more detail.


Sat Dec 31, 2011 2:37 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.