X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: kie Newsgroups: comp.os.msdos.djgpp Subject: relocation truncated to fit: 16 against Date: Tue, 11 Mar 2008 10:11:59 -0700 (PDT) Organization: http://groups.google.com Lines: 26 Message-ID: <1ea8424e-da3e-4ecf-a0c6-4d836c62563e@d62g2000hsf.googlegroups.com> NNTP-Posting-Host: 80.166.166.152 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1205255519 17183 127.0.0.1 (11 Mar 2008 17:11:59 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 11 Mar 2008 17:11:59 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: d62g2000hsf.googlegroups.com; posting-host=80.166.166.152; posting-account=9vx3lgoAAAC5pWIGW4BhR5g92TpFTKfA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-Original-Bytes: 1694 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi I'm triying to write my own Keyboard ISR, but I am having some Trouble with my ASM code to gat the scan_code from the PIC. Here is my ASM: asm("sti\n\t" "inb $0x60, %al\n\t" "xor %ah, %ah\n\t" "movw $_raw_scan_code, %ax\n\t" "inb $0x61, %al\n\t" "or 0x82, %al\n\t" "outb %al,$0x61\n\t" "and 0x7f, %al\n\t" "outb %al, $0x61\n\t" "movb $0x20, %al\n\t" "outb %al, $0x20"); I'm getting the following error msg: relocation truncated to fit: 16 against .bss I dont understand this. thx 4 your help, daniel kiedrowski