home *** CD-ROM | disk | FTP | other *** search
- Path: uvsq.fr!Newsmaster
- From: Nicolas Pomarede <pomarede@isty-info.uvsq.fr>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: What is a "Line 1011 emulator " error ?
- Date: 22 Mar 1996 08:09:02 GMT
- Organization: Universite de Versailles/St Quentin en Yvelines - France
- Message-ID: <4itn6u$52u@soleil.uvsq.fr>
- References: <4ip7j3$set@badger.wmin.ac.uk> <4ip8td$k3e@soleil.uvsq.fr> <4islck$eig@ar.ar.com.au>
- NNTP-Posting-Host: athanase.isty-info.uvsq.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX B.10.01 9000/819)
- X-URL: news:4islck$eig@ar.ar.com.au
-
- storm@ar.ar.com.au (Storm/Cydonia) wrote:
- >Nicolas Pomarede (pomarede@isty-info.uvsq.fr) wrote:
-
- >: This means that when your program exits, he may jump to a random
- >: location in mem, where the first 2 bytes start with a $F.
- >: Perhaps you're messing with the stack pointer or something like this ?
- >
- >Are you sure about this? I thought this guru occured when one attempted
- >to execute an FPU or MMU instruction on a system that was not so equipped.
- >And that for FPU instructions the opcode (NOT the PC) started with $F.
-
- Well, there's an exception vector associated with Line F error (should be
- around $40 or $50 relative to VBR, don't remember). There's 2 possibilities:
- if you don't have a MMU, using a instruction starting with $Fxxx will certainly
- generate an exception. If you have an MMU, this should correspond to one of
- its instructions.
-
- For example, the Atari ST (with a 68000) used the Line A and Line F exceptions
- for special gfx functions.
- So everything depends on the way the exception is handled.
-
- >
- >: Usually, it means that you're no more executing your own code, but
- >: that the CPU is trying to interpret a random location as code.
- >
- >Possibly, or possibly he compiled his program for FPU when he doesn't
- >have one. Although if he did that I think it would crash instantly -
- >a friend made that mistake and as soon as the program tried to call
- >it's first OS routine it tried to put all FPU registers on the stack
- >and crashed.
-
- In fact, if the programm was in C, it could be either compiled with FPU
- ON or messing with the stack (which can provide many different effects).
- If it was coded in ASM, I would say the SP pointer was destroyed.
-
- ----------------
- Nicolas Pomarede
- e-mail: pomarede@isty-info.uvsq.fr
-
-