view 3rdparty/packages/ccompiler/defs/modes.h @ 3257:987f995993c3

co80: Use HW port address from descriptor (via SCF and VTIO) Change the driver code to not use a hardcoded address. Change the value in the descriptor to the previously hardcoded value in the driver. Looks like someone was debugging a WordPak prototype using the cartridge ROM enable output...
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 29 Aug 2018 08:49:13 +0200
parents 734862561313
children
line wrap: on
line source

/* file modes and permissions expressed in 8 bits */

/* file modes */
#define S_IFMT     0xff      /* mask for type of file */
#define S_IFDIR    0x80      /* directory */

/* permissions */
#define  S_IPRM    0xff      /* mask for permission bits */
#define  S_IREAD   0x01      /* owner read */
#define  S_IWRITE  0x02      /* owner write */
#define  S_IEXEC   0x04      /* owner execute */
#define  S_IOREAD  0x08      /* public read */
#define  S_IOWRITE 0x10      /* public write */
#define  S_IOEXEC  0x20      /* public execute */
#define  S_ISHARE  0x40      /* sharable */