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

Subversion Repositories z80soc

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

Compare with Previous | Blame | View Log

/*
 *  s3e.c
 *  XcodeProject
 *
 *  Created by Ronivon Costa on 11/7/10.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */
 
#include <s3e.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]);
	}
}
 
int rotaryButton(void) {
	__sfr __at ROTARY static ROT;
	return ROT;
}
 
 
 

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.