ARM application development SDK for MNT ZZ9000 graphics and coprocessor card for classic Amiga computers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
797B

  1. /*
  2. * MNT ZZ9000 Amiga Graphics and ARM Coprocessor SDK
  3. * Copyright (C) 2019, Lukas F. Hartmann <lukas@mntre.com>
  4. * MNT Research GmbH, Berlin
  5. * https://mntre.com
  6. *
  7. * More Info: https://mntre.com/zz9000
  8. *
  9. * SPDX-License-Identifier: GPL-3.0-or-later
  10. * GNU General Public License v3.0 or later
  11. *
  12. * https://spdx.org/licenses/GPL-3.0-or-later.html
  13. */
  14. #ifndef ZZ9K_ENV_H
  15. #define ZZ9K_ENV_H
  16. struct ZZ9K_ENV {
  17. uint32_t api_version;
  18. uint32_t argv[8];
  19. uint32_t argc;
  20. int (*putchar)(char);
  21. void (*set_output_putchar_to_events)(char);
  22. void (*set_output_events_blocking)(char);
  23. void (*put_event_code)(uint16_t);
  24. uint16_t (*get_event_serial)();
  25. uint16_t (*get_event_code)();
  26. char (*output_event_acked)();
  27. };
  28. #endif