mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
pdp11.h: make the enum uint16_t
This commit is contained in:
parent
8cbcffd9b4
commit
2a71385020
@ -2,16 +2,17 @@
|
|||||||
// copyright-holders:Sergey Svishchev
|
// copyright-holders:Sergey Svishchev
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* includes/pdp11.h
|
* machine/pdp11.h
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef PDP11_H_
|
#ifndef MAME_MACHINE_PDP11_H_
|
||||||
#define PDP11_H_
|
#define MAME_MACHINE_PDP11_H_
|
||||||
|
|
||||||
// bit definitions for generic device CSR
|
// bit definitions for generic device CSR
|
||||||
|
|
||||||
enum {
|
enum : uint16_t
|
||||||
|
{
|
||||||
CSR_GO = 0000001,
|
CSR_GO = 0000001,
|
||||||
CSR_IE = 0000100, // interrupt enable
|
CSR_IE = 0000100, // interrupt enable
|
||||||
CSR_DONE = 0000200,
|
CSR_DONE = 0000200,
|
||||||
@ -31,4 +32,4 @@ enum {
|
|||||||
do { *_storage = ((*_storage & ~_mask) | (_data & _mask)); } while (0)
|
do { *_storage = ((*_storage & ~_mask) | (_data & _mask)); } while (0)
|
||||||
|
|
||||||
|
|
||||||
#endif /* PDP11_H_ */
|
#endif /* MAME_MACHINE_PDP11_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user