Subversion Repositories Shiroi

Rev

Rev 23 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 nishi 1
/* $Id: io.h 24 2024-08-31 12:24:15Z nishi $ */
2
 
3
#ifndef __IO_H__
4
#define __IO_H__
5
 
24 nishi 6
#if !((SDCC_VERSION_MAJOR == 4 && SDCC_VERSION_MINOR == 1 && SDCC_VERSION_PATCH == 11) || (SDCC_VERSION_MAJOR > 4) || (SDCC_VERSION_MAJOR == 4 && SDCC_VERSION_MINOR > 1) || (SDCC_VERSION_MAJOR == 4 && SDCC_VERSION_MINOR == 1 && SDCC_VERSION_PATCH > 11))
7
#define __sdcccall(x)
8
#endif
9
 
23 nishi 10
unsigned char inp(unsigned char) __sdcccall(0);
11
void outp(unsigned char, unsigned char) __sdcccall(0);
8 nishi 12
 
13
#endif