gemcmmn.pas 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. Copyright (c) 2022 by Free Pascal development team
  3. GEM interface unit for Atari TOS
  4. See the file COPYING.FPC, included in this distribution,
  5. for details about the copyright.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. **********************************************************************}
  10. {
  11. Shared types between aes/vdi/gem.
  12. Only type declarations should go here.
  13. }
  14. {$MODE FPC}
  15. {$MODESWITCH OUT+}
  16. {$PACKRECORDS 2}
  17. unit gemcmmn;
  18. interface
  19. type
  20. ARRAY_8 = ARRAY[0..7] of smallint;
  21. { AES/VDI mouse form structure }
  22. type
  23. PMFORM = ^TMFORM;
  24. TMFORM = record
  25. mf_xhot: smallint; {* X-position hot-spot *}
  26. mf_yhot: smallint; {* Y-position hot-spot *}
  27. mf_nplanes: smallint; {* Number of planes *}
  28. mf_fg: smallint; {* Mask colour *}
  29. mf_bg: smallint; {* Pointer colour *}
  30. mf_mask: array[0..15] of smallint; {* Mask form *}
  31. mf_data: array[0..15] of smallint; {* Pointer form *}
  32. end;
  33. implementation
  34. end.