diff options
author | shattered <shattered@users.noreply.github.com> | 2020-07-07 12:22:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 08:22:57 -0400 |
commit | 7830c5bee7ba14538c6bf4072e53b1d6d1aef308 (patch) | |
tree | cc4e4c8c1dc5ee3ca980fe3ef28d31e3504fe040 /src/mame | |
parent | b091167af83a50795bb4bf185b987752abd878ac (diff) |
pdp11: replace GPL code (nw) (#6923)
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/includes/pdp11.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/mame/includes/pdp11.h b/src/mame/includes/pdp11.h deleted file mode 100644 index 9c2c15e7e94..00000000000 --- a/src/mame/includes/pdp11.h +++ /dev/null @@ -1,41 +0,0 @@ -// license:GPL-2.0+ -// copyright-holders:SIMH project -/***************************************************************************** - * - * includes/pdp11.h - * - ****************************************************************************/ - -#ifndef PDP11_H_ -#define PDP11_H_ - -/* - * taken from PDP11/pdp11_defs.h in SIMH - */ - -/* Device CSRs */ - -#define CSR_V_GO 0 /* go */ -#define CSR_V_IE 6 /* interrupt enable */ -#define CSR_V_DONE 7 /* done */ -#define CSR_V_BUSY 11 /* busy */ -#define CSR_V_ERR 15 /* error */ -#define CSR_GO (1u << CSR_V_GO) -#define CSR_IE (1u << CSR_V_IE) -#define CSR_DONE (1u << CSR_V_DONE) -#define CSR_BUSY (1u << CSR_V_BUSY) -#define CSR_ERR (1u << CSR_V_ERR) - - -#define clear_virq(_callback, _csr, _ie, _intrq) \ - if ((_csr) & (_ie)) { (_intrq) = CLEAR_LINE; } - -#define raise_virq(_callback, _csr, _ie, _intrq) \ - if ((_csr) & (_ie)) { (_intrq) = ASSERT_LINE; _callback (ASSERT_LINE); } - - -#define UPDATE_16BIT(_storage, _data, _mask) \ - do { *_storage = ((*_storage & ~_mask) | (_data & _mask)); } while (0) - - -#endif /* PDP11_H_ */ |