sample1.c 822 B

1234567891011121314151617181920212223
  1. #include "wonx_include/text.h"
  2. #include "wonx_include/key.h"
  3. main()
  4. {
  5. text_screen_init();
  6. text_put_string(0, 1, " Wonx - WonderWitch on X. ");
  7. text_put_string(0, 3, " This is test program ");
  8. text_put_string(0, 4, " for Wonx. ");
  9. text_put_string(0, 6, " Wonx is an emulator for ");
  10. text_put_string(0, 7, " WonderWitch on X. It is ");
  11. text_put_string(0, 8, " linked to program for ");
  12. text_put_string(0, 9, " WonderWitch and behave as ");
  13. text_put_string(0, 10, " WonderWitch. ");
  14. text_put_string(0, 12, " Wonx Copyright (c) 2000 ");
  15. text_put_string(0, 13, " Sakai Hiroaki. ");
  16. text_put_string(0, 14, " All Rights Reserved. ");
  17. text_put_string(0, 16, " Hit space key to exit. ");
  18. key_wait();
  19. bios_exit();
  20. }