X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Timo Inki" Newsgroups: comp.os.msdos.djgpp References: Subject: RE: Handler call with inline asm Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Mon, 10 Dec 2001 18:07:49 GMT NNTP-Posting-Host: 62.71.171.93 X-Trace: read2.inet.fi 1008007669 62.71.171.93 (Mon, 10 Dec 2001 20:07:49 EET) NNTP-Posting-Date: Mon, 10 Dec 2001 20:07:49 EET Organization: Sonera corp Internet services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It doesn't help. The idea is to call old timerhandler (BIOS) from my new timerhandler and it won't work right with just call. Iret after old timer-routine should return to my own code. Compiler message for it: Assembler messages: Error:Error: suffix or operands invalid for 'lcall' // 64bit long long Oldhandler; ... Oldhandler=((unsigned long long)original.pm_offset) + (((unsigned long long)original.pm_selector)<<32); The idea is explained in PCGame Programmers Encyclopedia (pcgpe) and the djgpp code has been taken from lamertut 2.11 (laama211). As I said, it worked fine with older version of djgpp and gcc. Timo Inki