Projects/tigris
Projects
/
tigris
Archived
5
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
tigris/TIKI-100_emul-src/parallel.c

41 lines
817 B
C
Raw Normal View History

2008-09-01 12:30:26 +02:00
/* parallel.c V1.1.0
*
* Z80 PIO emulering for TIKI-100_emul
* Copyright (C) Asbj<EFBFBD>rn Djupdal 2001
*/
#include "TIKI-100_emul.h"
#include "protos.h"
/*****************************************************************************/
/* skriv til dataregister A */
void newParAData (byte value) {
printChar (value);
}
/* skriv til dataregister B */
void newParBData (byte value) {
}
/* skriv til kontrollregister A */
void parAControl (byte value) {
}
/* skriv til kontrollregister B */
void parBControl (byte value) {
}
/* les dataregister A */
byte parAData (void) {
return 0;
}
/* les dataregister B */
byte parBData (void) {
return 0x10; /* Ack p<>, busy og no-paper av */
}
/* les statusregister A */
byte parAStatus (void) {
return 0;
}
/* les statusregister B */
byte parBStatus (void) {
return 0;
}