From: | Sensei |
Date: | 13 Sep 2001 at 12:51:25 |
Subject: | [amiga-c] Re: VB int problem (was Re: Help needed with random crashing problem) |
Czesc Paul!
Dnia 13-Sep-01, Paul Qureshi napisał:
> Yeah, odd how the compiler doesn't seem to care about them even though
> it should know that the code is part of an interrupt (__interrupt used).
> I guess technically it's a bug, although as you say the RKMs make no
> mention of the FPU so it's a slightly gray area.
It is rather not possible that interrupt and program will work on probably any
CPU if some registers are trashed in interrupt code... Remember that
interrupt code which you used is called by system and not directly by a
hardware, system interrupt server code have to preserve scratch registers too
and that is why in your interrupt code can scratch them then.
Regards!
Przemyslaw 'SENSEI' Gruchala
code/gfx2d/gfx3d/webmaster
Amiga 1200
Apollo 1240/33 MHz, 18 MB RAM, BTC 33.6 bps
HDD 3.2 GB, HDD 520 MB, CD x12
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure all your Web servers now: Get your FREE Guide and learn to: DEPLOY THE LATEST ENCRYPTION,
DELIVER TRANSPARENT PROTECTION, and More!
http://us.click.yahoo.com/k0k.gC/nT7CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/