comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Bare metal text I/O in Ada
Date: Sun, 20 Mar 2005 12:54:30 -0600
Date: 2005-03-20T12:54:30-06:00	[thread overview]
Message-ID: <M5Kdna9J29x7W6DfRVn-3g@comcast.com> (raw)
In-Reply-To: d9b5c2c6.0503201001.724f3ee5@posting.google.com

>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.



  reply	other threads:[~2005-03-20 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20 18:01 Bare metal text I/O in Ada John McCormick
2005-03-20 18:54 ` tmoran [this message]
2005-03-21 21:40   ` Randy Brukardt
2005-03-22  1:16     ` John McCormick
2005-03-22  9:01       ` Gautier
2005-04-26 13:47 ` Fredrik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox