comp.lang.ada
 help / color / mirror / Atom feed
From: dale@cs.rmit.edu.au (Dale Stanbrough)
Subject: Re: What's wrong with this simple Ada w/ assembly code?
Date: 1999/03/16
Date: 1999-03-15T22:58:46+00:00	[thread overview]
Message-ID: <dale-1603991002340001@dale.bu.cs.rmit.edu.au> (raw)
In-Reply-To: 36ec237f.0@silver.truman.edu

Josh Highley wrote:

"The program I'm writing is a simple text based program intended to run 
 in a DOS window. I don't know about you other people, but I'm only a 
 sophomore CS major who hasn't had the classes or the time to try writing 
 Ada programs for Windows, although I'd like to :)  Having said this, can 
 I use interrupts?
   I'm using ASM to position the cursor because the other Ada packages 
 I've tried aren't very fast at moving the cursor to several different 
 areas of the screen quickly.  There's also some other things I'd like to 
 try with ASM and Ada, if nothing else, just for fun and to see if I 
 myself can make it work.
 Would MASM produce the correct 32 bit object code?"


If you want to devote your program to DOS (or at least learn how to
layer your programs so that you end up with platform specific code)
the best way to handle this is to declare a 2d array that matches the
video memory, and then simply map it to the real video memory via an
address clause.

If you want the code email me, and i'll hunt around and find it.


Dale




  parent reply	other threads:[~1999-03-16  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03  0:00 What's wrong with this simple Ada w/ assembly code? Josh Highley
1999-03-04  0:00 ` robert_dewar
1999-03-04  0:00   ` Mike Silva
1999-03-04  0:00     ` robert_dewar
1999-03-05  0:00       ` Mike Silva
1999-03-05  0:00         ` Ed Falis
1999-03-04  0:00     ` Josh Highley
1999-03-04  0:00     ` Samuel Mize
1999-03-04  0:00       ` Tom Moran
1999-03-05  0:00         ` robert_dewar
1999-03-05  0:00           ` Tom Moran
1999-03-08  0:00     ` Matthew Heaney
1999-03-04  0:00 ` Tom Moran
1999-03-04  0:00   ` robert_dewar
1999-03-06  0:00 ` Nick Roberts
1999-03-06  0:00   ` David Botton
1999-03-07  0:00   ` Tom Moran
1999-03-07  0:00 ` Jerry van Dijk
1999-03-07  0:00   ` Tom Moran
1999-03-08  0:00     ` Jerry van Dijk
1999-03-14  0:00   ` Josh Highley
1999-03-14  0:00     ` David C. Hoos, Sr.
1999-03-15  0:00       ` Josh Highley
1999-03-15  0:00     ` Jerry van Dijk
     [not found]       ` <36ef2175.4732984@news.pacbell.net>
1999-03-17  0:00         ` Jerry van Dijk
1999-03-16  0:00     ` Dale Stanbrough [this message]
1999-03-16  0:00       ` Jerry van Dijk
replies disabled

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