Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 15.06 KB | None | 0 0
  1. #include "display_syscalls.h"
  2. #include "keyboard_syscalls.h"
  3. #include "keyboard.hpp"
  4.  
  5. #define Clean_Exit 0
  6. #define Error_Exit 1
  7. #define bool unsigned char
  8.  
  9.  
  10. //****************************
  11. //        PROTOTYPING
  12. //****************************
  13. bool RenderLoop(void);
  14.  
  15.  
  16.  
  17. //****************************
  18. //    END OF  PROTOTYPING
  19. //****************************
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31. //     EXECUTABLE CODE
  32. //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  33.  
  34. int main() {
  35.     if(RenderLoop()){
  36.         return Error_Exit;
  37.     }      
  38.     return Clean_Exit;
  39. }
  40.  
  41. bool RenderLoop() {
  42.        
  43.     Bdisp_PutDisp_DD();
  44.     return Clean_Exit;
  45. }
  46.  
  47.  
  48. //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  49. //  END OF  EXECUTABLE CODE
  50. //%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. //@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  63. //           DATA
  64. //@@@@@@@@@@@@@@@@@@@@@@@@@@@@//@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  65. //       END OF  DATA
  66. //@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement