0 Members and 1 Guest are viewing this topic.
There's no way to get documents out of nspire_emu
#include <os.h>int main(void) { FILE * f; volatile int c; TCT_Local_Control_Interrupts(0xFFFFFFFF); f = fopen("/documents/ndless/test.tns","rb"); if (f) { printf("=====\n"); while ((c = fgetc(f)) != EOF) { printf("%02x ", c); } printf("=====\n"); fclose(f); } return 0;}
#include <stdio.h>unsigned char data[] = {// Paste the output of the program (between the markers) here.};int main(void) { FILE *f = fopen("test.tns","wb"); fwrite(data, 1, sizeof(data), f); fclose(f); return 0;}
what is the cause for which my files are damaged ?
and if I find this problem in future is there any method to repair my files without losing data ?