An emulator, assembler, and disassembler for the Sega Game Gear
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

18 rader
438 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 <stdint.h>
  5. #define INVALID_SIZE_CODE 0x8
  6. /* Functions */
  7. uint8_t bcd_decode(uint8_t);
  8. uint64_t get_time_ns();
  9. const char* region_code_to_string(uint8_t);
  10. uint8_t region_string_to_code(const char*);
  11. size_t size_code_to_bytes(uint8_t);
  12. uint8_t size_bytes_to_code(size_t);