/dports/emulators/mednafen/mednafen/src/nes/ |
H A D | ines.cpp | 50 static uint32 ROM_size; variable 156 Address &= (ROM_size << 14) - 1; in iNES_GetAddressSpaceBytes() 200 Address &= (ROM_size << 14) - 1; in iNES_PutAddressSpaceBytes() 601 ROM_size = round_up_pow2((head.ROM_size ? head.ROM_size : 256)); in iNESLoad() 613 ROM = new uint8[ROM_size << 14]; in iNESLoad() 627 memset(ROM, 0xFF, ROM_size << 14); in iNESLoad() 639 SetupCartPRGMapping(0, ROM, ROM_size * 0x4000, 0); in iNESLoad() 641 fp->read(ROM, 0x4000 * (head.ROM_size ? head.ROM_size : 256)); in iNESLoad() 649 md5.update(ROM,ROM_size<<14); in iNESLoad() 651 iNESGameCRC32 = crc32(0,ROM,ROM_size<<14); in iNESLoad() [all …]
|
/dports/emulators/mednafen/mednafen/src/md/cart/ |
H A D | map_rom.cpp | 28 MD_Cart_Type_ROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 50 …Cart_Type_ROM::MD_Cart_Type_ROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_ROM() argument 53 this->rom_size = ROM_size; in MD_Cart_Type_ROM() 125 …Cart_Type_ROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_ROM() argument 127 return(new MD_Cart_Type_ROM(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_ROM()
|
H A D | map_rmx3.cpp | 26 MD_Cart_Type_RMX3(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 48 …rt_Type_RMX3::MD_Cart_Type_RMX3(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_RMX3() argument 51 this->rom_size = ROM_size; in MD_Cart_Type_RMX3() 132 …art_Type_RMX3(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_RMX3() argument 134 return(new MD_Cart_Type_RMX3(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_RMX3()
|
H A D | map_svp.cpp | 28 MD_Cart_Type_SVP(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 50 …Cart_Type_SVP::MD_Cart_Type_SVP(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_SVP() argument 53 this->rom_size = ROM_size; in MD_Cart_Type_SVP() 124 …Cart_Type_SVP(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_SVP() argument 126 return(new MD_Cart_Type_SVP(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_SVP()
|
H A D | map_sbb.cpp | 26 MD_Cart_Type_SBB(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 48 …Cart_Type_SBB::MD_Cart_Type_SBB(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_SBB() argument 51 this->rom_size = ROM_size; in MD_Cart_Type_SBB() 132 …Cart_Type_SBB(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_SBB() argument 134 return(new MD_Cart_Type_SBB(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_SBB()
|
H A D | map_yase.cpp | 26 MD_Cart_Type_YaSe(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 48 …rt_Type_YaSe::MD_Cart_Type_YaSe(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_YaSe() argument 51 this->rom_size = ROM_size; in MD_Cart_Type_YaSe() 158 …art_Type_YaSe(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_YaSe() argument 160 return(new MD_Cart_Type_YaSe(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_YaSe()
|
H A D | map_realtec.cpp | 26 MD_Cart_Type_REALTEC(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 52 …e_REALTEC::MD_Cart_Type_REALTEC(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_REALTEC() argument 55 this->rom_size = ROM_size; in MD_Cart_Type_REALTEC() 187 …_Type_REALTEC(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_REALTEC() argument 189 return(new MD_Cart_Type_REALTEC(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_REALTEC()
|
H A D | map_ff.cpp | 26 MD_Cart_Type_FF(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 50 MD_Cart_Type_FF::MD_Cart_Type_FF(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_FF() argument 53 this->rom_size = ROM_size; in MD_Cart_Type_FF() 178 …_Cart_Type_FF(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_FF() argument 180 return(new MD_Cart_Type_FF(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_FF()
|
H A D | map_ssf2.cpp | 26 MD_Cart_Type_SSF2(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 50 …rt_Type_SSF2::MD_Cart_Type_SSF2(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_SSF2() argument 53 this->rom_size = ROM_size; in MD_Cart_Type_SSF2() 169 …art_Type_SSF2(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_SSF2() argument 171 return(new MD_Cart_Type_SSF2(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_SSF2()
|
H A D | map_sram.cpp | 28 MD_Cart_Type_SRAM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size); 57 …rt_Type_SRAM::MD_Cart_Type_SRAM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size) in MD_Cart_Type_SRAM() argument 60 this->rom_size = ROM_size; in MD_Cart_Type_SRAM() 192 …art_Type_SRAM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_SRAM() argument 194 return(new MD_Cart_Type_SRAM(ginfo, ROM, ROM_size)); in MD_Make_Cart_Type_SRAM()
|
H A D | map_eeprom.cpp | 117 …MD_Cart_Type_EEPROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const int … 160 …t_Type_EEPROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const int BoardT… in MD_Cart_Type_EEPROM() argument 165 this->rom_size = ROM_size; in MD_Cart_Type_EEPROM() 640 …t_Type_EEPROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa… in MD_Make_Cart_Type_EEPROM() argument 642 return(new MD_Cart_Type_EEPROM(ginfo, ROM, ROM_size, iparam)); in MD_Make_Cart_Type_EEPROM()
|
H A D | map_ff.h | 1 …_Cart_Type_FF(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_rmx3.h | 1 …art_Type_RMX3(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_yase.h | 1 …art_Type_YaSe(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_sbb.h | 1 …Cart_Type_SBB(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_ssf2.h | 4 …art_Type_SSF2(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_rom.h | 4 …Cart_Type_ROM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_sram.h | 4 …art_Type_SRAM(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
H A D | map_realtec.h | 4 …_Type_REALTEC(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 ipa…
|
/dports/games/libretro-fceumm/libretro-fceumm-91ccd3b/src/boards/ |
H A D | unrom512.c | 119 return flash_id[ROM_size >> 4]; in DECLFR() 128 if (GetFlashWriteCount(ROM_size - 1, A)) in DECLFR() 183 for(i = 0; i < (ROM_size * 4); i++) in UNROM512LSync() 185 …memset(flashdata, 0xFF, ROM_size * 0x4000); /* Erasing the rom chip as instructed. Crash rate calu… in UNROM512LSync() 202 flash_bank=latche&(ROM_size - 1); in UNROM512HSync() 253 AddExState(flash_write_count,ROM_size * 4 * sizeof(uint32), 0, "FLASH_WRITE_COUNT"); in UNROM512_Init() 254 AddExState(flashdata,ROM_size * 0x4000, 0, "FLASH_DATA"); in UNROM512_Init()
|
H A D | karaoke.c | 23 extern uint32 ROM_size; 33 setprg16(0x8000, 7 + (ROM_size >> 4)); in Sync()
|
/dports/comms/libticalcs2/libticalcs2-1.1.9/src/romdump_89t_usb/ |
H A D | romdump.c | 32 #define ROM_size ((uint32_t)(0x200000 << (V200 || ((uint32_t)ROM_base == 0x800000)))) macro 196 Send_SIZE(buf, ROM_size); in Dump() 198 sprintf(str, "Size: %lu KB", ROM_size >> 10); in Dump() 205 if(addr > ROM_size) in Dump() 217 sprintf(str, "Done: %lu/%luKB ", addr >> 10, ROM_size >> 10); in Dump()
|
/dports/comms/libticalcs2/libticalcs2-1.1.9/src/romdump_9x/ |
H A D | romdump.c | 36 #define ROM_size ((uint32_t)(0x200000 << (V200 || ((uint32_t)ROM_base == 0x800000)))) macro 204 Send_SIZE(buf, ROM_size); in Dump() 206 sprintf(str, "Size: %lu KB", ROM_size >> 10); in Dump() 213 if(addr > ROM_size) in Dump() 223 sprintf(str, "Done: %lu/%luKB ", addr >> 10, ROM_size >> 10); in Dump()
|
H A D | fargodef.h | 37 #define ROM_size ((49[(unsigned long *)ROM_base] + 0xffffful) & 0xfff00000ul) macro 38 #define TI92_VERSION ((int)(ROM_size>>20))
|
/dports/games/libretro-fceumm/libretro-fceumm-91ccd3b/src/ |
H A D | ines.c | 53 uint32 ROM_size = 0; variable 825 ROM_size = head.ROM_size; in rom_load_ines() 833 ROM_size = head.ROM_size | ((head.upper_PRG_CHR_size >> 0) & 0xF) << 8; in rom_load_ines2() 891 if (!ROM_size) in iNESLoad() 892 ROM_size = 256; in iNESLoad() 901 romSize = (ROM_size * 0x4000) + (VROM_size * 0x2000); in iNESLoad() 908 rom_size_pow2 = uppow2(ROM_size) * 0x4000; in iNESLoad() 914 FCEU_fread(ROM, 0x4000, ROM_size, fp); in iNESLoad() 929 iNESCart.PRGRomSize = ROM_size * 0x4000; in iNESLoad() 937 md5_update(&md5, ROM, ROM_size * 0x4000); in iNESLoad() [all …]
|