<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="fdc_8h" kind="file" language="C++"> <compoundname>fdc.h</compoundname> <includes refid="include_2sys_2types_8h" local="no">sys/types.h</includes> <includedby refid="ubixos_2init_8h" local="no">C:/Dev/git/UbixOS/sys/include/ubixos/init.h</includedby> <includedby refid="fdc_8c" local="no">C:/Dev/git/UbixOS/sys/isa/fdc.c</includedby> <incdepgraph> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/isa/fdc.h</label> <link refid="fdc_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="4"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="8"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="2"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="5"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="3"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="6"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="3" relation="include"> </childnode> </node> <node id="7"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="3" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="3"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/isa/fdc.h</label> <link refid="fdc_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/isa/fdc.c</label> <link refid="fdc_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="3" relation="include"> </childnode> </node> </invincdepgraph> <innerclass refid="structDrvGeom" prot="public">DrvGeom</innerclass> <sectiondef kind="define"> <memberdef kind="define" id="fdc_8h_1a6f35816c0b01ac39832de24459d82e27" prot="public" static="no"> <name>cmdRead</name> <initializer>(0xe6)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="50" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="49" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a8a2fef7d1ed07757e099b8c7b29bfb09" prot="public" static="no"> <name>cmdRecal</name> <initializer>(0x07)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="53" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="52" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1ae2d2411a8ccdc868ab718da2b15348a9" prot="public" static="no"> <name>cmdSeek</name> <initializer>(0x0f)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="51" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="50" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a6afd950ba65e51d77abf2158216f0284" prot="public" static="no"> <name>cmdSensei</name> <initializer>(0x08)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="52" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="51" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a6003c8e12dd1e4f765279854f016c0ae" prot="public" static="no"> <name>cmdSpecify</name> <initializer>(0x03)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="54" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="53" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1afcfbcbee1143a2a689afc3a656646bad" prot="public" static="no"> <name>cmdWrite</name> <initializer>(0xc5)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="49" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="48" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a95339d9d677a8ac74a7a7459ad130739" prot="public" static="no"> <name>dg144Gap3rw</name> <initializer>0x1b</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="59" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="58" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a603e1e0a278c07c7338444e750ab35f3" prot="public" static="no"> <name>dg144Heads</name> <initializer>2 /* heads per drive (1.44M) */</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="56" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="55" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a874c835339ecb6a4a5fdd7aab7bfbe02" prot="public" static="no"> <name>dg144Spt</name> <initializer>18</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="58" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="57" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1ae502999ac4dc1f4ef9e0a9db76b11a9a" prot="public" static="no"> <name>dg144Tracks</name> <initializer>80</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="57" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="56" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a51916e330bac103bdf860461ae359e1e" prot="public" static="no"> <name>dg168Gap3rw</name> <initializer>0x1c</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="60" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="59" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1abcb9230a76b72528226c49a520db19f0" prot="public" static="no"> <name>fdcCcr</name> <initializer>(0x3f7)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="45" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="44" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a298d327024dc99847e9064de3aa4388a" prot="public" static="no"> <name>fdcData</name> <initializer>(0x3f5)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="43" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="42" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a93ff9547b61a14618c87c5639a1252c5" prot="public" static="no"> <name>fdcDir</name> <initializer>(0x3f7)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="44" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="43" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1ae3bc9df62f197b42804259efb8ba44ec" prot="public" static="no"> <name>fdcDor</name> <initializer>(0x3f2)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="46" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="45" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a00cfb48baa9e5c82b55842f2fdb5794c" prot="public" static="no"> <name>fdcDrs</name> <initializer>(0x3f4)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="47" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="46" bodyend="-1"/> </memberdef> <memberdef kind="define" id="fdc_8h_1a8ede3d2b611c5ae0d74bac02a68f998a" prot="public" static="no"> <name>fdcMsr</name> <initializer>(0x3f4)</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="42" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" bodystart="41" bodyend="-1"/> </memberdef> </sectiondef> <sectiondef kind="typedef"> <memberdef kind="typedef" id="fdc_8h_1a3a2c32c6da970b0c5efa169931f0c751" prot="public" static="no"> <type>struct <ref refid="structDrvGeom" kindref="compound">DrvGeom</ref></type> <definition>typedef struct DrvGeom drvGeom</definition> <argsstring></argsstring> <name>drvGeom</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="38" column="9"/> </memberdef> </sectiondef> <sectiondef kind="func"> <memberdef kind="function" id="fdc_8h_1aa0f8325f93de9409e403e620f914e69f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void block2Hts</definition> <argsstring>(int block, int *head, int *track, int *sector)</argsstring> <name>block2Hts</name> <param> <type>int</type> <declname>block</declname> </param> <param> <type>int *</type> <declname>head</declname> </param> <param> <type>int *</type> <declname>track</declname> </param> <param> <type>int *</type> <declname>sector</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="69" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="200" bodyend="204" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="69" declcolumn="6"/> <referencedby refid="fdc_8c_1a4b5fded251628524148377601d44377a" compoundref="fdc_8c" startline="127" endline="198">fdcRw</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a2fad92b12d9ff56bf300b7e53875c75d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int fdc_init</definition> <argsstring>()</argsstring> <name>fdc_init</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="63" column="5" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="61" bodyend="75" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="63" declcolumn="5"/> <references refid="devfs_8c_1ad568bae84bef3691539f1b1d0f6a54b4" compoundref="devfs_8c" startline="174" endline="209">devfs_makeNode</references> <references refid="include_2sys_2device_8h_1a256b750ab99e3be9b83a9bfd37a22388" compoundref="device_8c" startline="49" endline="70">device_add</references> <references refid="gdt_8h_1a7eb6dc7004c613df58764da5df7d85d8" compoundref="gdt_8h" startline="43">dInt</references> <references refid="gdt_8h_1abe5eb76416aff1d9114e1cdb8b0797fe" compoundref="gdt_8h" startline="54">dPresent</references> <references refid="fdc_8c_1a62847307f237f6b4240d1eb4718b13e7" compoundref="fdc_8c" startline="56" endline="59">fdcInit2</references> <references refid="fdc_8c_1a1f2029ff3278c4b819c4420c168cc082" compoundref="fdc_8c" startline="303" endline="308">fdcRead</references> <references refid="fdc_8c_1acc9e5f35deea53f5b68798269b9be7c0" compoundref="fdc_8c" startline="309" endline="312">fdcWrite</references> <references refid="fdc_8h_1a2c2196dd9229105994bb3840347e6f05">floppyIsr</references> <references refid="structdevice__interface_1a5a20c2397cc4ac3fbb9afe36bea1cfd1" compoundref="include_2sys_2device_8h" startline="55">device_interface::init</references> <references refid="8259_8h_1a0ac079c4d770f02e505f4d8569a6960a">irqEnable</references> <references refid="kmalloc_8h_1a150eab2ac4ce4553e21ca10e7f441762" compoundref="kmalloc_8c" startline="241" endline="331">kmalloc</references> <references refid="structdevice__interface_1a7eb42b0bb3e06dbc9183531a5e59ddb8" compoundref="include_2sys_2device_8h" startline="50">device_interface::major</references> <references refid="8259_8h_1a7d84962c1a1c225344a94545309f92fc" compoundref="8259_8h" startline="41">mVec</references> <references refid="structdevice__interface_1a876d3736a8df585bb06a82308724db6f" compoundref="include_2sys_2device_8h" startline="52">device_interface::read</references> <references refid="structdevice__interface_1a816fbc5cd527e42d0a64a6d690062ed0" compoundref="include_2sys_2device_8h" startline="54">device_interface::reset</references> <references refid="fdc_8c_1a3aea9deb2a0bfea9ff05a898f4822e31" compoundref="fdc_8c" startline="288" endline="301">reset</references> <references refid="idt_8h_1a174a47ed653fc64fff6b5bb1b895c2cf" compoundref="idt_8c" startline="208" endline="216">setVector</references> <references refid="structdevice__interface_1a9d8ffee6ef57616ca48d1f7cfc54e461" compoundref="include_2sys_2device_8h" startline="53">device_interface::write</references> </memberdef> <memberdef kind="function" id="fdc_8h_1afbac0e2409458a8fda9ff689ecd31de9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void fdcRead</definition> <argsstring>(void *info, void *, uInt32 startSector, uInt32 sectorCount)</argsstring> <name>fdcRead</name> <param> <type>void *</type> <declname>info</declname> </param> <param> <type>void *</type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> <declname>startSector</declname> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> <declname>sectorCount</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="81" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="303" bodyend="308" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="81" declcolumn="6"/> <references refid="armv6_2spinlock_8c_1a71f03d2ba55111c715b6068254847a53" compoundref="armv6_2spinlock_8c" startline="55" endline="61">spinLock</references> <referencedby refid="fdc_8c_1a2fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="61" endline="75">fdc_init</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a4b5fded251628524148377601d44377a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <definition>bool fdcRw</definition> <argsstring>(int block, unsigned char *blockBuffer, bool read, unsigned long numSectors)</argsstring> <name>fdcRw</name> <param> <type>int</type> <declname>block</declname> </param> <param> <type>unsigned char *</type> <declname>blockBuffer</declname> </param> <param> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <declname>read</declname> </param> <param> <type>unsigned long</type> <declname>numSectors</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="68" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="127" bodyend="198" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="68" declcolumn="6"/> <references refid="fdc_8c_1aa0f8325f93de9409e403e620f914e69f" compoundref="fdc_8c" startline="200" endline="204">block2Hts</references> <references refid="fdc_8h_1a93ff9547b61a14618c87c5639a1252c5" compoundref="fdc_8h" startline="43">fdcDir</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> <references refid="fdc_8c_1a94483feb4903fca9643813faae8a76ee" compoundref="fdc_8c" startline="206" endline="211">motorOn</references> <references refid="gen__calls_8h_1a5eff3a25d417fafce7c4f211db219ca2" compoundref="gen__calls_8c" startline="100" endline="119">read</references> <referencedby refid="fdc_8c_1aa03242a5e44c4f2d10e15d296aca8c6b" compoundref="fdc_8c" startline="240" endline="249">readBlock</referencedby> <referencedby refid="fdc_8c_1aebbcd7bc8695e888491b97b5bf27bd9c" compoundref="fdc_8c" startline="251" endline="253">writeBlock</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a53a979dbcd632f57a4b004f66332f981" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void fdcWrite</definition> <argsstring>(void *info, void *, uInt32 startSector, uInt32 sectorCount)</argsstring> <name>fdcWrite</name> <param> <type>void *</type> <declname>info</declname> </param> <param> <type>void *</type> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> <declname>startSector</declname> </param> <param> <type><ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref></type> <declname>sectorCount</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="80" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="309" bodyend="312" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="80" declcolumn="6"/> <references refid="fdc_8c_1aebbcd7bc8695e888491b97b5bf27bd9c" compoundref="fdc_8c" startline="251" endline="253">writeBlock</references> <referencedby refid="fdc_8c_1a2fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="61" endline="75">fdc_init</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a2c2196dd9229105994bb3840347e6f05" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void floppyIsr</definition> <argsstring>()</argsstring> <name>floppyIsr</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="64" column="6" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="64" declcolumn="6"/> <referencedby refid="fdc_8c_1a2fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="61" endline="75">fdc_init</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a5042dfaf2327990b6d1e1a7d3e01751c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void floppyIsrhndlr</definition> <argsstring>()</argsstring> <name>floppyIsrhndlr</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="65" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="96" bodyend="99" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="65" declcolumn="6"/> </memberdef> <memberdef kind="function" id="fdc_8h_1ae266cdb34b69c65cfc108bbc72a4e3ff" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>int</type> <definition>int getByte</definition> <argsstring>()</argsstring> <name>getByte</name> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="67" column="5" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="114" bodyend="125" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="67" declcolumn="5"/> <references refid="fdc_8h_1a298d327024dc99847e9064de3aa4388a" compoundref="fdc_8h" startline="42">fdcData</references> <references refid="fdc_8h_1a8ede3d2b611c5ae0d74bac02a68f998a" compoundref="fdc_8h" startline="41">fdcMsr</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> </memberdef> <memberdef kind="function" id="fdc_8h_1a044fc0dea0fb35e6fab7f3c0badea2c9" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void motorOff</definition> <argsstring>(void)</argsstring> <name>motorOff</name> <param> <type>void</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="71" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="213" bodyend="219" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="71" declcolumn="6"/> <referencedby refid="fdc_8c_1a2a16ea9e09b5f3dc2a559351afdc75f3" compoundref="fdc_8c" startline="280" endline="286">recalibrate</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a94483feb4903fca9643813faae8a76ee" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void motorOn</definition> <argsstring>(void)</argsstring> <name>motorOn</name> <param> <type>void</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="70" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="206" bodyend="211" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="70" declcolumn="6"/> <referencedby refid="fdc_8c_1a4b5fded251628524148377601d44377a" compoundref="fdc_8c" startline="127" endline="198">fdcRw</referencedby> <referencedby refid="fdc_8c_1a2a16ea9e09b5f3dc2a559351afdc75f3" compoundref="fdc_8c" startline="280" endline="286">recalibrate</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1aa03242a5e44c4f2d10e15d296aca8c6b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <definition>bool readBlock</definition> <argsstring>(int block, Int8 *blockBuffer, unsigned long numSectors)</argsstring> <name>readBlock</name> <param> <type>int</type> <declname>block</declname> </param> <param> <type><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref> *</type> <declname>blockBuffer</declname> </param> <param> <type>unsigned long</type> <declname>numSectors</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="79" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="240" bodyend="249" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="79" declcolumn="6"/> <references refid="fdc_8c_1a4b5fded251628524148377601d44377a" compoundref="fdc_8c" startline="127" endline="198">fdcRw</references> <references refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1aa82764c3079aea4e60c80e45befbb839" compoundref="include_2sys_2types_8h" startline="82">TRUE</references> </memberdef> <memberdef kind="function" id="fdc_8h_1a2a16ea9e09b5f3dc2a559351afdc75f3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void recalibrate</definition> <argsstring>(void)</argsstring> <name>recalibrate</name> <param> <type>void</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="76" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="280" bodyend="286" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="76" declcolumn="6"/> <references refid="fdc_8h_1a8a2fef7d1ed07757e099b8c7b29bfb09" compoundref="fdc_8h" startline="52">cmdRecal</references> <references refid="fdc_8c_1a044fc0dea0fb35e6fab7f3c0badea2c9" compoundref="fdc_8c" startline="213" endline="219">motorOff</references> <references refid="fdc_8c_1a94483feb4903fca9643813faae8a76ee" compoundref="fdc_8c" startline="206" endline="211">motorOn</references> <references refid="fdc_8c_1ae708fa84d19a72e77185b3a214e81573" compoundref="fdc_8c" startline="101" endline="112">sendByte</references> <references refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1aa82764c3079aea4e60c80e45befbb839" compoundref="include_2sys_2types_8h" startline="82">TRUE</references> <references refid="fdc_8c_1af5b6e5123d27381ca120b7b4fea7b242" compoundref="fdc_8c" startline="255" endline="278">waitFdc</references> </memberdef> <memberdef kind="function" id="fdc_8h_1a3aea9deb2a0bfea9ff05a898f4822e31" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void reset</definition> <argsstring>(void)</argsstring> <name>reset</name> <param> <type>void</type> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="77" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="288" bodyend="301" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="77" declcolumn="6"/> <references refid="fdc_8h_1ae3bc9df62f197b42804259efb8ba44ec" compoundref="fdc_8h" startline="45">fdcDor</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <referencedby refid="fdc_8c_1a2fad92b12d9ff56bf300b7e53875c75d" compoundref="fdc_8c" startline="61" endline="75">fdc_init</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1a5886a896e5f0361f36b40d007db6e683" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <definition>bool seek</definition> <argsstring>(int track)</argsstring> <name>seek</name> <param> <type>int</type> <declname>track</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="72" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="221" bodyend="238" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="72" declcolumn="6"/> </memberdef> <memberdef kind="function" id="fdc_8h_1ae708fa84d19a72e77185b3a214e81573" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type>void</type> <definition>void sendByte</definition> <argsstring>(int Int8)</argsstring> <name>sendByte</name> <param> <type>int</type> <declname>Int8</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="66" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="101" bodyend="112" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="66" declcolumn="6"/> <references refid="fdc_8h_1a298d327024dc99847e9064de3aa4388a" compoundref="fdc_8h" startline="42">fdcData</references> <references refid="fdc_8h_1a8ede3d2b611c5ae0d74bac02a68f998a" compoundref="fdc_8h" startline="41">fdcMsr</references> <references refid="io_8h_1a77b934268de1b3ecdcf3f275413b3108" compoundref="io_8c" startline="38" endline="46">inportByte</references> <references refid="io_8h_1a8acc1a06073db2e7b92ffbd00fbd0cf1" compoundref="io_8c" startline="72" endline="78">outportByte</references> <referencedby refid="fdc_8c_1a2a16ea9e09b5f3dc2a559351afdc75f3" compoundref="fdc_8c" startline="280" endline="286">recalibrate</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1af5b6e5123d27381ca120b7b4fea7b242" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <definition>bool waitFdc</definition> <argsstring>(bool sensei)</argsstring> <name>waitFdc</name> <param> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <declname>sensei</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="73" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="255" bodyend="278" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="73" declcolumn="6"/> <referencedby refid="fdc_8c_1a2a16ea9e09b5f3dc2a559351afdc75f3" compoundref="fdc_8c" startline="280" endline="286">recalibrate</referencedby> </memberdef> <memberdef kind="function" id="fdc_8h_1aebbcd7bc8695e888491b97b5bf27bd9c" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> <type><ref refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1" kindref="member">bool</ref></type> <definition>bool writeBlock</definition> <argsstring>(int block, Int8 *blockBuffer, unsigned long numSectors)</argsstring> <name>writeBlock</name> <param> <type>int</type> <declname>block</declname> </param> <param> <type><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref> *</type> <declname>blockBuffer</declname> </param> <param> <type>unsigned long</type> <declname>numSectors</declname> </param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" line="78" column="6" bodyfile="C:/Dev/git/UbixOS/sys/isa/fdc.c" bodystart="251" bodyend="253" declfile="C:/Dev/git/UbixOS/sys/include/isa/fdc.h" declline="78" declcolumn="6"/> <references refid="include_2sys_2types_8h_1af6a258d8f3ee5206d682d799316314b1aa1e095cc966dbecf6a0d8aad75348d1a" compoundref="include_2sys_2types_8h" startline="82">FALSE</references> <references refid="fdc_8c_1a4b5fded251628524148377601d44377a" compoundref="fdc_8c" startline="127" endline="198">fdcRw</references> <referencedby refid="fdc_8c_1acc9e5f35deea53f5b68798269b9be7c0" compoundref="fdc_8c" startline="309" endline="312">fdcWrite</referencedby> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <programlisting> <codeline lineno="1"><highlight class="comment">/*****************************************************************************************</highlight></codeline> <codeline lineno="2"><highlight class="comment"><sp/>Copyright<sp/>(c)<sp/>2002-2004<sp/>The<sp/>UbixOS<sp/>Project</highlight></codeline> <codeline lineno="3"><highlight class="comment"><sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="4"><highlight class="comment"></highlight></codeline> <codeline lineno="5"><highlight class="comment"><sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are</highlight></codeline> <codeline lineno="6"><highlight class="comment"><sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="7"><highlight class="comment"></highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.<sp/><sp/>Redistributions<sp/>in<sp/>binary</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of<sp/>conditions,<sp/>the<sp/>following</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or<sp/>other<sp/>materials<sp/>provided</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>with<sp/>the<sp/>distribution.<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="15"><highlight class="comment"></highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>COPYRIGHT<sp/>HOLDERS<sp/>AND<sp/>CONTRIBUTORS<sp/>"AS<sp/>IS"<sp/>AND<sp/>ANY</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>EXPRESS<sp/>OR<sp/>IMPLIED<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="25"><highlight class="comment"></highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>$Id:<sp/>fdc.h<sp/>79<sp/>2016-01-11<sp/>16:21:27Z<sp/>reddawg<sp/>$</highlight></codeline> <codeline lineno="27"><highlight class="comment"></highlight></codeline> <codeline lineno="28"><highlight class="comment">*****************************************************************************************/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="29"><highlight class="normal"></highlight></codeline> <codeline lineno="30"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>_FDC_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="31"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>_FDC_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="32"><highlight class="normal"></highlight></codeline> <codeline lineno="33"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="include_2sys_2types_8h" kindref="compound">sys/types.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="34" refid="structDrvGeom" refkind="compound"><highlight class="normal"></highlight></codeline> <codeline lineno="35"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="structDrvGeom" kindref="compound">DrvGeom</ref><sp/>{</highlight></codeline> <codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref><sp/><ref refid="structDrvGeom_1aedb24f8c9f3ae872be1cb104854dee1b" kindref="member">heads</ref>;</highlight></codeline> <codeline lineno="37"><highlight class="normal"><sp/><sp/><sp/><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref><sp/><ref refid="structDrvGeom_1aa2752e58d5f53c17ce6331d3ee4e9cbf" kindref="member">tracks</ref>;</highlight></codeline> <codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref><sp/><ref refid="structDrvGeom_1aa8dd21b2e6459ec0fabd9fe49835646a" kindref="member">spt</ref>;</highlight></codeline> <codeline lineno="39"><highlight class="normal">}<sp/><ref refid="fdc_8h_1a3a2c32c6da970b0c5efa169931f0c751" kindref="member">drvGeom</ref>;</highlight></codeline> <codeline lineno="40"><highlight class="normal"></highlight></codeline> <codeline lineno="41" refid="fdc_8h_1a8ede3d2b611c5ae0d74bac02a68f998a" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="42" refid="fdc_8h_1a298d327024dc99847e9064de3aa4388a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcMsr<sp/><sp/>(0x3f4)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43" refid="fdc_8h_1a93ff9547b61a14618c87c5639a1252c5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcData<sp/>(0x3f5)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44" refid="fdc_8h_1abcb9230a76b72528226c49a520db19f0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcDir<sp/><sp/>(0x3f7)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="45" refid="fdc_8h_1ae3bc9df62f197b42804259efb8ba44ec" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcCcr<sp/><sp/>(0x3f7)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46" refid="fdc_8h_1a00cfb48baa9e5c82b55842f2fdb5794c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcDor<sp/><sp/>(0x3f2)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>fdcDrs<sp/><sp/>(0x3f4)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48" refid="fdc_8h_1afcfbcbee1143a2a689afc3a656646bad" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="49" refid="fdc_8h_1a6f35816c0b01ac39832de24459d82e27" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdWrite<sp/><sp/><sp/>(0xc5)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50" refid="fdc_8h_1ae2d2411a8ccdc868ab718da2b15348a9" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdRead<sp/><sp/><sp/><sp/>(0xe6)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="51" refid="fdc_8h_1a6afd950ba65e51d77abf2158216f0284" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdSeek<sp/><sp/><sp/><sp/>(0x0f)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="52" refid="fdc_8h_1a8a2fef7d1ed07757e099b8c7b29bfb09" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdSensei<sp/><sp/>(0x08)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53" refid="fdc_8h_1a6003c8e12dd1e4f765279854f016c0ae" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdRecal<sp/><sp/><sp/>(0x07)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="54"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>cmdSpecify<sp/>(0x03)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="55" refid="fdc_8h_1a603e1e0a278c07c7338444e750ab35f3" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="56" refid="fdc_8h_1ae502999ac4dc1f4ef9e0a9db76b11a9a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dg144Heads<sp/><sp/>2<sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>heads<sp/>per<sp/>drive<sp/>(1.44M)<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="57" refid="fdc_8h_1a874c835339ecb6a4a5fdd7aab7bfbe02" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dg144Tracks<sp/>80</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="58" refid="fdc_8h_1a95339d9d677a8ac74a7a7459ad130739" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dg144Spt<sp/><sp/><sp/><sp/>18</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="59" refid="fdc_8h_1a51916e330bac103bdf860461ae359e1e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dg144Gap3rw<sp/>0x1b</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="60"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>dg168Gap3rw<sp/>0x1c</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="61" refid="structDrvGeom_1aedb24f8c9f3ae872be1cb104854dee1b" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="62" refid="structDrvGeom_1aa2752e58d5f53c17ce6331d3ee4e9cbf" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="63" refid="structDrvGeom_1aa8dd21b2e6459ec0fabd9fe49835646a" refkind="member"><highlight class="normal"></highlight></codeline> <codeline lineno="64"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a2fad92b12d9ff56bf300b7e53875c75d" kindref="member">fdc_init</ref>();</highlight></codeline> <codeline lineno="65"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a2c2196dd9229105994bb3840347e6f05" kindref="member">floppyIsr</ref>();</highlight></codeline> <codeline lineno="66"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a5042dfaf2327990b6d1e1a7d3e01751c" kindref="member">floppyIsrhndlr</ref>();</highlight></codeline> <codeline lineno="67"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1ae708fa84d19a72e77185b3a214e81573" kindref="member">sendByte</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref>);</highlight></codeline> <codeline lineno="68"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1ae266cdb34b69c65cfc108bbc72a4e3ff" kindref="member">getByte</ref>();</highlight></codeline> <codeline lineno="69"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a4b5fded251628524148377601d44377a" kindref="member">fdcRw</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>block,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*blockBuffer,</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="gen__calls_8h_1a5eff3a25d417fafce7c4f211db219ca2" kindref="member">read</ref>,</highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>numSectors);</highlight></codeline> <codeline lineno="70"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1aa0f8325f93de9409e403e620f914e69f" kindref="member">block2Hts</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>block,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*head,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*track,</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>*sector);</highlight></codeline> <codeline lineno="71"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a94483feb4903fca9643813faae8a76ee" kindref="member">motorOn</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="72"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a044fc0dea0fb35e6fab7f3c0badea2c9" kindref="member">motorOff</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="73"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a5886a896e5f0361f36b40d007db6e683" kindref="member">seek</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>track);</highlight></codeline> <codeline lineno="74"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1af5b6e5123d27381ca120b7b4fea7b242" kindref="member">waitFdc</ref>(</highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>sensei);</highlight></codeline> <codeline lineno="75"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1ae266cdb34b69c65cfc108bbc72a4e3ff" kindref="member">getByte</ref>();</highlight></codeline> <codeline lineno="76"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1ae708fa84d19a72e77185b3a214e81573" kindref="member">sendByte</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/><ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref>);</highlight></codeline> <codeline lineno="77"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a2a16ea9e09b5f3dc2a559351afdc75f3" kindref="member">recalibrate</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="78"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a3aea9deb2a0bfea9ff05a898f4822e31" kindref="member">reset</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="79"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1aebbcd7bc8695e888491b97b5bf27bd9c" kindref="member">writeBlock</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>block,<ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref><sp/>*blockBuffer,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>numSectors);</highlight></codeline> <codeline lineno="80"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1aa03242a5e44c4f2d10e15d296aca8c6b" kindref="member">readBlock</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>block,<ref refid="objgfx30_8h_1a7e31ca7716b8d85dd473450a5c5e5a97" kindref="member">Int8</ref><sp/>*blockBuffer,<sp/></highlight><highlight class="keywordtype">unsigned</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">long</highlight><highlight class="normal"><sp/>numSectors);</highlight></codeline> <codeline lineno="81"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1a53a979dbcd632f57a4b004f66332f981" kindref="member">fdcWrite</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*info,</highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*,<ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/>startSector,<ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/>sectorCount);</highlight></codeline> <codeline lineno="82"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="fdc_8h_1afbac0e2409458a8fda9ff689ecd31de9" kindref="member">fdcRead</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*info,</highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*,<ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/>startSector,<ref refid="objgfx30_8h_1ada085051a6d9a8e00a2cb256d1af14ba" kindref="member">uInt32</ref><sp/>sectorCount);</highlight></codeline> <codeline lineno="83"><highlight class="normal"></highlight></codeline> <codeline lineno="84"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85"><highlight class="normal"></highlight></codeline> <codeline lineno="86"><highlight class="normal"></highlight><highlight class="comment">/***</highlight></codeline> <codeline lineno="87"><highlight class="comment"><sp/>$Log:<sp/>fdc.h,v<sp/>$</highlight></codeline> <codeline lineno="88"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2006/06/01<sp/>12:46:14<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="89"><highlight class="comment"><sp/>ubix2</highlight></codeline> <codeline lineno="90"><highlight class="comment"></highlight></codeline> <codeline lineno="91"><highlight class="comment"><sp/>Revision<sp/>1.2<sp/><sp/>2005/10/12<sp/>00:13:36<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="92"><highlight class="comment"><sp/>Removed</highlight></codeline> <codeline lineno="93"><highlight class="comment"></highlight></codeline> <codeline lineno="94"><highlight class="comment"><sp/>Revision<sp/>1.1.1.1<sp/><sp/>2005/09/26<sp/>17:23:39<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="95"><highlight class="comment"><sp/>no<sp/>message</highlight></codeline> <codeline lineno="96"><highlight class="comment"></highlight></codeline> <codeline lineno="97"><highlight class="comment"><sp/>Revision<sp/>1.6<sp/><sp/>2004/07/17<sp/>02:38:31<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="98"><highlight class="comment"><sp/>Fixed<sp/>a<sp/>few<sp/>problems</highlight></codeline> <codeline lineno="99"><highlight class="comment"></highlight></codeline> <codeline lineno="100"><highlight class="comment"><sp/>Revision<sp/>1.5<sp/><sp/>2004/07/14<sp/>12:42:46<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="101"><highlight class="comment"><sp/>fdc:<sp/>fdcInit<sp/>to<sp/>fdc_init</highlight></codeline> <codeline lineno="102"><highlight class="comment"><sp/>Changed<sp/>Startup<sp/>Routines</highlight></codeline> <codeline lineno="103"><highlight class="comment"></highlight></codeline> <codeline lineno="104"><highlight class="comment"><sp/>Revision<sp/>1.4<sp/><sp/>2004/05/21<sp/>14:57:16<sp/><sp/>reddawg</highlight></codeline> <codeline lineno="105"><highlight class="comment"><sp/>Cleaned<sp/>up</highlight></codeline> <codeline lineno="106"><highlight class="comment"></highlight></codeline> <codeline lineno="107"><highlight class="comment"><sp/>END</highlight></codeline> <codeline lineno="108"><highlight class="comment"><sp/>***/</highlight><highlight class="normal"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/isa/fdc.h"/> </compounddef> </doxygen>