Hi all.

I'm messing around with the PrizmSDK and making custom add-ins for my CG-50 and it seems like it doesn't change the colour. Is this a known issue? Has anyone else had this issue?

OS Version: 03.60.0202

Here's the code I'm using:

Code:

#include <fxcg/display.h>
#include <fxcg/keyboard.h>
#include <stdio.h>
 
int main(void) {
    int key;
    char str[10];
     
    Bdisp_AllClr_VRAM();
    unsigned short framecolor = FrameColor(1, COLOR_RED);
    sprintf(str, "%d", framecolor);
    Print_OS((const char*)(str), 0, 0);

    while (1) {
        GetKey(&key);

        if (key == KEY_CTRL_MENU) {
            break;
        }
    }
 
    return 1;
}
Can you share your code? It's hard to guess what you may be doing wrong without any.
Tari wrote:
Can you share your code? It's hard to guess what you may be doing wrong without any.


My apologies. I just edited the OP.
Update: Going into test mode allows you to change the frame colour. I assume it could be an issue with the location of the syscall being changed? Is there any way to dump them?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
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 vote in polls in this forum

 

Advertisement