comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry van Dijk <jvandyk@attglobal.net>
Subject: Re: Device driver in Ada95
Date: 25 Feb 2002 23:06:21 +0100
Date: 2002-02-25T23:06:21+01:00	[thread overview]
Message-ID: <wkofidrzc2.fsf@attglobal.net> (raw)
In-Reply-To: 3C7AAA8B.6020507@users.sf.net


Dave Poirier <instinc@users.sf.net> writes:

> My next step is to start to write device drivers in Ada95 using this same
> setup, so as to have as useable os sooner or later.  As my first try, I
> decided to create a small vga driver for text mode.  This requires that I
> write in memory from 0xB8000 to 0xB8A9F.

This is not very difficult to do. However, GNAT generated x86 code depends
on the memory management used. So the question here is: are you using
real-mode, or DPMI, or some other PMODE driver for your own kernel ? Or
if you use your own scheme, how is the memory organised ?

-- 
--  Jerry van Dijk   | email: jvandyk@attglobal.net
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk



  parent reply	other threads:[~2002-02-25 22:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 21:20 Device driver in Ada95 Dave Poirier
2002-02-25 21:47 ` sk
2002-02-26  0:02   ` Dave Poirier
2002-02-25 21:53 ` chris.danx
2002-02-25 22:06 ` Jerry van Dijk [this message]
2002-02-25 22:54   ` Dave Poirier
2002-02-25 23:21     ` sk
2002-02-26 10:05     ` chris.danx
  -- strict thread matches above, loose matches on Subject: below --
2002-02-26 11:09 Gautier Write-only-address
replies disabled

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