Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!husc6!m2c!wpi!greyelf From: greyelf@wpi.wpi.edu (Michael J Pender) Newsgroups: comp.sys.apple Subject: Hyper C Message-ID: <7779@wpi.wpi.edu> Date: 6 Feb 90 21:47:15 GMT Reply-To: greyelf@wpi.wpi.edu (Michael J Pender) Organization: Worcester Polytechnic Institute, Worcester ,MA Lines: 26 Some basic questions: 1 How does one integrate assembler code directly into the c program, instead of editing the .a file to include the opcodes? 2 This would make reading hardware flags much easier, along with writing terminal programs, interfacing hardware, etc. 3 How does only clear the screen? I know cls works from the shell, but I don't know how to execute a system call. If I knew how to interface assembler code I'd just do a jsr $fc58, I *think* that's the address for the home routine. (I'm not at home and have no references handy here...). 4 How does one determine the end of file condition? 5 How does one read a line of input from the keyboard? 6 Can a person generate a file of assembler code and just link the c program and the assembler at the same time? A messy approach to accomplish the earlier goals, but it would work. If I knew how to do #1, I could do the rest.