Files
nethack/include/micro.h

19 lines
493 B
C

/* NetHack 3.6 micro.h $NHDT-Date: 1524689515 2018/04/25 20:51:55 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.10 $ */
/* Copyright (c) 2015 by Kenneth Lorber */
/* NetHack may be freely redistributed. See license for details. */
/* micro.h - function declarations for various microcomputers */
#ifndef MICRO_H
#define MICRO_H
#ifndef C
#define C(c) (0x1f & (c))
#endif
#ifndef M
#define M(c) (((char) 0x80) | (c))
#endif
#define ABORT C('a')
#endif /* MICRO_H */