comp.lang.ada
 help / color / mirror / Atom feed
From: Bj�rn Lundin <bjorn.lundin@swipnet.se>
Subject: Re: no crash dump ?
Date: Fri, 8 Mar 2002 17:22:07 +0100
Date: 2002-03-08T17:22:07+01:00	[thread overview]
Message-ID: <20020308172207.2a82c68a.bjorn.lundin@swipnet.se> (raw)
In-Reply-To: mailman.1015547882.32690.comp.lang.ada@ada.eu.org

On Thu, 07 Mar 2002 18:37:36 -0600
sk <noname@myob.com> wrote:

> Firstly, wont compile without a line adding a  definition for "b"

How embarrissing , I sent modified code. Below is what i meant to send

> But, the real issue is where are you actually
> trying to write data to the "Joystick" ?
No read from it, putline was for print on screen

Thanks for suggetions
/Bj�rn


with Text_io; use Text_io;
with system;
with GNAT.Traceback.Symbolic;

procedure interrupt is

  Joystick_address : system.address := system'to_address(16#0201#);

  type byte is range 0..255;
  for byte'size use 8;
  Joystick : byte;
  for Joystick'address use Joystick_address;

begin
   put_line("Main program started!");
   loop
     put_line(byte'image(Joystick));
     delay 0.2;
   end loop;

exception
  when Event : others =>
    Put_Line (GNAT.Traceback.Symbolic.Symbolic_Traceback (Event));

end interrupt;




  reply	other threads:[~2002-03-08 16:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07 20:56 no crash dump ? Bj�rn Lundin
2002-03-07 22:08 ` Anders Gidenstam
2002-03-08  0:37 ` sk
2002-03-08 16:22   ` Bj�rn Lundin [this message]
2002-03-08 22:13     ` Jeffrey Carter
2002-03-08 22:49     ` sk
2002-03-09 18:07       ` Bj�rn Lundin
replies disabled

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