File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / vba / scope.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b


/*  Some I/O addresses used to generate pulses for scopes */
#define	OUT1	0xffffb034
#define	OUT2	0xffffb018
#define	OUT3	0xffffb020
#define	OUT4	0xffffb004
#define	OUT5	0xffffb024
#define	OUT6	0xffffb00c
#define	OUT7	0xffffb02c

#define	IOaddr(off)	(char *)(&vmem[(off) & 0x0fffff])

extern char vmem[];
int	iospace_mapped;
#define	scope_out(x)	if(iospace_mapped) movob (0, IOaddr(OUT/**/x))
#define	scope_in(x)	if(iospace_mapped) dummy =  *IOaddr(IN/**/x)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.