timem.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Hey EMACS -*- linux-c -*- */
  2. /* $Id: romcalls.h 864 2005-02-22 09:54:05Z roms $ */
  3. /* TiEmu - Tiemu Is an EMUlator
  4. *
  5. * Copyright (c) 2000-2001, Thomas Corvazier, Romain Lievin
  6. * Copyright (c) 2001-2003, Romain Lievin
  7. * Copyright (c) 2003, Julien Blache
  8. * Copyright (c) 2004, Romain Liévin
  9. * Copyright (c) 2005, Romain Li�in
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. * This program is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * GNU General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU General Public License
  22. * along with this program; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  24. */
  25. #ifndef __TIMEM__
  26. #define __TIMEM__
  27. #include <stdint.h>
  28. /*
  29. Functions
  30. */
  31. uint16_t rd_word(uint8_t *p);
  32. uint32_t rd_long(uint8_t *p);
  33. void wr_word(uint8_t *p, uint16_t d);
  34. void wr_long(uint8_t *p, uint32_t d);
  35. #endif