File:  [Research Unix] / researchv9 / jtools / src / pi / memory.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

#ifndef MEMORY_H
#define MEMORY_H
#ifndef UNIV_H
#include "univ.h"
#endif
>pri
class Cell : public PadRcv {
	friend	Memory;
	friend	Process;
	Memory	*memory;
	long	addr;
	int	fmt;
	int	size;
	Cell	*sib;
	Cslfd	*spy;

	char	*kbd(char*);
	char	*help();
	void	relative(long);
	void	indirect();
	void	reformat(long);
	void	resize(int);
	void	display(char* = 0, int=0);
	void	dodisplay(Bls&);
	void	asmblr();
	Index	carte();
	void	setspy(long);
	int	changed();
	char	*search(int, char*);
PUBLIC(Cell,U_CELL)
		Cell(Memory *m) { memory = m; }
};
>
class Memory : public PadRcv {
>pub
	char	pub_filler[16];
>pri
	friend	Cell;
	Pad	*pad;
	Cell	*cellset;
	Cell	*current;
	void	makecell(Cell*,long);
	char	*prevpat;
>
	Core	*core;
	char	*kbd(char*);
	char	*help();
PUBLIC(Memory,U_MEMORY)
		Memory(Core*);
	void	open(long=0);
	void	userclose();
	void	banner();
	int	changes(long=0);
};
#endif

unix.superglobalmegacorp.com

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