An emulator, assembler, and disassembler for the Sega Game Gear
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.
 
 
 
 
 

24 lines
480 B

  1. /* Copyright (C) 2014-2015 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. Released under the terms of the MIT License. See LICENSE for details. */
  3. #pragma once
  4. #include <stdbool.h>
  5. #include <stddef.h>
  6. #include <stdint.h>
  7. /* Structs */
  8. typedef struct {
  9. //
  10. } MMU;
  11. /* Functions */
  12. bool mmu_init(MMU*);
  13. void mmu_free(MMU*);
  14. void mmu_load_rom(MMU*, const uint8_t*, size_t);
  15. void mmu_power(MMU*);
  16. uint8_t mmu_read_byte(MMU*, uint16_t);
  17. void mmu_write_byte(MMU*, uint16_t, uint8_t);