blob: 564441f94652253a9abd21dfc1ace0fdc49d6a8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/**********************************************************************
Copyright (C) Antoine Mine' 2006
Thomson 8-bit computers
**********************************************************************/
#ifndef THOMFLOP_H_
#define THOMFLOP_H_
#include "image.h"
#include "imagedev/flopdrv.h"
#include "machine/mc6843.h"
#include "machine/mc6854.h"
extern const mc6843_interface to7_6843_itf;
extern const mc6854_interface to7_network_iface;
extern UINT8 to7_controller_type; /* set during init */
extern UINT8 to7_floppy_bank;
/* number of external floppy controller ROM banks */
#define TO7_NB_FLOP_BANK 9
/* external floppy / network controller active */
#define THOM_FLOPPY_EXT (to7_controller_type >= 1)
/* internal floppy controller active (no or network extension) */
#define THOM_FLOPPY_INT (to7_controller_type == 0 || to7_controller_type > 4)
/* external controllers */
/* TO9 internal (WD2793) & external controllers */
/* TO8 internal (THMFC1) controller */
#endif /* THOMFLOP_H_ */
|