/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/peripherals/ |
H A D | ula.c | 166 tstates = libspectrum_snap_tstates( snap ); in ula_from_snapshot() 174 libspectrum_snap_set_tstates( snap, tstates ); in ula_to_snapshot() 182 tstates += ula_contention_no_mreq[ tstates ]; in ula_contend_port_early() 184 tstates++; in ula_contend_port_early() 192 tstates += ula_contention_no_mreq[ tstates ]; tstates += 2; in ula_contend_port_late() 197 tstates += ula_contention_no_mreq[ tstates ]; tstates++; in ula_contend_port_late() 198 tstates += ula_contention_no_mreq[ tstates ]; tstates++; in ula_contend_port_late() 199 tstates += ula_contention_no_mreq[ tstates ]; in ula_contend_port_late() 201 tstates += 2; in ula_contend_port_late()
|
/dports/emulators/fuse/fuse-1.6.0/peripherals/ |
H A D | ula.c | 113 return tstates; in get_tstates() 119 tstates = value; in set_tstates() 204 sound_beeper( tstates, in ula_write() 247 tstates = libspectrum_snap_tstates( snap ); in ula_from_snapshot() 263 tstates += ula_contention_no_mreq[ tstates ]; in ula_contend_port_early() 265 tstates++; in ula_contend_port_early() 273 tstates += ula_contention_no_mreq[ tstates ]; tstates += 2; in ula_contend_port_late() 278 tstates += ula_contention_no_mreq[ tstates ]; tstates++; in ula_contend_port_late() 279 tstates += ula_contention_no_mreq[ tstates ]; tstates++; in ula_contend_port_late() 280 tstates += ula_contention_no_mreq[ tstates ]; in ula_contend_port_late() [all …]
|
/dports/emulators/libspectrum/libspectrum-1.5.0/ |
H A D | tape.c | 485 *tstates = 0; in libspectrum_tape_get_next_edge_internal() 494 *tstates = 0; in libspectrum_tape_get_next_edge_internal() 551 if( *tstates == 0 ) { in do_tail_pause() 591 *tstates = state->bit_tstates; in rom_edge() 599 *tstates = state->bit_tstates; in rom_edge() 688 *tstates = state->bit_tstates; in turbo_edge() 696 *tstates = state->bit_tstates; in turbo_edge() 764 *tstates = block->length; in tone_edge() 795 *tstates = state->bit_tstates; in pure_data_edge() 1113 *tstates = 0; in pulse_sequence_edge() [all …]
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/z80/ |
H A D | coretest.c | 45 libspectrum_dword tstates; variable 106 tstates += 3; in readbyte() 121 tstates += 3; in writebyte() 136 tstates += time; in contend_read() 149 tstates += time; in contend_write_no_mreq() 159 tstates++; in contend_port_preio() 168 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 169 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 170 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 172 tstates += 3; in contend_port_postio() [all …]
|
H A D | z80.c | 83 z80_interrupt_event_fn( libspectrum_dword tstates, int type, void *user_data ) in z80_interrupt_event_fn() argument 149 tstates < machine_current->timings.interrupt_length && in z80_interrupt() 154 if( tstates == z80.interrupts_enabled_at ) { in z80_interrupt() 155 event_add( tstates + 1, z80_interrupt_event ); in z80_interrupt() 168 case 0: PC = 0x0038; tstates += 7; break; in z80_interrupt() 169 case 1: PC = 0x0038; tstates += 7; break; in z80_interrupt() 174 tstates += 7; in z80_interrupt() 224 tstates += 11; PC = 0x0066; in z80_nmi() 255 libspectrum_snap_last_instruction_ei( snap ) ? tstates : -1; in z80_from_snapshot() 283 snap, z80.interrupts_enabled_at == tstates in z80_to_snapshot()
|
H A D | z80_macros.h | 108 tstates += ula_contention[ tstates ]; \ 109 tstates += (time); 113 tstates += ula_contention_no_mreq[ tstates ]; \ 114 tstates += (time); 118 tstates += ula_contention_no_mreq[ tstates ]; \ 119 tstates += (time); 228 tstates+=(time);\
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/libspectrum/ |
H A D | tape.c | 474 *tstates = 0; in libspectrum_tape_get_next_edge_internal() 483 *tstates = 0; in libspectrum_tape_get_next_edge_internal() 562 *tstates = state->bit_tstates; in rom_edge() 570 *tstates = state->bit_tstates; in rom_edge() 659 *tstates = state->bit_tstates; in turbo_edge() 667 *tstates = state->bit_tstates; in turbo_edge() 735 *tstates = block->length; in tone_edge() 766 *tstates = state->bit_tstates; in pure_data_edge() 774 *tstates = state->bit_tstates; in pure_data_edge() 1085 *tstates = 0; in pulse_sequence_edge() [all …]
|
/dports/emulators/fuse/fuse-1.6.0/z80/ |
H A D | coretest.c | 61 libspectrum_dword tstates; variable 122 tstates += 3; in readbyte() 137 tstates += 3; in writebyte() 152 tstates += time; in contend_read() 165 tstates += time; in contend_write_no_mreq() 175 tstates++; in contend_port_preio() 184 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 185 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 186 printf( "%5d PC %04x\n", tstates, port ); tstates++; in contend_port_postio() 188 tstates += 3; in contend_port_postio() [all …]
|
H A D | z80.c | 182 tstates < machine_current->timings.interrupt_length && in z80_interrupt() 197 if( tstates == z80.interrupts_enabled_at ) { in z80_interrupt() 198 event_add( tstates + 1, z80_interrupt_event ); in z80_interrupt() 207 tstates += 7; /* Longer than usual M1 cycle */ in z80_interrupt() 260 R++; tstates += 5; in z80_nmi() 315 libspectrum_snap_last_instruction_ei( snap ) ? tstates : -1; in z80_from_snapshot() 347 snap, z80.interrupts_enabled_at == tstates in z80_to_snapshot()
|
/dports/audio/aylet/aylet-0.5/ |
H A D | edops.c | 57 tstates+=out(b,c,b); 93 tstates+=out(b,c,c); 130 tstates+=out(b,c,d); 166 tstates+=out(b,c,e); 204 tstates+=out(b,c,h); 244 tstates+=out(b,c,l); 364 tstates+=t>>8; 405 tstates+=t>>8; 448 tstates+=t>>8; 490 tstates+=t>>8; [all …]
|
H A D | cbops.c | 45 tstates+=8; 52 tstates+=4; 65 case 6: tstates+=7;val=fetch(addr);rlc(val);store(addr,val);break; 73 case 14: tstates+=7;val=fetch(addr);rrc(val);store(addr,val);break; 81 case 0x16: tstates+=7;val=fetch(addr);rl(val);store(addr,val);break; 89 case 0x1e: tstates+=7;val=fetch(addr);rr(val);store(addr,val);break; 97 case 0x26: tstates+=7;val=fetch(addr);sla(val);store(addr,val);break; 105 case 0x2e: tstates+=7;val=fetch(addr);sra(val);store(addr,val);break; 113 case 0x36: tstates+=7;val=fetch(addr);sll(val);store(addr,val);break; 121 case 0x3e: tstates+=7;val=fetch(addr);srl(val);store(addr,val);break; [all …]
|
H A D | z80.c | 62 tstates=0; in z80loop() 73 if(tstates>=tsmax) in z80loop() 85 tstates-=tsmax; in z80loop() 105 tstates+=5; /* accompanied by an input from the data bus */ in z80loop() 112 tstates+=7; /* perhaps */ in z80loop() 117 tstates+=13; /* perhaps */ in z80loop()
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/ |
H A D | event.c | 87 return a->tstates != b->tstates ? a->tstates - b->tstates in event_add_cmp() 104 ptr->tstates = event_time; in event_add_with_data() 122 while(event_next_event <= tstates) { in event_do_events() 133 event_next_event = ((event_t*)(event_list->data))->tstates; in event_do_events() 136 if( descriptor.fn ) descriptor.fn( ptr->tstates, ptr->type, ptr->user_data ); in event_do_events() 154 ptr->tstates -= *tstates_per_frame; in event_reduce_tstates() 164 ((event_t*)(event_list->data))->tstates : event_no_events; in event_frame() 176 tstates = event_next_event; in event_force_events()
|
H A D | profile.c | 68 profile_last_tstates = tstates; in init_profiling_counters() 82 event_add( tstates, event_type_null ); in profile_start() 90 if( tstates - profile_last_tstates > 256 ) fuse_abort(); in profile_map() 92 total_tstates[ profile_last_pc ] += tstates - profile_last_tstates; in profile_map() 95 profile_last_tstates = tstates; in profile_map() 139 event_add( tstates, event_type_null ); in profile_finish()
|
H A D | spectrum.c | 56 libspectrum_dword tstates; variable 99 frame_length = rzx_playback ? tstates in spectrum_frame() 103 tstates -= frame_length; in spectrum_frame() 184 if( tstates < machine_current->line_times[ DISPLAY_BORDER_HEIGHT ] ) in spectrum_unattached_port() 188 line = ( (libspectrum_signed_dword)tstates - in spectrum_unattached_port() 198 tstates_through_line = tstates - in spectrum_unattached_port()
|
/dports/emulators/fuse/fuse-1.6.0/ |
H A D | event.c | 88 return a->tstates != b->tstates ? a->tstates - b->tstates in event_add_cmp() 105 ptr->tstates = event_time; in event_add_with_data() 123 while(event_next_event <= tstates) { in event_do_events() 135 event_next_event = ((event_t*)(event_list->data))->tstates; in event_do_events() 138 if( descriptor.fn ) descriptor.fn( ptr->tstates, ptr->type, ptr->user_data ); in event_do_events() 156 ptr->tstates -= *tstates_per_frame; in event_reduce_tstates() 166 ((event_t*)(event_list->data))->tstates : event_no_events; in event_frame() 178 tstates = event_next_event; in event_force_events()
|
H A D | profile.c | 77 profile_last_tstates = tstates; in init_profiling_counters() 91 event_add( tstates, event_type_null ); in profile_start() 99 total_tstates[ profile_last_pc ] += tstates - profile_last_tstates; in profile_map() 102 profile_last_tstates = tstates; in profile_map() 146 event_add( tstates, event_type_null ); in profile_finish()
|
H A D | spectrum.c | 58 libspectrum_dword tstates; variable 147 frame_length = rzx_playback ? tstates in spectrum_frame() 152 tstates -= frame_length; in spectrum_frame() 236 if( tstates < machine_current->line_times[ DISPLAY_BORDER_HEIGHT ] ) in spectrum_unattached_port() 240 line = ( (libspectrum_signed_dword)tstates - in spectrum_unattached_port() 250 tstates_through_line = tstates - in spectrum_unattached_port()
|
/dports/www/apache24/httpd-2.4.53/docs/server-status/ |
H A D | server-status.lua | 169 local tstates = {} 200 tstates[worker.status] = (tstates[worker.status] or 0) + 1 207 keepalive = (server.keepalive > 0) and server.keepalive or tstates[5] or 0, 208 closing = tstates[8] or 0, 209 idle = tstates[2] or 0, 210 writing = tstates[4] or 0, 211 reading = tstates[3] or 0, 212 graceful = tstates[9] or 0 216 …ate.connections.active = state.connections.active + (tstates[8] or 0) + (tstates[4] or 0) + (tstat…
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/libspectrum/test/ |
H A D | edges.c | 28 libspectrum_dword tstates; in check_edges() local 32 e = libspectrum_tape_get_next_edge( &tstates, &flags, tape ); in check_edges() 40 if( tstates != ptr->length || flags != ptr->flags ) { in check_edges() 42 progname, ptr->length, ptr->flags, tstates, flags ); in check_edges() 46 if( tstates != ptr->length ) { in check_edges() 48 ptr->length, tstates ); in check_edges()
|
/dports/emulators/libspectrum/libspectrum-1.5.0/test/ |
H A D | edges.c | 28 libspectrum_dword tstates; in check_edges() local 32 e = libspectrum_tape_get_next_edge( &tstates, &flags, tape ); in check_edges() 40 if( tstates != ptr->length || flags != ptr->flags ) { in check_edges() 42 progname, ptr->length, ptr->flags, tstates, flags ); in check_edges() 46 if( tstates != ptr->length ) { in check_edges() 48 ptr->length, tstates ); in check_edges()
|
/dports/emulators/fuse/fuse-1.6.0/debugger/ |
H A D | breakpoint.c | 154 value.time.tstates = breakpoint_tstates; in debugger_breakpoint_add_time() 222 event_add( value.time.tstates, debugger_breakpoint_event ); in breakpoint_add() 274 debugger_breakpoint_reduce_tstates( libspectrum_dword tstates ) in debugger_breakpoint_reduce_tstates() argument 285 bp->value.time.tstates -= tstates; in debugger_breakpoint_reduce_tstates() 361 if( bp->value.time.triggered || bp->value.time.tstates > tstates ) return 0; in breakpoint_check() 375 libspectrum_dword tstates; member 397 remove.tstates = bp->value.time.tstates; in debugger_breakpoint_remove() 446 event->tstates == remove->tstates ) { in remove_time() 613 bp->value.time.tstates = bp->value.time.initial_tstates; in add_time_event() 614 event_add( bp->value.time.tstates, debugger_breakpoint_event ); in add_time_event() [all …]
|
/dports/games/libretro-fuse/fuse-libretro-8b51f87/fuse/debugger/ |
H A D | breakpoint.c | 136 libspectrum_dword tstates, size_t ignore, in debugger_breakpoint_add_time() argument 152 value.time.tstates = tstates; in debugger_breakpoint_add_time() 223 event_add( value.time.tstates, debugger_breakpoint_event ); in breakpoint_add() 338 if( bp->value.time.triggered || bp->value.time.tstates > tstates ) return 0; in breakpoint_check() 352 libspectrum_dword tstates; member 374 remove.tstates = bp->value.time.tstates; in debugger_breakpoint_remove() 421 event->tstates == remove->tstates ) { in remove_time() 582 event_add( bp->value.time.tstates, debugger_breakpoint_event ); in add_time_event() 587 debugger_breakpoint_time_fn( libspectrum_dword tstates, int type GCC_UNUSED, in debugger_breakpoint_time_fn() argument
|
/dports/emulators/fuse-utils/fuse-utils-1.4.3/converter/ |
H A D | findsync1.cc | 43 findsync1::handle_pulse( romloader* loader, double tstates, in handle_pulse() argument 53 getsync2::instance()->set_first_pulse( tstates, pulse_length ); in handle_pulse() 56 loader->add_pilot_pulse( tstates, pulse_length ); in handle_pulse()
|
H A D | getsync2.cc | 47 getsync2::handle_pulse( romloader* loader, double tstates, in handle_pulse() argument 62 getsync2::set_first_pulse ( double tstates, int pulse ) in set_first_pulse() argument 64 first_tstates = tstates; in set_first_pulse()
|