0 Members and 2 Guests are viewing this topic.
BTW has anyone found which version of the MMU does the Prizm use.
C/ASM files can be a maximum of 1 MB of code and data, excluding the .g3a header.
#define KEY_CHAR_0 0x0030#define KEY_CHAR_1 0x0031#define KEY_CHAR_2 0x0032#define KEY_CHAR_3 0x0033#define KEY_CHAR_4 0x0034#define KEY_CHAR_5 0x0035#define KEY_CHAR_6 0x0036#define KEY_CHAR_7 0x0037#define KEY_CHAR_8 0x0038#define KEY_CHAR_9 0x0039#define KEY_CHAR_DP 0x002E#define KEY_CHAR_EXP 0x000F#define KEY_CHAR_PMINUS 0x0087#define KEY_CHAR_PLUS 0x0089#define KEY_CHAR_MINUS 0x0099#define KEY_CHAR_MULT 0x00A9#define KEY_CHAR_DIV 0x00B9#define KEY_CHAR_FRAC 0x00BB#define KEY_CHAR_LPAR 0x0028#define KEY_CHAR_RPAR 0x0029#define KEY_CHAR_COMMA 0x002C#define KEY_CHAR_STORE 0x000E#define KEY_CHAR_LOG 0x0095#define KEY_CHAR_LN 0x0085#define KEY_CHAR_SIN 0x0081#define KEY_CHAR_COS 0x0082#define KEY_CHAR_TAN 0x0083#define KEY_CHAR_SQUARE 0x008B#define KEY_CHAR_POW 0x00A8#define KEY_CHAR_IMGNRY 0x7F50#define KEY_CHAR_LIST 0x7F51#define KEY_CHAR_MAT 0x7F40#define KEY_CHAR_EQUAL 0x003D#define KEY_CHAR_PI 0x00D0#define KEY_CHAR_ANS 0x00C0#define KEY_CHAR_LBRCKT 0x005B#define KEY_CHAR_RBRCKT 0x005D#define KEY_CHAR_LBRACE 0x007B#define KEY_CHAR_RBRACE 0x007D#define KEY_CHAR_CR 0x000D#define KEY_CHAR_CUBEROOT 0x0096#define KEY_CHAR_RECIP 0x009B#define KEY_CHAR_ANGLE 0x7F54#define KEY_CHAR_EXPN10 0x00B5#define KEY_CHAR_EXPN 0x00A5#define KEY_CHAR_ASIN 0x0091#define KEY_CHAR_ACOS 0x0092#define KEY_CHAR_ATAN 0x0093#define KEY_CHAR_ROOT 0x0086#define KEY_CHAR_POWROOT 0x00B8#define KEY_CHAR_SPACE 0x0020#define KEY_CHAR_DQUOTE 0x0022#define KEY_CHAR_VALR 0x00CD#define KEY_CHAR_THETA 0x00CE#define KEY_CHAR_A 0x0041#define KEY_CHAR_B 0x0042#define KEY_CHAR_C 0x0043#define KEY_CHAR_D 0x0044#define KEY_CHAR_E 0x0045#define KEY_CHAR_F 0x0046#define KEY_CHAR_G 0x0047#define KEY_CHAR_H 0x0048#define KEY_CHAR_I 0x0049#define KEY_CHAR_J 0x004A#define KEY_CHAR_K 0x004B#define KEY_CHAR_L 0x004C#define KEY_CHAR_M 0x004D#define KEY_CHAR_N 0x004E#define KEY_CHAR_O 0x004F#define KEY_CHAR_P 0x0050#define KEY_CHAR_Q 0x0051#define KEY_CHAR_R 0x0052#define KEY_CHAR_S 0x0053#define KEY_CHAR_T 0x0054#define KEY_CHAR_U 0x0055#define KEY_CHAR_V 0x0056#define KEY_CHAR_W 0x0057#define KEY_CHAR_X 0x0058#define KEY_CHAR_Y 0x0059#define KEY_CHAR_Z 0x005A#define KEY_CTRL_NOP 0x0000#define KEY_CTRL_EXE 0x7534#define KEY_CTRL_DEL 0x7549#define KEY_CTRL_AC 0x753F#define KEY_CTRL_FD 0x755E#define KEY_CTRL_XTT 0x7531#define KEY_CTRL_EXIT 0x7532#define KEY_CTRL_SHIFT 0x7536#define KEY_CTRL_ALPHA 0x7537#define KEY_CTRL_OPTN 0x7538#define KEY_CTRL_VARS 0x7540#define KEY_CTRL_UP 0x7542#define KEY_CTRL_DOWN 0x7547#define KEY_CTRL_LEFT 0x7544#define KEY_CTRL_RIGHT 0x7545#define KEY_CTRL_F1 0x7539#define KEY_CTRL_F2 0x753A#define KEY_CTRL_F3 0x753B#define KEY_CTRL_F4 0x753C#define KEY_CTRL_F5 0x753D#define KEY_CTRL_F6 0x753E#define KEY_CTRL_CATALOG 0x7594#define KEY_CTRL_FORMAT 0x7595#define KEY_CTRL_CAPTURE 0x7567#define KEY_CTRL_CLIP 0x7562#define KEY_CTRL_PASTE 0x7554#define KEY_CTRL_SELUP 0x7559#define KEY_CTRL_SELDOWN 0x755C#define KEY_CTRL_SELLEFT 0x755A#define KEY_CTRL_SELRIGHT 0x755B#define KEY_CTRL_COPY 0x7553#define KEY_CTRL_CUT 0x7563#define KEY_CTRL_INS 0x7551#define KEY_CTRL_UNDO 0x755D#define KEY_CTRL_MIXEDFRAC 0x7566#define KEY_CTRL_FRACCNVRT 0x754A#define KEY_CTRL_QUIT 0x754D#define KEY_CTRL_LIGHT 0x756B#define KEY_CTRL_PRGM 0x754C#define KEY_CTRL_SETUP 0x7555#define KEY_CTRL_HOME 0x756E#define KEY_CTRL_END 0x756F#define KEY_CTRL_PAGEUP 0x7564#define KEY_CTRL_PAGEDOWN 0x7565#define KEY_CTRL_MENU 0x7533
#define KEY_CTRL_FORMAT 0x7595 // SHIFT+5#define KEY_CTRL_LIGHT 0x756B // SHIFT+OPTN (Not used by the Prizm OS)#define KEY_CTRL_UNDO 0x755D // ALPHA+DEL#define KEY_CTRL_HOME 0x756E // SHIFT+CURSOR_LEFT#define KEY_CTRL_END 0x756F // SHIFT+CURSOR_RIGHT#define KEY_CTRL_SELUP 0x7559 // Cursor keys for...#define KEY_CTRL_SELDOWN 0x755C // ...block selection...#define KEY_CTRL_SELLEFT 0x755A // ...when clip mode...#define KEY_CTRL_SELRIGHT 0x755B // ...is enabled.#define KEY_CTRL_COPY 0x7553 // F1 (clip mode)#define KEY_CTRL_CUT 0x7563 // F2 (clip mode)
#define KEY_CHAR_DQUOTE 0x0022 // Before: KEY_CHAR_DQUATE
A few more datasheets: http://www.trulydisplays.com/tft/index.htmlThe R61526 and R61580 have a backlight control unit.
I found what appears to be the backup display ram for when the Prizm is in the menu and an app is paused. That location is from 0x880a2ad6 to 0x880cbd26. If you check from insight there is a screen bitmap in that block that corresponds to the currently running app. Currently I can not find any OS references to those addresses so it is not yet safe to use that space as other OS versions may use a different address