Amiga-C (146/157)

From:Sensei
Date:30 Sep 2001 at 01:23:41
Subject:[amiga-c] Re: MyLibrary and SetFunction

Czesc Andrew!

Dnia 29-Sep-01, Andrew Bell napisał:

> Might be useful as an example. The files you'll be interested in are
> st_patches.c and st_patches.asm. The actual patching is done in C, where
> the patches themselves are in assembly.
>
> Note: Disable PatchControl beforehand, if you're using it. The two seem to
> conflict.

I'm glad that you said that... Without this note I would not even bother to
download it, because I was really surprised how it's possible... ;)

Of course there is no conflict, your program is just broken.
st_patches.c:43c308r missing star... There is load more bugs (it's clearly
visible that it's shit StormC source code, there are missing ; and it hasn't
even bother to report it to you...) but I have to go to sleep... You should
really write more portable programs next time... I saw that you tried but not
enough unfortunately... It takes me lot of time to compile it in SAS/C and
there is lot of missing __saveds and __asm or even not hiding such compiler
specific stuffs is not good idea...

BTW, SAS/C executable is "just" 50% as large as your StormC original one...

Regards!



Can your ImageFX paint like bitmap painters?
Download: gfx/ifx/REDFiX.lha, ftp.novadesign.com

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



Uwaga: Oferta dla firm!
Biznesowe konto pocztowe bez doklejek i przesylek reklamowych
Rejestracja wlasnego adresu internetowego (domeny) i 100 MB pojemnosci
Koszt uslugi to tylko 100 PLN/rok Szczegoly http://www.konto.getin.pl

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE VeriSign guide to security solutions for your web site: encrypting transactions, securing intranets, and more!
http://us.click.yahoo.com/UnN2wB/m5_CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/