HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
Typedefs
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
a
c
e
f
g
i
n
p
r
s
t
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
gpib
drives_sup.h
Go to the documentation of this file.
1
#ifndef _DRIVES_SUP_H
2
#define _DRIVES_SUP_H
3
31
#define MODEL_SIZE 32
32
33
typedef
struct
34
{
35
char
model[
MODEL_SIZE
];
// 1 HP Model number
36
char
comment[64];
// 2
37
char
TYPE[32];
// 3 SS80,CS80,AMIGO
38
long
ID
;
// 4 Request Identify ID
39
long
mask_stat2
;
// 5
40
long
id_stat2
;
// 6
41
long
DEVICE_NUMBER
;
// 7 BCD part of model number * 10
42
long
UNITS_INSTALLED
;
// 8 ALWAYS 1 , FIXED
43
long
CYLINDERS
;
// 9
44
long
HEADS
;
// 10
45
long
SECTORS
;
// 11
46
long
BYTES_PER_SECTOR
;
// 12
47
long
INTERLEAVE
;
// 13
48
long
FIXED
;
// 14 ALWAYS 1
49
// Computed values
50
long
BLOCKS
;
51
long
LIF_DIR_BLOCKS
;
52
}
hpdir_t
;
53
// =============================================
54
55
#endif
56
57
/* drives_sup.c */
58
void
hpdir_init
(
void
);
59
long
lif_dir_count
(
long
blocks );
60
int
hpdir_find_drive
(
char
*model ,
int
list ,
int
verbose );
MODEL_SIZE
#define MODEL_SIZE
Data structure for hpdir.ini HPDir project disk parameters.
Definition:
drives_sup.h:31
hpdir_t::LIF_DIR_BLOCKS
long LIF_DIR_BLOCKS
Definition:
drives_sup.h:51
hpdir_t::UNITS_INSTALLED
long UNITS_INSTALLED
Definition:
drives_sup.h:42
hpdir_t::HEADS
long HEADS
Definition:
drives_sup.h:44
hpdir_t::CYLINDERS
long CYLINDERS
Definition:
drives_sup.h:43
lif_dir_count
long lif_dir_count(long blocks)
LIF Directory blocks ~= sqrt(blocks);.
Definition:
drives_sup.c:57
hpdir_t::BYTES_PER_SECTOR
long BYTES_PER_SECTOR
Definition:
drives_sup.h:46
hpdir_find_drive
int hpdir_find_drive(char *model, int list, int verbose)
Find drive parameters in hpdir.ini file.
Definition:
drives_sup.c:79
hpdir_t::INTERLEAVE
long INTERLEAVE
Definition:
drives_sup.h:47
hpdir_init
void hpdir_init(void)
hpdir.ini file processing
Definition:
drives_sup.c:25
hpdir_t::FIXED
long FIXED
Definition:
drives_sup.h:48
hpdir_t::id_stat2
long id_stat2
Definition:
drives_sup.h:40
hpdir_t::ID
long ID
Definition:
drives_sup.h:38
hpdir_t::mask_stat2
long mask_stat2
Definition:
drives_sup.h:39
hpdir_t::BLOCKS
long BLOCKS
Definition:
drives_sup.h:50
hpdir_t::SECTORS
long SECTORS
Definition:
drives_sup.h:45
hpdir_t
Definition:
drives_sup.h:33
hpdir_t::DEVICE_NUMBER
long DEVICE_NUMBER
Definition:
drives_sup.h:41
Generated on Wed Apr 13 2022 21:56:48 for HP85 GPIB Disk Emulator by
1.8.17