OpenCores
URL https://opencores.org/ocsvn/z80soc/z80soc/trunk

Subversion Repositories z80soc

[/] [z80soc/] [trunk/] [V0.7.3/] [Software/] [C/] [testsys/] [o3s.c] - Rev 46

Compare with Previous | Blame | View Log

/*
 *  o3s.c
 *  XcodeProject
 *
 *  Created by Ronivon Costa on 11/7/10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */
 
#include <o3s.h>
#include <z80soc.h>
#include <string.h>
 
void printlcd(short int pos, char s[]) {
	int i;
	int lcdmem = 0xffe0 + pos;
	for (i = 0;i < strlen(s); i++) {
		writeMemory(lcdmem+i,s[i]);
	}
}
 
unsigned char JoyStick(void) {
	__sfr __at JOYSTICK static JOY;
	return  JOY;
}
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.