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.
 
 
 
 
 

23 regels
690 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 <stdint.h>
  6. #include "state.h"
  7. #define parse_bool parse__Bool
  8. /* Functions */
  9. bool parse__Bool(bool*, const ASMLine*, const char*);
  10. bool parse_uint32_t(uint32_t*, const ASMLine*, const char*);
  11. bool parse_uint16_t(uint16_t*, const ASMLine*, const char*);
  12. bool parse_uint8_t(uint8_t*, const ASMLine*, const char*);
  13. bool parse_rom_size(uint32_t*, const ASMLine*, const char*);
  14. bool parse_region_string(uint8_t*, const ASMLine*, const char*);
  15. bool parse_size_code(uint8_t*, const ASMLine*, const char*);