|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
drive definition parsing for HP85 disk emulator project for AVR. More...
Go to the source code of this file.
Functions | |
| void | hpdir_init () |
| hpdir.ini file processing More... | |
| long | lif_dir_count (long blocks) |
| LIF Directory blocks ~= sqrt(blocks);. More... | |
| int | hpdir_find_drive (char *model, int list, int verbose) |
| Find drive parameters in hpdir.ini file. More... | |
Variables | |
| hpdir_t | hpdir |
| hpdir.ini file processing More... | |
drive definition parsing for HP85 disk emulator project for AVR.
Definition in file drives_sup.c.
| int hpdir_find_drive | ( | char * | model, |
| int | list, | ||
| int | verbose | ||
| ) |
Find drive parameters in hpdir.ini file.
===============================================
| [in] | model | model string |
Definition at line 79 of file drives_sup.c.
Referenced by hpdir_set_parameters(), lif_tests(), and mount().
| void hpdir_init | ( | ) |
hpdir.ini file processing
===========================================================
Init Disk Parameter Structure
This structure will containes the parsed and computed disk parameters from a single hpdir disk entry
Definition at line 25 of file drives_sup.c.
Referenced by hpdir_find_drive().
| long lif_dir_count | ( | long | blocks | ) |
LIF Directory blocks ~= sqrt(blocks);.
We simplify BITS = MSB bit number of block count Directory size = BITS / 2
| [in] | blocks | size of LIF image in total |
Definition at line 57 of file drives_sup.c.
Referenced by format_drives(), and lif_tests().
| hpdir_t hpdir |
hpdir.ini file processing
Definition at line 15 of file drives_sup.c.
Referenced by hpdir_find_drive(), hpdir_init(), and lif_tests().
1.8.17