134409Skarels /* 235514Sbostic * Copyright (c) 1988 The Regents of the University of California. 335514Sbostic * All rights reserved. 435514Sbostic * 535514Sbostic * This code is derived from software contributed to Berkeley by 635514Sbostic * Computer Consoles Inc. 735514Sbostic * 8*44534Sbostic * %sccs.include.redist.c% 935514Sbostic * 10*44534Sbostic * @(#)scope.h 7.3 (Berkeley) 06/28/90 1134409Skarels */ 1223996Ssam 1325877Ssam #ifdef DOSCOPE 1425877Ssam /* some i/o addresses used to generate pulses for scopes */ 1523996Ssam #define OUT1 0xffffb034 1623996Ssam #define OUT2 0xffffb018 1723996Ssam #define OUT3 0xffffb020 1823996Ssam #define OUT4 0xffffb004 1923996Ssam #define OUT5 0xffffb024 2023996Ssam #define OUT6 0xffffb00c 2123996Ssam #define OUT7 0xffffb02c 2223996Ssam 2325675Ssam #define IOaddr(off) (caddr_t)(&vmem[(off) & 0x0fffff]) 2423996Ssam 2525877Ssam extern char vmem[]; 2625877Ssam extern int cold; 2725877Ssam #define scope_out(x) if (!cold) movob(IOaddr(OUT/**/x),0) 2825877Ssam #define scope_in(x) if( !cold) dummy = *IOaddr(IN/**/x) 2925877Ssam #else 3025877Ssam #define scope_out(x) 3125877Ssam #define scope_in(x) 3225877Ssam #endif 33