gemcmmn.pas 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. {$IFNDEF FPC_DOTTEDUNITS}
  18. unit gemcmmn;
  19. {$ENDIF FPC_DOTTEDUNITS}
  20. interface
  21. type
  22. ARRAY_8 = ARRAY[0..7] of smallint;
  23. { AES/VDI mouse form structure }
  24. type
  25. PMFORM = ^TMFORM;
  26. TMFORM = record
  27. mf_xhot: smallint; {* X-position hot-spot *}
  28. mf_yhot: smallint; {* Y-position hot-spot *}
  29. mf_nplanes: smallint; {* Number of planes *}
  30. mf_fg: smallint; {* Mask colour *}
  31. mf_bg: smallint; {* Pointer colour *}
  32. mf_mask: array[0..15] of smallint; {* Mask form *}
  33. mf_data: array[0..15] of smallint; {* Pointer form *}
  34. end;
  35. implementation
  36. end.