home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apple2 / 26356 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.3 KB

  1. 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
  2. From: fisher2557@iscsvax.uni.edu
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: stable method of calling RESET code question
  5. Message-ID: <1993Jan4.123624.9633@iscsvax.uni.edu>
  6. Date: 4 Jan 93 12:36:24 -0600
  7. References: <C0Av7A.CIF@griffin.cuc.ab.ca>
  8. Organization: University of Northern Iowa
  9. Lines: 26
  10.  
  11. In article <C0Av7A.CIF@griffin.cuc.ab.ca>, dockery@griffin.cuc.ab.ca (Sean Dockery) writes:
  12. > There is more than one method of calling the RESET code, and I am
  13. > curious as to which method would be the best to use so that the
  14. > program will be completely portable between machines.
  15. > The two possible methods which I know of to call the RESET code are:
  16. >     1) do a JMP ($FFFC), or
  17. >     2) do a JMP $FA62
  18. > Simply put, which method is safer/better?  Is there any difference?
  19. > I hope that someone from Apple, Inc. will enlighten me as to which
  20. > method (if either) should be used [the standard] and possibly why.
  21. > sean
  22.  
  23. The key here is checking the value of ($FFFC).  Your machine has 62 FA, but
  24. older apples have other bytes. (I forget what it is).  When an apple powers
  25. up, it starts the day by loading the CPU's PC with the bytes found at FFFC and
  26. FFFD.  This is what you should do, too.
  27.  
  28. later,
  29.  Nathan
  30.  
  31.  
  32.