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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8117b19a3253190 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 20 Mar 2005 12:54:30 -0600 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Bare metal text I/O in Ada References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Sun, 20 Mar 2005 12:54:30 -0600 NNTP-Posting-Host: 67.161.24.234 X-Trace: sv3-SUtjaHRtlFOoN7bZTTMlIUyRPkjIhZE9rxQoLotD7P0tdw9rAReiO2MFTLGUyL/MW9uQ7pzHZShGStM!p4pHhKc5AOGdpl5dIAifH1ylc/r6kA5ik2Hh2KrLvxvIuNSAgt3HWCJvzntQwg== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:9649 Date: 2005-03-20T12:54:30-06:00 List-Id: >keyboard input and text output to EGA / VGA on a bare metal (no >operating system) AMD (Intel clone) platform. No PC-style BIOS ROM either? It's trivial to write text to video RAM given the set of bits to draw letters, eg type Bytes is mod 256; type Rows is array (0 .. 7) of Bytes; Letter : constant array(Character) of Rows :=((16#00#,16#00#,16#00#,16#00#,16#00#,16#00#,16#00#,16#00#), etc. "Programmer's Problem Solver for the IBM PC, XT, and AT", Robert Jourdain, has a section on programming the keyboard interrupt for those machines, but it's probably not applicable to truly different bare hardware.