sample1.c 806 B

1234567891011121314151617181920212223
  1. #include "wonx/text.h"
  2. #include "wonx/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-2002");
  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. }