diff options
author | 2020-05-03 20:20:36 -0400 | |
---|---|---|
committer | 2020-05-03 20:21:01 -0400 | |
commit | 065410f82587f8eba00fd6f53ab934ee537aa23f (patch) | |
tree | 628555f82f40ca008e08325f6c01acc107037c2f /src/emu/schedule.h | |
parent | c4ee747357bf29df1970e5b4f1929128091fe134 (diff) |
Move some RC timing macros out of the core (nw)
Diffstat (limited to 'src/emu/schedule.h')
-rw-r--r-- | src/emu/schedule.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/emu/schedule.h b/src/emu/schedule.h index b7658c682ac..67f6d945898 100644 --- a/src/emu/schedule.h +++ b/src/emu/schedule.h @@ -24,17 +24,6 @@ #define TIMER_CALLBACK_MEMBER(name) void name(void *ptr, s32 param) -// macro for the RC time constant on a 74LS123 with C > 1000pF -// R is in ohms, C is in farads -#define TIME_OF_74LS123(r,c) (0.45 * (double)(r) * (double)(c)) - -// macros for the RC time constant on a 555 timer IC -// R is in ohms, C is in farads -#define PERIOD_OF_555_MONOSTABLE_NSEC(r,c) ((attoseconds_t)(1100000000 * (double)(r) * (double)(c))) -#define PERIOD_OF_555_ASTABLE_NSEC(r1,r2,c) ((attoseconds_t)( 693000000 * ((double)(r1) + 2.0 * (double)(r2)) * (double)(c))) -#define PERIOD_OF_555_MONOSTABLE(r,c) attotime::from_nsec(PERIOD_OF_555_MONOSTABLE_NSEC(r,c)) -#define PERIOD_OF_555_ASTABLE(r1,r2,c) attotime::from_nsec(PERIOD_OF_555_ASTABLE_NSEC(r1,r2,c)) - //************************************************************************** // TYPE DEFINITIONS |