pdp11.h: make the enum uint16_t

This commit is contained in:
hap 2020-07-07 19:35:51 +02:00
parent 8cbcffd9b4
commit 2a71385020

View File

@ -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_ */