[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] DevPac



> Yesterday I have recompiled the 1.15.3 with -DDEBUG_INFO and guess what
> happened - Devpac worked OK! The debug messages at the Devpac compilation
> time were like this (typing from memory):
> 
> Fsfirst(D:\GEN.TTP) - error -33
> Succesfully generated proc
> proc: load region
> Succesfully generated proc
> Succesfully generated proc
> Succesfully generated proc
> 
> Anyway, what does it mean if debug kernel runs OK but production one does
> not? Something with CPU cache? Perhaps Devpac fiddles with CPU caches
> using 030 instructions and that causes the kernel to hang?

I've traced DEVPAC.PRG. It does not do anything particular to start the
GEN.TTP. It first calls Pexec(7), then Pexec(4) IIRC. I think the freeze
is the AES or VDI fault - i..e one of these "os specials". I've even tried
to move the VBR - and well, Devpac worked, but many of other things
didn't. :-)

So, I think, the AES (or VDI) goes vegetables after a call made by
DEVPAC.PRG and overwrites the exception vectors - thus freezes.

Has anyone observed such behaviour under the Atari AES 4.10?

--
Konrad M.Kokoszkiewicz
|mail: draco@atari.org                  |  Atari Falcon030 user   |
|http://www.obta.uw.edu.pl/~draco/      | Moderator gregis LATINE |
|http://draco.atari.org                 |       (loquentium)      |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.