/dports/sysutils/syslinux/syslinux-6.03/gpxe/src/util/ |
H A D | makerom.pl | 134 my ($romref, $romsize) = @_; 149 my ($rom, $romsize, $stubsize); 168 if (($romsize = oct($opts{'s'})) <= 0) { 170 $romsize = ($filesize + 511) & ~511 174 for ($romsize = MAXROMSIZE; 175 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 176 $romsize /= 2) { } 178 if ($filesize > $romsize) { 181 $romsize = ($filesize + 511) & ~511; 182 print "will use $romsize instead\n" [all …]
|
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/net/ipxe/ipxe-2265a65/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/ipxe/src/util/ |
H A D | modrom.pl | 147 my ($rom, $romsize); 168 $romsize = ($filesize + 511) & ~511 171 $romsize = &getromsize(\$rom); 173 if ($romsize == 0) { 175 for ($romsize = MAXROMSIZE; 176 $romsize > MINROMSIZE and $romsize >= 2*$filesize; 177 $romsize /= 2) { } 180 if ($filesize > $romsize) { 183 $romsize = ($filesize + 511) & ~511; 184 print "will use $romsize instead\n" [all …]
|
/dports/devel/radare2/radare2-5.1.1/libr/bin/p/ |
H A D | bin_sms.c | 86 int romsize = 0; in info() local 88 case 0xa: romsize = 8; break; in info() 89 case 0xb: romsize = 16; break; in info() 90 case 0xc: romsize = 32; break; in info() 91 case 0xd: romsize = 48; break; in info() 92 case 0xe: romsize = 64; break; in info() 93 case 0xf: romsize = 128; break; in info() 94 case 0x0: romsize = 256; break; in info() 95 case 0x1: romsize = 512; break; in info() 96 case 0x2: romsize = 1024; break; in info() [all …]
|
/dports/devel/z88dk/z88dk/src/appmake/ |
H A D | rom.c | 17 static int romsize = 0; variable 35 { 's', "romsize", "Size of output rom", OPT_INT, &romsize }, 65 if ((binname == NULL) && (romsize == 0)) in rom_exec() 82 …suffix_change(outname, ((crt_model == 0) || ((crt_model != -1) && (romsize == 0))) ? ".bin" : ".ro… in rom_exec() 89 if ((pre_size = (romsize == 0) ? 0 : (binorg - rombase)) < 0) in rom_exec() 108 if (romsize == 0) in rom_exec() 110 if (romsize % chipsize != 0) in rom_exec() 111 … exit_log(1, "ROM size is %d, it can't be split for [chipsize = %d]\n", romsize, chipsize); in rom_exec() 112 chipcount = romsize / chipsize; in rom_exec() 117 if ((post_size = (romsize == 0) ? 0 : (romsize - in_size - binorg + rombase)) < 0) in rom_exec() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/hw/xen/ |
H A D | xen_pt_load_rom.c | 56 if (dev->romsize != -1) { in pci_assign_dev_load_option_rom() 57 if (st.st_size > dev->romsize) { in pci_assign_dev_load_option_rom() 59 rom_file, (long) st.st_size, dev->romsize); in pci_assign_dev_load_option_rom() 63 dev->romsize = st.st_size; in pci_assign_dev_load_option_rom() 67 memory_region_init_ram(&dev->rom, owner, name, dev->romsize, &error_abort); in pci_assign_dev_load_option_rom() 69 memset(ptr, 0xff, dev->romsize); in pci_assign_dev_load_option_rom()
|
/dports/emulators/qemu60/qemu-6.0.0/hw/xen/ |
H A D | xen_pt_load_rom.c | 56 if (dev->romsize != -1) { in pci_assign_dev_load_option_rom() 57 if (st.st_size > dev->romsize) { in pci_assign_dev_load_option_rom() 59 rom_file, (long) st.st_size, dev->romsize); in pci_assign_dev_load_option_rom() 63 dev->romsize = st.st_size; in pci_assign_dev_load_option_rom() 67 memory_region_init_ram(&dev->rom, owner, name, dev->romsize, &error_abort); in pci_assign_dev_load_option_rom() 69 memset(ptr, 0xff, dev->romsize); in pci_assign_dev_load_option_rom()
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/xen/ |
H A D | xen_pt_load_rom.c | 56 if (dev->romsize != -1) { in TranslateMatrixStrategy() 57 if (st.st_size > dev->romsize) { in TranslateMatrixStrategy() 59 rom_file, (long) st.st_size, dev->romsize); in TranslateMatrixStrategy() 63 dev->romsize = st.st_size; in TranslateMatrixStrategy() 67 memory_region_init_ram(&dev->rom, owner, name, dev->romsize, &error_abort); in TranslateMatrixStrategy() 69 memset(ptr, 0xff, dev->romsize); in TranslateMatrixStrategy()
|
/dports/emulators/mess/mame-mame0226/src/mame/machine/ |
H A D | seibuspi.h | 9 void seibuspi_sprite_decrypt(u8 *src, int romsize); 10 void seibuspi_rise10_sprite_decrypt(u8 *rom, int romsize); 11 void seibuspi_rise11_sprite_decrypt_rfjet(u8 *rom, int romsize); 12 void seibuspi_rise11_sprite_decrypt_feversoc(u8 *rom, int romsize);
|
/dports/emulators/mame/mame-mame0226/src/mame/machine/ |
H A D | seibuspi.h | 9 void seibuspi_sprite_decrypt(u8 *src, int romsize); 10 void seibuspi_rise10_sprite_decrypt(u8 *rom, int romsize); 11 void seibuspi_rise11_sprite_decrypt_rfjet(u8 *rom, int romsize); 12 void seibuspi_rise11_sprite_decrypt_feversoc(u8 *rom, int romsize);
|
/dports/games/libretro-picodrive/picodrive-600894e/pico/carthw/ |
H A D | carthw.c | 17 if (base >= Pico.romsize) { in have_bank() 116 len = Pico.romsize - a; in carthw_Xin1_do() 206 if (realtec_size > Pico.romsize - realtec_bank) in carthw_realtec_write8() 240 i = PicoCartResize(Pico.romsize + M68K_BANK_SIZE); in carthw_realtec_startup() 248 memcpy(Pico.rom + Pico.romsize + i, Pico.rom + Pico.romsize - 0x2000, 0x2000); in carthw_realtec_startup() 458 i = PicoCartResize(Pico.romsize + M68K_BANK_SIZE); in carthw_pier_startup() 468 memcpy(Pico.rom + Pico.romsize + i, Pico.rom, 0x8000); in carthw_pier_startup() 691 if (addr + 0x8000 > Pico.romsize) { in PicoWrite8_plk3b() 696 memcpy(Pico.rom, Pico.rom + Pico.romsize, 0x8000); in PicoWrite8_plk3b() 715 ret = PicoCartResize(Pico.romsize + 0x8000); in carthw_prot_lk3_startup() [all …]
|
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/pico/carthw/ |
H A D | carthw.c | 17 if (base >= Pico.romsize) { in have_bank() 116 len = Pico.romsize - a; in carthw_Xin1_do() 206 if (realtec_size > Pico.romsize - realtec_bank) in carthw_realtec_write8() 240 i = PicoCartResize(Pico.romsize + M68K_BANK_SIZE); in carthw_realtec_startup() 248 memcpy(Pico.rom + Pico.romsize + i, Pico.rom + Pico.romsize - 0x2000, 0x2000); in carthw_realtec_startup() 458 i = PicoCartResize(Pico.romsize + M68K_BANK_SIZE); in carthw_pier_startup() 468 memcpy(Pico.rom + Pico.romsize + i, Pico.rom, 0x8000); in carthw_pier_startup() 691 if (addr + 0x8000 > Pico.romsize) { in PicoWrite8_plk3b() 696 memcpy(Pico.rom, Pico.rom + Pico.romsize, 0x8000); in PicoWrite8_plk3b() 715 ret = PicoCartResize(Pico.romsize + 0x8000); in carthw_prot_lk3_startup() [all …]
|
/dports/emulators/ucon64/ucon64-2.2.2-src/src/backup/ |
H A D | pce-pro.c | 188 unsigned int size, romsize = 0, address = 0, multi_game; in pce_write_rom() local 233 romsize = size; // one file (no multi-game) in pce_write_rom() 256 romsize = game_table[game_no * 0x20 + 0x1e] * MBIT; in pce_write_rom() 258 romsize = PCE_PRO_LOADER_SIZE; // the loader in pce_write_rom() 260 bytesleft = romsize; in pce_write_rom() 269 if ((romsize == 3 * MBIT) && (address - startaddress == 2 * MBIT)) in pce_write_rom() 271 else if ((romsize == 4 * MBIT) && (address - startaddress == 4 * MBIT)) in pce_write_rom()
|
/dports/devel/z88dk/z88dk/lib/config/ |
H A D | sv8000.cfg | 14 SUBTYPE default -Cz+rom -Cz--romsize=4096 17 SUBTYPE 8k -Cz+rom -Cz--romsize=8192 18 SUBTYPE 16k -Cz+rom -Cz--romsize=16384 19 SUBTYPE 32k -Cz+rom -Cz--romsize=32768
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/electron/cart/ |
H A D | slot.cpp | 149 uint32_t romsize = get_software_region_length("rom"); in call_load() local 153 …% 0x2000 && upsize != 0) || (losize % 0x2000 && losize != 0) || (romsize % 0x2000 && romsize != 0)) in call_load() 170 if (romsize != 0) in call_load() 172 m_cart->rom_alloc(romsize, tag()); in call_load() 173 memcpy(m_cart->get_rom_base(), get_software_region("rom"), romsize); in call_load()
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/electron/cart/ |
H A D | slot.cpp | 149 uint32_t romsize = get_software_region_length("rom"); in call_load() local 153 …% 0x2000 && upsize != 0) || (losize % 0x2000 && losize != 0) || (romsize % 0x2000 && romsize != 0)) in call_load() 170 if (romsize != 0) in call_load() 172 m_cart->rom_alloc(romsize, tag()); in call_load() 173 memcpy(m_cart->get_rom_base(), get_software_region("rom"), romsize); in call_load()
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/addons/ |
H A D | slot2_passme.cpp | 33 if (tmp_addr < gameInfo.romsize) in readByte() 41 if (tmp_addr < gameInfo.romsize) in readWord() 49 if (tmp_addr < gameInfo.romsize) in readLong()
|
/dports/emulators/darcnes/darcnes/ |
H A D | pce.c | 269 int romsize; in pce_init_mmap() local 273 romsize = pce_rom_file->size; in pce_init_mmap() 276 if (romsize & 0x200) { in pce_init_mmap() 282 pce_mmap[i] = ((((i * 0x2000) + offset) < romsize)? (romimage + (i * 0x2000) + offset): 0); in pce_init_mmap() 285 if (romsize == (offset + 0x60000)) { in pce_init_mmap() 292 if (romsize == (offset + 0x80000)) { in pce_init_mmap()
|