Argh! I can't believe how extremely simple the mistake was!!!
A while back I reported that my program crashed after compiling with the latest version of GPC. I finally figured out why!
Before I begin, the reason I didn't notice this at first is because the previous version of GPC compiled my program without a problem despite the following... I use external assembly routines that access variables declared in a Pascal unit (the assembler doesn't matter, it happens with both AS and NASM). To declare the variables defined in the Pascal unit, I declared them "common". Then I changed all "common" references to global references and added declarations in the .data section and the program no longer crashed. Weird.
Thanks for your help Frank!
See ya! Orlando Llanes
"Meine Damen und Herren, Elvis hat soeben das Gebaeude verlassen!"
"Look out fo' flyeeng feet" O__/ a010111t@bc.seflin.org /|____. O <__. /> / \ ____________|_________ http://ourworld.compuserve.com/homepages/Monkey414