🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #28561

Re: The Ultimate in Pexec?

#28561
From: Jwahar R. Bammi
Date: Tue, 06 Oct 1987 03:18
21 lines
1696 bytes
In article <1461@brahma.cs.hw.ac.uk> neil@cs.hw.ac.uk (Neil Forsyth) writes:
>
>Here is a teaser: Suppose I write a program that needs an immense amount
>of ram (~850K). I compile/assemble & link the beast, but when I try to run it
>I don't have enough memory due to the accessories & foldrxxx.prg. I could
	If it is a TOS application just stick it in your AUTO\ folder,
copying it before foldrxxx.prg, and that way it will get all the memory
before GEM is even initialized or the ACCs are loaded.

>So how can I restore the original vectors in an OS independant way?
>I don't mind having to reboot after I have finished using the program all I
>want is to run the thing.

	You can inquire the present value of any vector or any psedi`o vector
 with a Setexc() xbios call (just pass it a negative arguement). Later you
can reset any vector using the same call. No need to reboot.
-- 
usenet: {decvax,cbosgd,sun}!mandrill!bammi	jwahar r. bammi
csnet:       bammi@mandrill.CWRU.edu
arpa:        bammi@mandrill.CWRU.edu
compuServe:  71515,155
Technical Details
Message-ID: <2270@mandrill.CWRU.Edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!decwrl!pyramid!uccba!hal!mandrill!bammi
References: <1461@brahma.cs.hw.ac.uk>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!decwrl!pyramid!uccba!hal!mandrill!bammi
From: bammi@mandrill.CWRU.Edu (Jwahar R. Bammi)
Newsgroups: comp.sys.atari.st
Subject: Re: The Ultimate in Pexec?
Message-ID: <2270@mandrill.CWRU.Edu>
Date: Mon, 5-Oct-87 23:18:05 EDT
Article-I.D.: mandrill.2270
Posted: Mon Oct  5 23:18:05 1987
Date-Received: Fri, 9-Oct-87 06:16:04 EDT
References: <1461@brahma.cs.hw.ac.uk>
Reply-To: bammi@mandrill.CWRU.Edu (Jwahar R. Bammi)
Organization: Case Western Reserve University
Lines: 21
Keywords: Restoring Default Vectors