2017-10-11 05:40:44 -04:00
|
|
|
/*
|
|
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
|
|
|
|
*
|
|
|
|
|
* This file is part of the 86Box distribution.
|
|
|
|
|
*
|
2018-02-24 15:56:48 +01:00
|
|
|
* Oak OTI037C/67/077 emulation.
|
2017-10-11 05:40:44 -04:00
|
|
|
*
|
2018-03-24 01:15:40 +01:00
|
|
|
* Version: @(#)vid_oak_oti.c 1.0.10 2018/03/24
|
2017-10-11 05:40:44 -04:00
|
|
|
*
|
|
|
|
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
|
|
|
*
|
2018-02-03 03:19:12 +01:00
|
|
|
* Copyright 2008-2018 Sarah Walker.
|
|
|
|
|
* Copyright 2016-2018 Miran Grca.
|
2017-10-11 05:40:44 -04:00
|
|
|
*/
|
2017-09-25 04:31:20 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <string.h>
|
2016-06-26 00:34:39 +02:00
|
|
|
#include <stdlib.h>
|
2017-09-25 04:31:20 -04:00
|
|
|
#include <wchar.h>
|
2017-10-17 01:59:09 -04:00
|
|
|
#include "../86box.h"
|
2017-05-06 17:48:33 +02:00
|
|
|
#include "../io.h"
|
|
|
|
|
#include "../mem.h"
|
|
|
|
|
#include "../rom.h"
|
|
|
|
|
#include "../device.h"
|
2016-06-26 00:34:39 +02:00
|
|
|
#include "video.h"
|
2018-02-24 15:56:48 +01:00
|
|
|
#include "vid_oak_oti.h"
|
2016-06-26 00:34:39 +02:00
|
|
|
#include "vid_svga.h"
|
|
|
|
|
|
2018-03-03 00:02:21 +01:00
|
|
|
#define BIOS_37C_PATH L"roms/video/oti/bios.bin"
|
2017-11-01 01:51:19 -05:00
|
|
|
#define BIOS_77_PATH L"roms/video/oti/oti077.vbi"
|
|
|
|
|
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
typedef struct {
|
|
|
|
|
svga_t svga;
|
|
|
|
|
|
|
|
|
|
rom_t bios_rom;
|
|
|
|
|
|
|
|
|
|
int index;
|
|
|
|
|
uint8_t regs[32];
|
|
|
|
|
|
|
|
|
|
uint8_t pos;
|
|
|
|
|
|
2018-02-24 15:56:48 +01:00
|
|
|
uint8_t enable_register;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
uint32_t vram_size;
|
|
|
|
|
uint32_t vram_mask;
|
|
|
|
|
|
|
|
|
|
uint8_t chip_id;
|
|
|
|
|
} oti_t;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_out(uint16_t addr, uint8_t val, void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
svga_t *svga = &oti->svga;
|
|
|
|
|
uint8_t old;
|
2018-02-24 15:56:48 +01:00
|
|
|
uint8_t idx;
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2018-02-24 15:56:48 +01:00
|
|
|
if (!(oti->enable_register & 1) && addr != 0x3C3)
|
|
|
|
|
return;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
if ((((addr&0xFFF0) == 0x3D0 || (addr&0xFFF0) == 0x3B0) && addr < 0x3de) &&
|
|
|
|
|
!(svga->miscout & 1)) addr ^= 0x60;
|
|
|
|
|
|
|
|
|
|
switch (addr) {
|
2018-02-24 15:56:48 +01:00
|
|
|
case 0x3C3:
|
|
|
|
|
oti->enable_register = val & 1;
|
|
|
|
|
return;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
case 0x3D4:
|
2018-02-24 15:56:48 +01:00
|
|
|
svga->crtcreg = val;
|
2017-10-11 05:40:44 -04:00
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
case 0x3D5:
|
2018-02-24 15:56:48 +01:00
|
|
|
if (((svga->crtcreg & 31) < 7) && (svga->crtc[0x11] & 0x80))
|
2017-10-11 05:40:44 -04:00
|
|
|
return;
|
2018-02-24 15:56:48 +01:00
|
|
|
if (((svga->crtcreg & 31) == 7) && (svga->crtc[0x11] & 0x80))
|
2017-10-11 05:40:44 -04:00
|
|
|
val = (svga->crtc[7] & ~0x10) | (val & 0x10);
|
2018-02-24 15:56:48 +01:00
|
|
|
old = svga->crtc[svga->crtcreg & 31];
|
|
|
|
|
svga->crtc[svga->crtcreg & 31] = val;
|
2017-10-11 05:40:44 -04:00
|
|
|
if (old != val) {
|
2018-02-24 15:56:48 +01:00
|
|
|
if ((svga->crtcreg & 31) < 0xE || (svga->crtcreg & 31) > 0x10) {
|
2017-10-11 05:40:44 -04:00
|
|
|
svga->fullchange = changeframecount;
|
|
|
|
|
svga_recalctimings(svga);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 0x3DE:
|
2018-02-24 15:56:48 +01:00
|
|
|
oti->index = val;
|
2017-10-11 05:40:44 -04:00
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
case 0x3DF:
|
2018-02-24 15:56:48 +01:00
|
|
|
idx = oti->index & 0x1f;
|
|
|
|
|
oti->regs[idx] = val;
|
|
|
|
|
switch (idx) {
|
2017-10-11 05:40:44 -04:00
|
|
|
case 0xD:
|
2018-02-24 15:56:48 +01:00
|
|
|
if (oti->chip_id)
|
|
|
|
|
{
|
|
|
|
|
svga->vram_display_mask = (val & 0xc) ? oti->vram_mask : 0x3ffff;
|
|
|
|
|
if ((val & 0x80) && oti->vram_size == 256)
|
|
|
|
|
mem_mapping_disable(&svga->mapping);
|
|
|
|
|
else
|
|
|
|
|
mem_mapping_enable(&svga->mapping);
|
|
|
|
|
if (!(val & 0x80))
|
|
|
|
|
svga->vram_display_mask = 0x3ffff;
|
|
|
|
|
}
|
2017-10-11 05:40:44 -04:00
|
|
|
else
|
2018-02-24 15:56:48 +01:00
|
|
|
{
|
|
|
|
|
if (val & 0x80)
|
|
|
|
|
mem_mapping_disable(&svga->mapping);
|
|
|
|
|
else
|
|
|
|
|
mem_mapping_enable(&svga->mapping);
|
|
|
|
|
}
|
2017-10-11 05:40:44 -04:00
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 0x11:
|
|
|
|
|
svga->read_bank = (val & 0xf) * 65536;
|
|
|
|
|
svga->write_bank = (val >> 4) * 65536;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
svga_out(addr, val, svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static uint8_t
|
|
|
|
|
oti_in(uint16_t addr, void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
svga_t *svga = &oti->svga;
|
|
|
|
|
uint8_t temp;
|
|
|
|
|
|
2018-02-24 15:56:48 +01:00
|
|
|
if (!(oti->enable_register & 1) && addr != 0x3C3)
|
|
|
|
|
return 0xff;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
if ((((addr&0xFFF0) == 0x3D0 || (addr&0xFFF0) == 0x3B0) && addr < 0x3de) &&
|
|
|
|
|
!(svga->miscout & 1)) addr ^= 0x60;
|
|
|
|
|
|
|
|
|
|
switch (addr) {
|
2018-02-24 15:56:48 +01:00
|
|
|
case 0x3C3:
|
|
|
|
|
temp = oti->enable_register;
|
|
|
|
|
break;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
case 0x3D4:
|
|
|
|
|
temp = svga->crtcreg;
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 0x3D5:
|
2018-02-24 15:56:48 +01:00
|
|
|
temp = svga->crtc[svga->crtcreg & 31];
|
2017-10-11 05:40:44 -04:00
|
|
|
break;
|
|
|
|
|
|
2018-03-24 01:15:40 +01:00
|
|
|
case 0x3DA:
|
|
|
|
|
svga->attrff = 0;
|
|
|
|
|
svga->attrff = 0;
|
|
|
|
|
svga->cgastat &= ~0x30;
|
|
|
|
|
/* copy color diagnostic info from the overscan color register */
|
|
|
|
|
switch (svga->attrregs[0x12] & 0x30)
|
|
|
|
|
{
|
|
|
|
|
case 0x00: /* P0 and P2 */
|
|
|
|
|
if (svga->attrregs[0x11] & 0x01)
|
|
|
|
|
svga->cgastat |= 0x10;
|
|
|
|
|
if (svga->attrregs[0x11] & 0x04)
|
|
|
|
|
svga->cgastat |= 0x20;
|
|
|
|
|
break;
|
|
|
|
|
case 0x10: /* P4 and P5 */
|
|
|
|
|
if (svga->attrregs[0x11] & 0x10)
|
|
|
|
|
svga->cgastat |= 0x10;
|
|
|
|
|
if (svga->attrregs[0x11] & 0x20)
|
|
|
|
|
svga->cgastat |= 0x20;
|
|
|
|
|
break;
|
|
|
|
|
case 0x20: /* P1 and P3 */
|
|
|
|
|
if (svga->attrregs[0x11] & 0x02)
|
|
|
|
|
svga->cgastat |= 0x10;
|
|
|
|
|
if (svga->attrregs[0x11] & 0x08)
|
|
|
|
|
svga->cgastat |= 0x20;
|
|
|
|
|
break;
|
|
|
|
|
case 0x30: /* P6 and P7 */
|
|
|
|
|
if (svga->attrregs[0x11] & 0x40)
|
|
|
|
|
svga->cgastat |= 0x10;
|
|
|
|
|
if (svga->attrregs[0x11] & 0x80)
|
|
|
|
|
svga->cgastat |= 0x20;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
return svga->cgastat;
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
case 0x3DE:
|
|
|
|
|
temp = oti->index | (oti->chip_id << 5);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 0x3DF:
|
2018-02-24 15:56:48 +01:00
|
|
|
if ((oti->index & 0x1f)==0x10)
|
2017-10-11 05:40:44 -04:00
|
|
|
temp = 0x18;
|
|
|
|
|
else
|
2018-02-24 15:56:48 +01:00
|
|
|
temp = oti->regs[oti->index & 0x1f];
|
2017-10-11 05:40:44 -04:00
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
temp = svga_in(addr, svga);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return(temp);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_pos_out(uint16_t addr, uint8_t val, void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
|
|
|
|
|
if ((val & 8) != (oti->pos & 8)) {
|
|
|
|
|
if (val & 8)
|
|
|
|
|
io_sethandler(0x03c0, 32, oti_in, NULL, NULL,
|
|
|
|
|
oti_out, NULL, NULL, oti);
|
|
|
|
|
else
|
|
|
|
|
io_removehandler(0x03c0, 32, oti_in, NULL, NULL,
|
|
|
|
|
oti_out, NULL, NULL, oti);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
oti->pos = val;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static uint8_t
|
|
|
|
|
oti_pos_in(uint16_t addr, void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
|
|
|
|
|
return(oti->pos);
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
static void
|
|
|
|
|
oti_recalctimings(svga_t *svga)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)svga->p;
|
|
|
|
|
|
|
|
|
|
if (oti->regs[0x14] & 0x08) svga->ma_latch |= 0x10000;
|
|
|
|
|
|
|
|
|
|
if (oti->regs[0x0d] & 0x0c) svga->rowoffset <<= 1;
|
|
|
|
|
|
2018-02-21 12:58:35 +01:00
|
|
|
svga->interlace = oti->regs[0x14] & 0x80;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static void *
|
2018-03-19 01:02:04 +01:00
|
|
|
oti_init(const device_t *info)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = malloc(sizeof(oti_t));
|
2017-11-01 01:51:19 -05:00
|
|
|
wchar_t *romfn = NULL;
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
memset(oti, 0x00, sizeof(oti_t));
|
2017-11-01 01:51:19 -05:00
|
|
|
oti->chip_id = info->local;
|
|
|
|
|
|
|
|
|
|
switch(oti->chip_id) {
|
2018-02-24 15:56:48 +01:00
|
|
|
case 0:
|
|
|
|
|
romfn = BIOS_37C_PATH;
|
|
|
|
|
break;
|
|
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
case 2:
|
|
|
|
|
case 5:
|
|
|
|
|
romfn = BIOS_77_PATH;
|
|
|
|
|
break;
|
|
|
|
|
}
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
rom_init(&oti->bios_rom, romfn,
|
2017-10-11 05:40:44 -04:00
|
|
|
0xc0000, 0x8000, 0x7fff, 0, MEM_MAPPING_EXTERNAL);
|
|
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
oti->vram_size = device_get_config_int("memory");
|
|
|
|
|
oti->vram_mask = (oti->vram_size << 10) - 1;
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
svga_init(&oti->svga, oti, oti->vram_size << 10,
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_recalctimings, oti_in, oti_out, NULL, NULL);
|
|
|
|
|
|
|
|
|
|
io_sethandler(0x03c0, 32,
|
|
|
|
|
oti_in, NULL, NULL, oti_out, NULL, NULL, oti);
|
2018-02-24 15:56:48 +01:00
|
|
|
io_sethandler(0x46e8, 1, oti_pos_in,NULL,NULL, oti_pos_out,NULL,NULL, oti);
|
|
|
|
|
|
|
|
|
|
oti->svga.miscout = 1;
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2018-02-24 15:56:48 +01:00
|
|
|
oti->regs[0] = 0x08; /* fixme: bios wants to read this at index 0? this index is undocumented */
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
return(oti);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_close(void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
|
|
|
|
|
svga_close(&oti->svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
free(oti);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_speed_changed(void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
|
|
|
|
|
svga_recalctimings(&oti->svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_force_redraw(void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
2016-06-26 00:34:39 +02:00
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
oti->svga.fullchange = changeframecount;
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2017-10-11 05:40:44 -04:00
|
|
|
|
|
|
|
|
static void
|
|
|
|
|
oti_add_status_info(char *s, int max_len, void *p)
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_t *oti = (oti_t *)p;
|
|
|
|
|
|
|
|
|
|
svga_add_status_info(s, max_len, &oti->svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
}
|
|
|
|
|
|
2018-02-24 15:56:48 +01:00
|
|
|
static int
|
|
|
|
|
oti037c_available(void)
|
|
|
|
|
{
|
|
|
|
|
return(rom_present(BIOS_37C_PATH));
|
|
|
|
|
}
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2018-03-02 21:57:37 +01:00
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
static int
|
2018-03-02 21:57:37 +01:00
|
|
|
oti067_077_available(void)
|
2017-11-01 01:51:19 -05:00
|
|
|
{
|
2018-03-02 21:57:37 +01:00
|
|
|
return(rom_present(BIOS_77_PATH));
|
2017-11-01 01:51:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2018-03-19 01:02:04 +01:00
|
|
|
static const device_config_t oti067_config[] =
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
{
|
|
|
|
|
"memory", "Memory size", CONFIG_SELECTION, "", 512,
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"256 kB", 256
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"512 kB", 512
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"", "", -1
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
};
|
|
|
|
|
|
2017-11-01 01:51:19 -05:00
|
|
|
|
2018-03-19 01:02:04 +01:00
|
|
|
static const device_config_t oti077_config[] =
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
{
|
|
|
|
|
"memory", "Memory size", CONFIG_SELECTION, "", 1024,
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
"256 kB", 256
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"512 kB", 512
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"1 MB", 1024
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"", "", -1
|
|
|
|
|
}
|
2016-06-26 00:34:39 +02:00
|
|
|
};
|
|
|
|
|
|
2018-03-19 01:02:04 +01:00
|
|
|
const device_t oti037c_device =
|
2018-02-24 15:56:48 +01:00
|
|
|
{
|
|
|
|
|
"Oak OTI-037C",
|
|
|
|
|
DEVICE_ISA,
|
|
|
|
|
0,
|
|
|
|
|
oti_init, oti_close, NULL,
|
|
|
|
|
oti037c_available,
|
|
|
|
|
oti_speed_changed,
|
|
|
|
|
oti_force_redraw,
|
|
|
|
|
oti_add_status_info,
|
|
|
|
|
oti067_config
|
|
|
|
|
};
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2018-03-19 01:02:04 +01:00
|
|
|
const device_t oti067_device =
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
"Oak OTI-067",
|
|
|
|
|
DEVICE_ISA,
|
2017-11-01 01:51:19 -05:00
|
|
|
2,
|
|
|
|
|
oti_init, oti_close, NULL,
|
2018-03-02 21:57:37 +01:00
|
|
|
oti067_077_available,
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_speed_changed,
|
|
|
|
|
oti_force_redraw,
|
|
|
|
|
oti_add_status_info,
|
|
|
|
|
oti067_config
|
2016-06-26 00:34:39 +02:00
|
|
|
};
|
2017-10-11 05:40:44 -04:00
|
|
|
|
2018-03-19 01:02:04 +01:00
|
|
|
const device_t oti077_device =
|
2016-06-26 00:34:39 +02:00
|
|
|
{
|
2017-10-11 05:40:44 -04:00
|
|
|
"Oak OTI-077",
|
|
|
|
|
DEVICE_ISA,
|
2017-11-01 01:51:19 -05:00
|
|
|
5,
|
|
|
|
|
oti_init, oti_close, NULL,
|
2018-03-02 21:57:37 +01:00
|
|
|
oti067_077_available,
|
2017-10-11 05:40:44 -04:00
|
|
|
oti_speed_changed,
|
|
|
|
|
oti_force_redraw,
|
|
|
|
|
oti_add_status_info,
|
|
|
|
|
oti077_config
|
2016-06-26 00:34:39 +02:00
|
|
|
};
|