pattis@cs.washington.edu (Richard Pattis) (06/28/90)
I am working through Marc J. Rochkind's book, "Advanced C Programming for Displays". I'd like to implement some of his code in Ada (using Meridian's compiler mostly, for PCs). I'd like to do both implementations (BIOS calls and direct memory mapped). But I'm having trouble getting the types and representation specifications to work correctly. Does anyone have such a package that they are willing to share? Rich Pattis PS: I'm aware of the material in Cohen's book "Ada as a second language", but that code will not compile on my system (besides the typos, it seems that meridian's record component offset must be even). I tried a quick kludge, using a 2 element array instead of char/attr components, but I'm not getting the information to the screen, and instead clobbering memory.