From: | Sensei |
Date: | 10 Sep 2001 at 00:43:54 |
Subject: | [amiga-c] Re: VB int problem (was Re: Help needed with random crashing problem) |
Czesc Paul!
Dnia 09-Sep-01, Paul Qureshi napisał:
>> ??? I don't see that in the code you posted. If you added this
>> later and it still fails maybe C='s really _dumb_ decision
>> to use a condition code as a return value for interrupt servers
>> might have bitten you... it wouldn't be the first time that
>> ever happened... you'll only know by looking at the code which
>> the compiler emitted. Hmm, yes, asm would be quicker ;)
> Hmm... time to did in the assembler code then :(
In SAS/C if you're using __interrupt keyword in function definition the last
instructions of such function are:
TST.L D0
RTS
If your compiler generated something like that, there is no need to use
assembler code then, you just have to look at generated assembler code... If
StormC would not generate something like this it even more buggy than I
thought...
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 your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/