comp.lang.ada
 help / color / mirror / Atom feed
From: jcallen@Encore.COM (Jerry Callen)
Subject: Keyboard input on IBM mainframes
Date: 24 Sep 90 16:27:17 GMT	[thread overview]
Message-ID: <12790@encore.Encore.COM> (raw)
In-Reply-To: 2172@sparko.gwu.edu

In article <2172@sparko.gwu.edu> mfeldman@seas.gwu.edu () writes:
> [various stuff about the difficulties of doing character I/O
>  on IBM 370 mainframes]
>I conjecture that a sufficiently adept assembler programmer could figure out
>how to end-run the CMS device drivers and then write an interface package
>to make it Ada-callable, but I don't think it would be easy. 

IBM terminal I/O is fundamentally half-duplex. There is possibly a kluge you
could pull on 3270s using "trigger fields" to get data a character at a
time but the overhead would be unspeakable. Unless you are willing to
use somewhat non-standard hardware or hack the OS (ha!) it is just not
possible to do "raw mode" I/O on IBM 370 mainframes. Amdahl's UTS
(Unix for 370s) can do this with special software in the mainframe and
in the terminal controller, but for CMS and TSO it is for all intents
and purposes impossible.

>Given the differences between ASCII and EBCDIC character sets, I find it
>amazing that a decent Ada could have been implemented at all on IBM mainframe
>iron. There are in fact at least two quite decent systems out there, one
>sold by Alsys, the other by IBM, supported, I believe, out of Toronto.

Actually, it's not very hard; you just have to translate everying coming in 
and going out. Bits is bits is bits...

-- Jerry Callen
   jcallen@encore.com

P.S. There's a third "quite decent" Ada for IBM mainframes, from Intermetrics.
	 I don't know if it is actually a product or not. I used to work
	 on it, so I can hardly provide an unbiased assessment. :-)

  reply	other threads:[~1990-09-24 16:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-09-18 20:32 Keyboard input Gregory M. Stelmack
1990-09-19 19:27 ` Terry J. Westley
1990-09-20 20:29   ` Gregory M. Stelmack
1990-09-20 23:20   ` Charles H. Sampson
1990-09-21 17:50 ` Andy DeFaria
1990-09-22 20:13   ` Michael Feldman
1990-09-24  8:58     ` Richard A. O'Keefe
1990-09-24 13:58       ` Michael Feldman
1990-09-24 16:27         ` Jerry Callen [this message]
1990-09-24 17:44           ` Ada on IBM mainframes Michael Feldman
1990-09-26 13:16             ` ryer
1990-09-26  0:16         ` Keyboard input Chris Holl @adonna
1990-09-22  0:21 ` Naasif Gierdien
1990-09-22  0:25   ` Naasif Gierdien
1990-09-24 16:18 ` Andy DeFaria
1990-09-25 14:11   ` Edward Falis
1990-09-25 15:10   ` Michael Feldman
1990-09-25 18:13   ` John Prentice
1990-09-25 13:36 ` stt
replies disabled

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