[wpi.sys.apple] C language, RAM5 memory question

greyelf@wpi.WPI.EDU (Michael J Pender) (10/31/90)

1.  Does anyone know of a way to reserve a section of memory in HyperC?
I want to use the hires graphics, but not eat my own program.

2.  How do I return a value to a calling routine from assembler in Hyper C?
I've tried putting the value in r1, r1h, but it didn't pass the value back.

3.  I want to do a sequence of reads and writes from a slot 5 ramcard
at assembler level.  Sometimes when I try this I get garbage instead of the
data I placed there.  Do I have to initialize the card first, or just assume
prodos does?  Do I have to do a Pascal 1.1 standard read/write call before
just making a bunch of lda/sta calls from location medata?

4.  Hyperc lacks a scanf function.  Why don't we just take the c code for
a scanf function from a language like small C and use that?  Anyone have
small C out there?

I know I asked these questions before, but it is very important to me to 
have the answers before the weekend.
-- 
---
Michael J Pender Jr  Box 1942 c/o W.P.I.   Part of this D- belongs to 
greyelf@wpi.bitnet   100 Institute Rd.     God...