A simplified CPU scheduler simulator for CASIO PRIZM calculators like the fx-CG50. Based on the PrizmSDK+libfxcg community project.
This isn't an actual CPU scheduler, just a simulator of various algorithms to see how they work and evolve over time.
I built this using excercises from the IT systems course at my university so it might not reflect reality and contain several simpifications that were made to make those excercises doable by hand.
- Earliest Deadline First;
- EDF*;
- Total Bandwidth Server;
- TBS*;
- Dover;
- Response Time Analysis.
- Update your calculator;
- Download the program;
- Connect the calculator to you PC using the USB cable included in the box and press F1 on the calculator;
- Drag&Drop the
.g3a
file into the calculator which is now connected as a normal thumbstick; - Safely remove the device;
- You'll find the program in the calculator's home screen, Enjoy!
- Get the PrizmSDK+libfxcg ready using their own README as instructions;
- Download this repository and, once extracted to a folder named
PrizmScheduler
, place the former inside theprojects
directory of the SDK; - Open a terminal window inside the
PrizmScheduler
folder and give the./make
command; - You'll find the new
.g3a
executable in the same folder.
If you want to change the name that appears on the calculator as program name, modify line 32 of the Makefile
like this: MKG3AFLAGS := -n basic:<NEW NAME> -i uns:../unselected.bmp -i sel:../selected.bmp
Changing the name of the PrizmScheduler
folder will also change the name of the output executable but not one that appears on the calculator's menu.
If you want to change the icon, modify both the .bmp
files and export them with a color depth of 24 and without changing the dimensions.
If you want to modify the actual program, just use the src\main.c
file. You can also change the name and add multiple .c
and .h
files, everything in that directory will be compiled. It should also do C++ but refer to the SDK documentation for that.