Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!akgua!mcnc!ecsvax!emigh
From: emigh@ecsvax.UUCP
Newsgroups: net.micro.cpm
Subject: Re: Calling infinity.  Are you there?
Message-ID: <2033@ecsvax.UUCP>
Date: Mon, 20-Feb-84 09:45:58 EST
Article-I.D.: ecsvax.2033
Posted: Mon Feb 20 09:45:58 1984
Date-Received: Tue, 21-Feb-84 08:46:50 EST
References: aplvax.516
Lines: 16

[]

  The question by aplvax!ded involved the following code:
PUSH B|PUSH D|PUSH H
CALL 0000
POP H|POP D|POP B
  Don was unsure that the program would ever return, since location 0 is the
warm boot.

  I have most often seen this code when the program calls the BIOS directly.
An initialization routine will calculate the positions of the various BIOS
calls and store them in place of the 0000.  You may have several of these
routines in the program, each initialized to a different BIOS call.

--Ted Emigh---  decvax!mcnc!ecsvax!emigh
p.s.  See the current discussion in net.lang concerning self-modifying code.