Home
last modified time | relevance | path

Searched refs:TRAP (Results 1 – 12 of 12) sorted by relevance

/original-bsd/games/rogue/
H A Dtrap.c150 } while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) || in add_traps()
160 dungeon[row][col] |= (TRAP | HIDDEN); in add_traps()
183 if ((dungeon[row][col] & TRAP) && (!(dungeon[row][col] & HIDDEN))) { in id_trap()
197 if (dungeon[i][j] & TRAP) { in show_traps()
242 if (dungeon[row][col] & TRAP) {
H A Dmove.c140 if (dungeon[row][col] & (DOOR | STAIRS | TRAP)) {
141 if ((!levitate) && (dungeon[row][col] & TRAP)) {
208 return((dungeon[row][col] & TRAP) ? 1 : 0);
210 return(dungeon[row][col] & (FLOOR | TUNNEL | DOOR | STAIRS | TRAP));
252 if (s & TRAP) {
455 if (dungeon[rogue.row][rogue.col] & TRAP) { in reg_move()
H A Droom.c135 if ((dungeon[i][j] & TRAP) && (!(dungeon[i][j] & HIDDEN))) {
169 if (mask & TRAP) {
337 unsigned short mask = (HORWALL | VERTWALL | DOOR | TUNNEL | TRAP | STAIRS | in draw_magic_map()
346 ((ch >= 'A') && (ch <= 'Z')) || (s & (TRAP | HIDDEN))) { in draw_magic_map()
355 } else if (s & TRAP) { in draw_magic_map()
H A Drogue.h35 #define TRAP ((unsigned short) 0400) macro
H A Dthrow.c149 (!(dungeon[*row][*col] & TRAP)))) {
H A Dspec_hit.c263 if ((!(dungeon[row][col] & (OBJECT | STAIRS | TRAP))) &&
H A Dpack.c127 if (dungeon[rogue.row][rogue.col] & (OBJECT | STAIRS | TRAP)) { in drop()
/original-bsd/sys/i386/i386/
H A Dlocore.s1501 TRAP(T_DOUBLEFLT)
1506 TRAP(T_TSSFLT)
1509 TRAP(T_SEGNPFLT)
1511 TRAP(T_STKFLT)
1513 TRAP(T_PROTFLT)
1515 TRAP(T_PAGEFLT)
1546 pushl $0; TRAP(17)
1548 pushl $0; TRAP(18)
1550 pushl $0; TRAP(19)
1552 pushl $0; TRAP(20)
[all …]
/original-bsd/sys/tahoe/tahoe/
H A Dlocore.s462 #define TRAP(a) pushl $T_/**/a; jbr alltraps macro
472 TRAP(KSPNOTVAL)
477 TRAP(PRIVINFLT)
482 TRAP(RESOPFLT)
487 TRAP(RESADFLT)
492 TRAP(BPTFLT)
497 TRAP(KDBTRAP);
502 TRAP(TRCTRAP)
1795 TRAP(TRCTRAP)
/original-bsd/sys/vax/vax/
H A Dlocore.s816 pushl $0; TRAP(ASTFLT)
820 pushl $0; TRAP(XFCFLT)
826 pushl $0; TRAP(BPTFLT)
828 TRAP(COMPATFLT);
830 pushl $0; TRAP(KDBTRAP)
832 pushl $0; TRAP(TRCTRAP)
834 TRAP(ARITHTRAP)
837 TRAP(PROTFLT)
839 TRAP(SEGFLT)
901 TRAP(PAGEFLT)
[all …]
/original-bsd/sys/sparc/sparc/
H A Dlocore.s218 #define TRAP(type) VTRAP(type, slowtrap) macro
231 #define BPT TRAP(T_BREAKPOINT)
232 #define BPT_KGDB_EXEC TRAP(T_KGDB_EXEC)
239 #define SUN_SYSCALL TRAP(T_SUN_SYSCALL)
257 TRAP(T_ILLINST) ! 02 = illegal instruction
265 TRAP(T_TAGOF) ! 0a = tag overflow
385 TRAP(T_DIV0) ! 82 = divide by zero
386 TRAP(T_FLUSHWIN) ! 83 = flush windows
387 TRAP(T_CLEANWIN) ! 84 = provide clean windows
388 TRAP(T_RANGECHECK) ! 85 = ???
[all …]
/original-bsd/sys/i386/isa/
H A Dicu.s101 TRAP (T_ASTFLT)