mem89.h 1.4 KB

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