home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.iastate.edu!iscsvax.uni.edu!fisher2557
- From: fisher2557@iscsvax.uni.edu
- Newsgroups: comp.sys.apple2
- Subject: Re: stable method of calling RESET code question
- Message-ID: <1993Jan4.123624.9633@iscsvax.uni.edu>
- Date: 4 Jan 93 12:36:24 -0600
- References: <C0Av7A.CIF@griffin.cuc.ab.ca>
- Organization: University of Northern Iowa
- Lines: 26
-
- In article <C0Av7A.CIF@griffin.cuc.ab.ca>, dockery@griffin.cuc.ab.ca (Sean Dockery) writes:
- > There is more than one method of calling the RESET code, and I am
- > curious as to which method would be the best to use so that the
- > program will be completely portable between machines.
- >
- > The two possible methods which I know of to call the RESET code are:
- >
- > 1) do a JMP ($FFFC), or
- > 2) do a JMP $FA62
- >
- > Simply put, which method is safer/better? Is there any difference?
- >
- > I hope that someone from Apple, Inc. will enlighten me as to which
- > method (if either) should be used [the standard] and possibly why.
- >
- > sean
-
- The key here is checking the value of ($FFFC). Your machine has 62 FA, but
- older apples have other bytes. (I forget what it is). When an apple powers
- up, it starts the day by loading the CPU's PC with the bytes found at FFFC and
- FFFD. This is what you should do, too.
-
- later,
- Nathan
-
-
-