TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DANNY KEOGH
from: ALEC KADULIN
date: 1997-10-13 12:24:00
subject: Code translation

Hi, Danny!
 DK> Ok peoples, I need a little help from those of you who know
 DK> pascal.  I need the pascal statement
 DK> memW[$0000:$041C] := MemW[$0000:$041A];
 DK> translated into C.  That line flushes the keyboard buffer.  If
Firstly, may you can be helped with BIOS, but I DO NOT SURE.. ;-(
Secons:
     #include   
     typedef unsigned int word; //to make  readers happy... ;-)
     *(word far*)MK_FP(0,0x41c)=*(word far*)MK_FP(0,0x41a);
can it be more simply? ;-))
BestEST wishes & regards!
                                                          Alec.
---
(2:5061/17.6)
---------------
* Origin: ---> One man's constant is another man's variable <-

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.