Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "display_syscalls.h"
- #include "keyboard_syscalls.h"
- #include "keyboard.hpp"
- #define Clean_Exit 0
- #define Error_Exit 1
- #define bool unsigned char
- //****************************
- // PROTOTYPING
- //****************************
- bool RenderLoop(void);
- //****************************
- // END OF PROTOTYPING
- //****************************
- //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- // EXECUTABLE CODE
- //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- int main() {
- if(RenderLoop()){
- return Error_Exit;
- }
- return Clean_Exit;
- }
- bool RenderLoop() {
- Bdisp_PutDisp_DD();
- return Clean_Exit;
- }
- //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- // END OF EXECUTABLE CODE
- //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- //@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- // DATA
- //@@@@@@@@@@@@@@@@@@@@@@@@@@@@//@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- // END OF DATA
- //@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement