The Simple DirectMedia Layer library (SDL 1.2.15) for the Casio fx-CG50/Graph 90+E and fx-Cg10/20/PRIZM
Go to file
Sylvain PILLOT a2693e2f35 update header file location for version check 2022-08-30 12:55:45 +02:00
cmake update header file location for version check 2022-08-30 12:55:45 +02:00
include aligned definitions of RW_SEEK_XXX with ones of <stdio.h> 2022-05-03 22:55:53 +02:00
src aligned definitions of RW_SEEK_XXX with ones of <stdio.h> 2022-05-03 22:54:12 +02:00
.gitignore full update of the cmake configuration files 2022-08-30 11:42:07 +02:00
CMakeLists.txt full update of the cmake configuration files 2022-08-30 11:42:07 +02:00
README.md full update of the cmake configuration files 2022-08-30 11:42:07 +02:00
TODO.txt writing PRIZM video driver 2022-04-18 22:36:07 +02:00
giteapc.make corrected typo in giteapc.make 2022-08-30 12:11:22 +02:00

README.md

Simple DirectMedia Layer SDL 1.2.15 sources for Casio Graph 90+E and Prizm CG10/20

Need to have a fully working gcc toolchain for SH3/SH4 architecture.

You can use the giteapc install Slyvtt/cSDL command to get an automatic install

Using in a program

With CMake

find_package(cSDL 1.2.15 REQUIRED)
target_link_libraries(<TARGET> PRIVATE cSDL::cSDL)

With make, the following steps are not automatically done, so please proceed with the following manipulations :

  • copy the library libcSDL.a into your SH3/SH4 compiler lib folder
  • copy all header files *.h in the include folder include/SDL of the SH3/SH4 compiler
  • link with -lcSDL

In the C/C++ sources #include <SDL/SDL.h>