/dports/emulators/quasi88/quasi88-0.6.4/src/ |
H A D | memory.c | 197 int i=0, load_size = -1; in load_rom() local 218 if( load_size < 0 ){ /* �ե����븫�Ĥ��餺 */ in load_rom() 221 memset( &ptr[load_size], 0xff, size-load_size ); in load_rom() 226 if( load_size < 0 ){ in load_rom() 232 if( load_size == size ){ printf( "OK\n" ); } in load_rom() 238 return load_size; in load_rom() 272 int load_size = -1; in load_compat_rom() local 277 load_size = osd_fread( ptr, 1, size, fp ); in load_compat_rom() 279 if( load_size < size ){ in load_compat_rom() 280 memset( &ptr[load_size], 0xff, size-load_size ); in load_compat_rom() [all …]
|
/dports/emulators/mednafen/mednafen/src/ |
H A D | SSFLoader.cpp | 48 uint32 load_size; in HandleEXE() local 56 load_size = 524288 - load_addr; in HandleEXE() 58 if((load_addr + load_size) > RAM_Data.size()) in HandleEXE() 59 RAM_Data.truncate(load_addr + load_size); in HandleEXE() 61 fp->read(&RAM_Data.map()[load_addr], load_size, false); in HandleEXE()
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/gme/ |
H A D | Kss_Core.cpp | 114 int orig_load_size = get_le16( header_.load_size ); in start_track() 115 int load_size = min( orig_load_size, rom.file_size() ); in start_track() local 116 load_size = min( load_size, (int) mem_size - load_addr ); in start_track() 117 if ( load_size != orig_load_size ) in start_track() 119 memcpy( ram + load_addr, rom.begin() + header_.extra_header, load_size ); in start_track() 121 rom.set_addr( -load_size - header_.extra_header ); in start_track() 125 int max_banks = (rom.file_size() - load_size + bank_size - 1) / bank_size; in start_track()
|
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/gme/ |
H A D | Kss_Core.cpp | 114 int orig_load_size = get_le16( header_.load_size ); in start_track() 115 int load_size = min( orig_load_size, rom.file_size() ); in start_track() local 116 load_size = min( load_size, (int) mem_size - load_addr ); in start_track() 117 if ( load_size != orig_load_size ) in start_track() 119 memcpy( ram + load_addr, rom.begin() + header_.extra_header, load_size ); in start_track() 121 rom.set_addr( -load_size - header_.extra_header ); in start_track() 125 int max_banks = (rom.file_size() - load_size + bank_size - 1) / bank_size; in start_track()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-wandboard/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 114 load_size = os.path.getsize(headerised_filename) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 123 if load_size & 0xFFFF == 0: 124 errase_size = load_size 126 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 132 load_size = os.path.getsize(headerised_filename) 134 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 141 if load_size & 0xFFFF == 0: 142 errase_size = load_size 144 errase_size = load_size - (load_size & 0xFFFF) + 0x10000 162 … "sf write " + hex(load_addr) + " " + hex(spi_flash_offset) + " " + hex(load_size) + " && " + \
|