An emulator, assembler, and disassembler for the Sega Game Gear
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

21 řádky
575 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_encode(uint8_t);
  8. uint8_t bcd_decode(uint8_t);
  9. uint64_t get_time_ns();
  10. const char* region_code_to_string(uint8_t);
  11. uint8_t region_string_to_code(const char*);
  12. size_t size_code_to_bytes(uint8_t);
  13. uint8_t size_bytes_to_code(size_t);
  14. uint16_t compute_checksum(const uint8_t*, size_t, uint8_t);
  15. const char* get_third_party_developer(uint8_t);