.title $$vtop Define default for $$vtop .ident /000001/ ; ;+ ; ; Index Define $$vtop default for RT11 startup ; ; Usage ; ; int $$vtop = ; ; ... ; main() { ; ... ; } ; ; Description ; ; To use RT11's virtual memory capabilities with Decus ; C programs, you may need to specify a smaller "top of ; memory" than the default To do this, include a global ; definition of $$vtop in your C program as follows: ; ; int $$vtop = ; ; ; where is the desired "top of memory." ; ; If your program does not define $$vtop, it will be defined ; so the program uses all available memory. ; ; Note that $$vtop must be initilized at compilation time. ; It is tested by the initialization code before the main() ; program is called. ; ; Bugs ; ;- ; ; Edit history ; 000001 25-Jun-85 MM Initial edit ; .psect c$data $$vtop:: .word -2 ;Grab all of memory .end