Add v0.7 source

This commit is contained in:
TomW 2013-04-21 14:54:35 +01:00
commit 3c253c2cf8
188 changed files with 52566 additions and 0 deletions

20
src/olivetti_m24.c Normal file
View file

@ -0,0 +1,20 @@
#include "ibm.h"
#include "io.h"
#include "olivetti_m24.h"
uint8_t olivetti_m24_read(uint16_t port)
{
switch (port)
{
case 0x66:
return 0x00;
case 0x67:
return 0x20 | 0x40 | 0x0C;
}
return 0xff;
}
void olivetti_m24_init()
{
io_sethandler(0x0066, 0x0002, olivetti_m24_read, NULL, NULL, NULL, NULL, NULL);
}