/dports/emulators/fs-uae/fs-uae-3.1.35/src/jit/ |
H A D | compemu_prefs.cpp | 44 cachesize_prev = currprefs.cachesize; in check_prefs_changed_comp() 59 if(currprefs.cachesize) in check_prefs_changed_comp() 62 if ((!canbang || !currprefs.cachesize) && currprefs.comptrustbyte != 1) { in check_prefs_changed_comp() 64 currprefs.comptrustbyte = 1; in check_prefs_changed_comp() 65 currprefs.comptrustword = 1; in check_prefs_changed_comp() 66 currprefs.comptrustlong = 1; in check_prefs_changed_comp() 67 currprefs.comptrustnaddr= 1; in check_prefs_changed_comp() 76 if (currprefs.cachesize) in check_prefs_changed_comp() 82 currprefs.cachesize, in check_prefs_changed_comp() 83 currprefs.comptrustbyte, currprefs.comptrustword, currprefs.comptrustlong, in check_prefs_changed_comp() [all …]
|
/dports/emulators/hatari/hatari-2.2.1/src/cpu/jit/ |
H A D | compemu_prefs.c | 39 cachesize_prev = currprefs.cachesize; in check_prefs_changed_comp() 54 if(currprefs.cachesize) in check_prefs_changed_comp() 57 if ((!canbang || !currprefs.cachesize) && currprefs.comptrustbyte != 1) { in check_prefs_changed_comp() 59 currprefs.comptrustbyte = 1; in check_prefs_changed_comp() 60 currprefs.comptrustword = 1; in check_prefs_changed_comp() 61 currprefs.comptrustlong = 1; in check_prefs_changed_comp() 62 currprefs.comptrustnaddr= 1; in check_prefs_changed_comp() 71 if (currprefs.cachesize) in check_prefs_changed_comp() 77 currprefs.cachesize, in check_prefs_changed_comp() 78 currprefs.comptrustbyte, currprefs.comptrustword, currprefs.comptrustlong, in check_prefs_changed_comp() [all …]
|
/dports/emulators/uae/uae-0.8.29/src/ |
H A D | tui.c | 244 if (currprefs.gfx_ycenter && currprefs.gfx_xcenter) in print_configuration() 276 if (currprefs.address_space_24 && currprefs.cpu_level > 1) in print_configuration() 459 currprefs.gfx_lores = !currprefs.gfx_lores; in VideoOptions() 468 currprefs.gfx_linedbl = !currprefs.gfx_linedbl; in VideoOptions() 608 currprefs.stereo = (currprefs.stereo + 1) % 3; in SoundOptions() 627 currprefs.jport0 = (currprefs.jport0 + 1) % 6; in OtherOptions() 628 if (currprefs.jport0 == currprefs.jport1) in OtherOptions() 629 currprefs.jport1 = (currprefs.jport1 + 5) % 6; in OtherOptions() 632 currprefs.jport1 = (currprefs.jport1 + 1) % 6; in OtherOptions() 633 if (currprefs.jport0 == currprefs.jport1) in OtherOptions() [all …]
|
H A D | uaelib.c | 66 currprefs.produce_sound = val; in emulib_EnableSound() 75 currprefs.jport0 = val & 255; in emulib_EnableJoystick() 76 currprefs.jport1 = (val >> 8) & 255; in emulib_EnableJoystick() 90 currprefs.gfx_framerate = val; in emulib_SetFrameRate() 105 currprefs.keyboard_lang = KBD_LANG_US; in emulib_ChangeLanguage() 108 currprefs.keyboard_lang = KBD_LANG_DK; in emulib_ChangeLanguage() 111 currprefs.keyboard_lang = KBD_LANG_DE; in emulib_ChangeLanguage() 146 currprefs.chipmem_size = memsize; in emulib_ChgCMemSize() 164 currprefs.bogomem_size = memsize; in emulib_ChgSMemSize() 181 currprefs.fastmem_size = memsize; in emulib_ChgFMemSize() [all …]
|
H A D | ncurses.c | 190 if ((currprefs.color_mode & ~1) != 0) { in init_colors() 221 if (currprefs.color_mode & 8) { in init_colors() 230 if (currprefs.color_mode & 4) { in init_colors() 257 if (! (currprefs.color_mode & 8)) in init_colors() 289 currprefs.color_mode &= 1; in curses_init() 353 if (! currprefs.curses_reverse_video) in getgraycol() 397 if (currprefs.color_mode < 2) in flush_line_txt() 461 if (currprefs.color_mode > 16) in graphics_init() 474 currprefs.gfx_width = 320; in graphics_init() 475 currprefs.gfx_height = 256; in graphics_init() [all …]
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/ |
H A D | tui.c | 244 if (currprefs.gfx_ycenter && currprefs.gfx_xcenter) in print_configuration() 276 if (currprefs.address_space_24 && currprefs.cpu_level > 1) in print_configuration() 459 currprefs.gfx_lores_mode = !currprefs.gfx_lores_mode; in VideoOptions() 468 currprefs.gfx_vresolution = !currprefs.gfx_vresolution; in VideoOptions() 600 currprefs.stereo = (currprefs.stereo + 1) % 3; in SoundOptions() 619 currprefs.jport0 = (currprefs.jport0 + 1) % 6; in OtherOptions() 620 if (currprefs.jport0 == currprefs.jport1) in OtherOptions() 621 currprefs.jport1 = (currprefs.jport1 + 5) % 6; in OtherOptions() 624 currprefs.jport1 = (currprefs.jport1 + 1) % 6; in OtherOptions() 625 if (currprefs.jport0 == currprefs.jport1) in OtherOptions() [all …]
|
H A D | memory.c | 98 return currprefs.cachesize && !currprefs.comptrustbyte; in isdirectjit() 107 if (currprefs.cpu_model < 68020 || currprefs.address_space_24) in canjit() 1294 if ((currprefs.cpu_model > 68000 || !currprefs.cpu_compatible) && !currprefs.mmu_model) { in default_xlate() 1945 if (currprefs.cs_cdtvcd || currprefs.cs_cdtvram) { in load_kickstart() 2591 …gayleorfatgary = (currprefs.chipset_mask & CSMASK_AGA) || currprefs.cs_pcmcia || currprefs.cs_ide … in memory_reset() 2681 if (!currprefs.cs_a1000ram && currprefs.cs_rtc != 3) in memory_reset() 2711 if (currprefs.cs_ide || currprefs.cs_pcmcia) { in memory_reset() 2719 if (currprefs.cs_ide < 0 && !currprefs.cs_pcmcia) in memory_reset() 2728 if (currprefs.cs_rtc == 1 || currprefs.cs_rtc == 2 || currprefs.cs_cdtvram) in memory_reset() 2730 else if (currprefs.cs_ksmirror_a8 || currprefs.cs_ide > 0 || currprefs.cs_pcmcia) in memory_reset() [all …]
|
H A D | expansion.c | 1017 uae_u16 mid = (currprefs.cs_a2091 || currprefs.uae_hide) ? commodore : uae_id; in expamem_init_fastcard() 1018 …uae_u8 pid = (currprefs.cs_a2091 || currprefs.uae_hide) ? commodore_a2091_ram : (currprefs.maprom … in expamem_init_fastcard() 1426 if (currprefs.cs_cdtvcd || currprefs.cs_cdtvscsi || currprefs.uae_hide > 1) in check_boot_rom() 1441 if (currprefs.uaeserial) in check_boot_rom() 1443 if (currprefs.scsi == 1) in check_boot_rom() 1445 if (currprefs.sana2) in check_boot_rom() 1501 …p96ram_start = currprefs.z3fastmem_start + ((currprefs.z3fastmem_size + currprefs.z3fastmem2_size … in p96memstart() 1502 …if (p96ram_start == currprefs.z3fastmem_start + currprefs.z3fastmem_size + currprefs.z3fastmem2_si… in p96memstart() 1503 …(currprefs.z3fastmem_size + currprefs.z3fastmem2_size + currprefs.z3chipmem_size < 512 * 1024 * 10… in p96memstart() 1515 if (currprefs.uae_hide) in expamem_reset() [all …]
|
H A D | uaelib.c | 67 currprefs.produce_sound = val; in emulib_EnableSound() 76 currprefs.jports[0].id = val & 255; in emulib_EnableJoystick() 91 currprefs.gfx_framerate = val; in emulib_SetFrameRate() 106 currprefs.keyboard_lang = KBD_LANG_US; in emulib_ChangeLanguage() 109 currprefs.keyboard_lang = KBD_LANG_DK; in emulib_ChangeLanguage() 112 currprefs.keyboard_lang = KBD_LANG_DE; in emulib_ChangeLanguage() 240 put_long (place + 24, currprefs.jports[0].id | (currprefs.jports[1].id << 8)); in emulib_GetUaeConfig() 415 if (!currprefs.maprom) in uaelib_demux2() 423 return currprefs.maprom; in uaelib_demux2() 426 case 83: currprefs.mmkeyboard = ARG1 ? 1 : 0; return currprefs.mmkeyboard; in uaelib_demux2() [all …]
|
H A D | dongle.c | 102 if (!currprefs.dongle) in dongle_cia_read() 104 switch (currprefs.dongle) in dongle_cia_read() 122 if (!currprefs.dongle) in dongle_cia_write() 124 switch (currprefs.dongle) in dongle_cia_write() 146 if (!currprefs.dongle) in dongle_joydat() 148 switch (currprefs.dongle) in dongle_joydat() 188 if (!currprefs.dongle) in dongle_potgo() 190 switch (currprefs.dongle) in dongle_potgo() 203 if (!currprefs.dongle) in dongle_potgor() 205 switch (currprefs.dongle) in dongle_potgor() [all …]
|
/dports/audio/uade/uade-2.13/src/ |
H A D | uademain.c | 177 if ((currprefs.chipmem_size & (currprefs.chipmem_size - 1)) != 0 185 if ((currprefs.fastmem_size & (currprefs.fastmem_size - 1)) != 0 186 …|| (currprefs.fastmem_size != 0 && (currprefs.fastmem_size < 0x100000 || currprefs.fastmem_size > … 192 if ((currprefs.gfxmem_size & (currprefs.gfxmem_size - 1)) != 0 193 …|| (currprefs.gfxmem_size != 0 && (currprefs.gfxmem_size < 0x100000 || currprefs.gfxmem_size > 0x8… 206 … if (currprefs.address_space_24 && (currprefs.gfxmem_size != 0 || currprefs.z3fastmem_size != 0)) { 207 currprefs.z3fastmem_size = currprefs.gfxmem_size = 0; 212 …|| (currprefs.bogomem_size != 0 && (currprefs.bogomem_size < 0x80000 || currprefs.bogomem_size > 0… 224 if (currprefs.m68k_speed < -1 || currprefs.m68k_speed > 20) { 234 if (currprefs.cpu_level < 2 && currprefs.z3fastmem_size > 0) { [all …]
|
H A D | sd-sound-generic.c | 41 currprefs.sound_freq = x; in set_sound_freq() 52 if (currprefs.sound_maxbsiz < 128 || currprefs.sound_maxbsiz > 16384) { in init_sound() 53 fprintf (stderr, "Sound buffer size %d out of range.\n", currprefs.sound_maxbsiz); in init_sound() 54 currprefs.sound_maxbsiz = 8192; in init_sound() 58 dspbits = currprefs.sound_bits; in init_sound() 59 rate = currprefs.sound_freq; in init_sound() 60 channels = currprefs.stereo ? 2 : 1; in init_sound()
|
/dports/emulators/fs-uae/fs-uae-3.1.35/src/ |
H A D | moduleripper.cpp | 56 size = currprefs.chipmem_size; in moduleripper() 57 size += currprefs.fastmem_size; in moduleripper() 58 size += currprefs.bogomem_size; in moduleripper() 61 size += currprefs.z3fastmem_size; in moduleripper() 67 p += currprefs.chipmem_size; in moduleripper() 69 p += currprefs.fastmem_size; in moduleripper() 71 p += currprefs.fastmem2_size; in moduleripper() 73 p += currprefs.bogomem_size; in moduleripper() 79 p += currprefs.z3fastmem_size; in moduleripper() 80 mc (p, z3fastmem_bank.start + currprefs.z3fastmem_size, currprefs.z3fastmem2_size); in moduleripper() [all …]
|
H A D | memory.cpp | 62 return currprefs.cachesize && !currprefs.comptrustbyte; in isdirectjit() 67 if (currprefs.cpu_model < 68020 || currprefs.address_space_24) in canjit() 257 …if ((currprefs.cpu_model <= 68010) || (currprefs.cpu_model == 68020 && (currprefs.chipset_mask & C… in dummy_get_safe() 1042 if ((currprefs.cpu_model > 68000 || !currprefs.cpu_compatible) && !currprefs.mmu_model) { in default_xlate() 1662 if (currprefs.cs_cdtvcd || currprefs.cs_cdtvram) { in load_kickstart() 2456 …gayleorfatgary = (currprefs.chipset_mask & CSMASK_AGA) || currprefs.cs_pcmcia || currprefs.cs_ide … in memory_reset() 2510 if (currprefs.cs_ide || currprefs.cs_pcmcia) { in memory_reset() 2518 if (currprefs.cs_ide < 0 && !currprefs.cs_pcmcia) in memory_reset() 2525 if (currprefs.cs_rtc == 1 || currprefs.cs_rtc == 2 || currprefs.cs_cdtvram) in memory_reset() 2527 else if (currprefs.cs_ksmirror_a8 || currprefs.cs_ide > 0 || currprefs.cs_pcmcia) in memory_reset() [all …]
|
H A D | dongle.cpp | 89 if (!currprefs.dongle) in dongle_cia_read() 91 switch (currprefs.dongle) in dongle_cia_read() 109 if (!currprefs.dongle) in dongle_cia_write() 111 switch (currprefs.dongle) in dongle_cia_write() 133 if (!currprefs.dongle) in dongle_joydat() 135 switch (currprefs.dongle) in dongle_joydat() 175 if (!currprefs.dongle) in dongle_potgo() 177 switch (currprefs.dongle) in dongle_potgo() 190 if (!currprefs.dongle) in dongle_potgor() 192 switch (currprefs.dongle) in dongle_potgor() [all …]
|
H A D | expansion.cpp | 577 if (cpuboards[currprefs.cpuboard_type].subtypes[currprefs.cpuboard_subtype].e8) { in expamem_wget() 1368 pid = currprefs.maprom && !currprefs.cpuboard_type ? 1 : 81; in fastmem_autoconfig() 1375 pid = currprefs.maprom && !currprefs.cpuboard_type ? 3 : 83; in fastmem_autoconfig() 1570 expamem_write (0x04, currprefs.maprom && !currprefs.cpuboard_type ? 2 : 82); in expamem_init_filesys() 1953 if (currprefs.cs_cdtvcd || currprefs.cs_cdtvscsi || currprefs.uae_hide > 1) in check_boot_rom() 1955 if (currprefs.cs_mbdmac == 1 || currprefs.cpuboard_type) in check_boot_rom() 1975 if (currprefs.sana2) in check_boot_rom() 1979 if (currprefs.rtgmem_size && currprefs.rtgmem_type < GFXBOARD_HARDWARE) in check_boot_rom() 2095 if (currprefs.uae_hide) in expamem_reset() 2180 if (currprefs.cs_cdtvcd && !currprefs.cs_cdtvcr) { in expamem_reset() [all …]
|
H A D | cia.cpp | 1758 return currprefs.cs_ide || currprefs.cs_pcmcia || currprefs.cs_mbdmac; in issinglecia() 1762 return currprefs.cs_ide || currprefs.cs_pcmcia; in isgayle() 1767 if (currprefs.cachesize || currprefs.cpu_thread) in cia_wait_pre() 1878 if (currprefs.cpu_model == 68000 && currprefs.cpu_compatible) { in cia_bget() 1887 if (currprefs.cpu_model == 68000 && currprefs.cpu_compatible) in cia_bget() 1894 if (currprefs.cpu_model == 68000 && currprefs.cpu_compatible) { in cia_bget() 1940 if (currprefs.cpu_model == 68000 && currprefs.cpu_compatible) { in cia_wget() 2061 if (currprefs.cs_rtc == 1 || currprefs.cs_rtc == 3) { /* MSM6242B */ in getclockreg() 2133 if (!currprefs.rtcfile[0] || currprefs.cs_rtc == 0) in write_battclock() 2167 if (currprefs.cs_rtc == 1 || currprefs.cs_rtc == 3) { /* MSM6242B */ in rtc_hardreset() [all …]
|
H A D | uaelib.cpp | 62 currprefs.produce_sound = val; in emulib_EnableSound() 71 currprefs.jports[0].id = val & 255; in emulib_EnableJoystick() 86 currprefs.gfx_framerate = val; in emulib_SetFrameRate() 101 currprefs.keyboard_lang = KBD_LANG_US; in emulib_ChangeLanguage() 104 currprefs.keyboard_lang = KBD_LANG_DK; in emulib_ChangeLanguage() 107 currprefs.keyboard_lang = KBD_LANG_DE; in emulib_ChangeLanguage() 229 put_long (place + 24, currprefs.jports[0].id | (currprefs.jports[1].id << 8)); in emulib_GetUaeConfig() 390 if (!currprefs.maprom) in uaelib_demux_common() 394 return currprefs.maprom; in uaelib_demux_common() 397 case 83: currprefs.mmkeyboard = ARG1 ? 1 : 0; return currprefs.mmkeyboard; in uaelib_demux_common() [all …]
|
H A D | driveclick.cpp | 180 struct floppyslot *fs = &currprefs.floppyslots[i]; in driveclick_init() 252 sample_step = (freq << DS_SHIFT) / currprefs.sound_freq; in driveclick_reset() 259 if (currprefs.floppyslots[i].dfxclick) { in driveclick_active() 274 if (currprefs.floppyslots[i].dfxclick) { in getsample() 314 vol = currprefs.dfxclickvolume_disk[i]; in getsample() 316 vol = currprefs.dfxclickvolume_empty[i]; in getsample() 354 switch (get_audio_nativechannels (currprefs.sound_stereo)) in driveclick_mix() 447 if (!currprefs.floppyslots[drive].dfxclick) in driveclick_click() 466 if (!currprefs.floppyslots[drive].dfxclick) in driveclick_motor() 496 currprefs.floppyslots[drive].dfxclick); in driveclick_insert() [all …]
|
/dports/emulators/uae/uae-0.8.29/src/od-dos/sound/ |
H A D | sound.c | 83 if (currprefs.sound_adjust) { in direct_check_sound_buffers() 99 if (currprefs.sound_adjust) in direct_check_sound_buffers() 247 if (currprefs.sound_minbsiz > currprefs.sound_maxbsiz) { in init_sound() 249 tmp = currprefs.sound_minbsiz; in init_sound() 250 currprefs.sound_minbsiz = currprefs.sound_maxbsiz; in init_sound() 251 currprefs.sound_maxbsiz = tmp; in init_sound() 255 rate = currprefs.sound_freq; in init_sound() 264 currprefs.sound_minbsiz = (currprefs.sound_minbsiz>>2)<<2; in init_sound() 271 if (currprefs.stereo) in init_sound() 277 if (currprefs.stereo) in init_sound() [all …]
|
/dports/games/libretro-hatari/hatari-561c07e/src/cpu/ |
H A D | hatari-glue.c | 40 struct uae_prefs currprefs, changed_prefs; variable 109 currprefs.cpu_level = changed_prefs.cpu_level = ConfigureParams.System.nCpuLevel; in Init680x0() 111 switch (currprefs.cpu_level) { in Init680x0() 112 case 0 : currprefs.cpu_model = 68000; break; in Init680x0() 113 case 1 : currprefs.cpu_model = 68010; break; in Init680x0() 114 case 2 : currprefs.cpu_model = 68020; break; in Init680x0() 115 case 3 : currprefs.cpu_model = 68030; break; in Init680x0() 116 case 4 : currprefs.cpu_model = 68040; break; in Init680x0() 117 case 5 : currprefs.cpu_model = 68060; break; in Init680x0() 124 currprefs.fpu_model = changed_prefs.fpu_model = ConfigureParams.System.n_FPUType; in Init680x0() [all …]
|
/dports/emulators/fs-uae/fs-uae-3.1.35/src/od-fs/ |
H A D | libamiga.cpp | 212 cfgfile_save(&currprefs, path, 0); in amiga_write_uae_config() 240 set_path(currprefs.path_cd.path[i], in amiga_set_paths() 254 set_path(currprefs.path_rom.path[i], in amiga_set_paths() 326 cfgfile_save(&currprefs, path, 0); in amiga_write_config() 337 currprefs.use_serial = 1; in amiga_enable_serial_port() 363 currprefs.cpu_idle = idle; in amiga_set_cpu_idle() 415 return currprefs.floppyslots[index].df; in amiga_floppy_get_file() 419 return currprefs.dfxlist[index]; in amiga_floppy_get_list_entry() 492 return currprefs.cdslots[index].name; in amiga_cdrom_get_file() 541 int speed = currprefs.floppy_speed; in amiga_floppy_get_speed() [all …]
|
/dports/emulators/uae/uae-0.8.29/src/od-amiga/ |
H A D | sound.c | 222 if (currprefs.sound_maxbsiz < 2 || currprefs.sound_maxbsiz > (256*1024)) { 224 currprefs.sound_maxbsiz = 8192; 229 if (!currprefs.sound_freq) currprefs.sound_freq = 1; 230 if (clockval/currprefs.sound_freq < 80/*124*/ || clockval/currprefs.sound_freq > 65535) { 232 currprefs.sound_freq = 22000; 234 rate = currprefs.sound_freq; 286 if(currprefs.sound_bits == 16) 290 Sample0.ahisi_Length=sndbufsize/((currprefs.stereo?2:1)*(currprefs.sound_bits==16?2:1)); 321 if(currprefs.sound_bits == 16) { 331 currprefs.stereo = 0; [all …]
|
/dports/emulators/fs-uae/fs-uae-3.1.35/src/od-win32/ |
H A D | mman.cpp | 70 …if (currprefs.z3fastmem_size + currprefs.z3fastmem2_size + currprefs.z3chipmem_size >= 8 * 1024 * … in lowmem() 73 currprefs.z3fastmem2_size = 0; in lowmem() 77 currprefs.z3chipmem_size = 0; in lowmem() 83 change = currprefs.z3fastmem_size - currprefs.z3fastmem_size / 4; in lowmem() 84 currprefs.z3fastmem2_size = changed_prefs.z3fastmem2_size = currprefs.z3fastmem_size / 4; in lowmem() 85 currprefs.z3fastmem_size /= 2; in lowmem() 89 change = currprefs.rtgmem_size - currprefs.rtgmem_size / 2; in lowmem() 90 currprefs.rtgmem_size /= 2; in lowmem() 757 if (!(currprefs.rtgmem_size && gfxboard_get_configtype(currprefs.rtgmem_type) == 3)) 774 if (!(currprefs.rtgmem_size && gfxboard_get_configtype(currprefs.rtgmem_type) == 3)) [all …]
|
/dports/emulators/uae/uae-0.8.29/src/od-dos/video/ |
H A D | video.c | 210 currprefs.color_mode = 4; in vidmode_menu_selected() 213 currprefs.color_mode = 0; in vidmode_menu_selected() 216 currprefs.color_mode = 1; in vidmode_menu_selected() 219 currprefs.color_mode = 2; in vidmode_menu_selected() 225 currprefs.gfx_lores=currprefs.gfx_width<640; in vidmode_menu_selected() 226 currprefs.gfx_xcenter=2; in vidmode_menu_selected() 227 currprefs.gfx_ycenter=2; in vidmode_menu_selected() 228 currprefs.gfx_linedbl=0; in vidmode_menu_selected() 230 currprefs.gfx_linedbl = 1; in vidmode_menu_selected() 260 if (!currprefs.no_xhair) in graphics_init() [all …]
|