[comp.sys.cbm] Machine Language interfacing with Power C.

warner@tlab1.cs.unc.edu (Byron Warner) (01/29/89)

I am the owner of a c128 with Power C.  I would like to know
a few things about using machine language with it. 

	- How would I clear of set the carry bit from C
	 so that I could all routines like "plot" for setting
	 curors location?
	- Since the c128 is a bank switching machine can pointer 
	  indirection work to change vital memory locations.

		ie. writing to the screen with pointer indirection.
		#define SCREEN 1024
		    .
            	    .
                char *ptr = SCREEN;
		*ptr = 5; /* writing a letter to the screen 8/
	- Also when writing ml code to work with power C
	  beside allocating the memory and using the sys function 
          what else is needed?

Thanks in advance.

cygnus@wpi.wpi.edu (Marshall Robin) (02/24/89)

Does anyone know of a C compiler for the 64 that is decent? Also, are
there any PD C compilers? Thanks.



-- 
|BITNET:    cygnus@wpi.bitnet  | Better the pride that resides   | This space |
|Internet:  cygnus@wpi.wpi.edu | In a citizen of the world	 | reserved   |
-------------------------------| Than the pride that divides     | for future |
|	     Bleah.	       | When a colorful rag is unfurled.| development|