From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f8ed40413d593e73 X-Google-Attributes: gid103376,public From: mfb@mbunix.mitre.org (Michael F Brenner) Subject: Re: Ada and WinNT Date: 1998/04/07 Message-ID: <6gdhg0$mpm@top.mitre.org>#1/1 X-Deja-AN: 341727398 References: <6gdeug$b79$1@clarknet.clark.net> Organization: The MITRE Corporation, Bedford Mass. Newsgroups: comp.lang.ada Date: 1998-04-07T00:00:00+00:00 List-Id: Namely, I need to create a structure and store it at a predefined address Jeramie > (ie for X'Address use A) > WinNT has that wonderful element called the > Hardware Abstraction Layer, and I cannot seem to break through. This problem is increasing as the number of nt interfaces grows. How do you do the following in Ada (or C or assembler for that matter): (a) light up a dot using x'address in a Ring 0 module without being thrown into 16-bit emulation mode (b) light up a dot using the ordinary nt interfaces (c) light up a dot using active x (d) light up a dot using direct x (e) get a reliable stream out of the COM port, the keyboard UP and DOWN strokes, the mouse strokes, etc. NT's lack of reliable streaming IN (mouse, keyboard UP strokes, serial, parallel, etc.), and streaming OUT (to memory addresses, pixels, serial, parallel) is quite troublesome. Private modules and unsafe commercial applications are being produced specificially because of lack of these features in NT. It would be nice to have a web site showing how to do these things, so nt's could get the information from their memory mapped devices like other operating systems can, and so programs can light up the dots on the screen in realtime.