File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1212// see the license for the specific language governing permissions and
1313// limitations under the license.
1414
15- /// Routines for access the FileHost
15+ //! Routines for access the MEGA65 FileHost
1616
1717use anyhow:: Result ;
1818use serde:: { Deserialize , Serialize } ;
Original file line number Diff line number Diff line change 1212// see the license for the specific language governing permissions and
1313// limitations under the license.
1414
15- /// Routines related to file/url/terminal I/O
15+ //! Routines related to file/url/terminal I/O
1616
1717use cbm:: disk;
1818use cbm:: disk:: file:: FileOps ;
@@ -91,7 +91,7 @@ pub fn cbm_open(diskimage: &str) -> Result<Box<dyn cbm::disk::Disk>> {
9191 }
9292}
9393
94- /// Load n'th file ffrom CBM disk image and return load address and bytes
94+ /// Load n'th file from CBM disk image and return load address and bytes
9595pub fn cbm_load_file ( disk : & dyn cbm:: disk:: Disk , index : usize ) -> Result < ( u16 , Vec < u8 > ) > {
9696 let dir = disk. directory ( ) ?;
9797 let entry = dir. get ( index)
Original file line number Diff line number Diff line change 1212// see the license for the specific language governing permissions and
1313// limitations under the license.
1414
15- /// Matrix65 serial communicator library
16- ///
17- /// This contains basic features for serial communication with the
18- /// MEGA65. Auxiliary functions for IO and access the filehost are
19- /// also included.
15+ //! Matrix65 serial communicator library
16+ //!
17+ //! This contains basic features for serial communication with the
18+ //! MEGA65. Auxiliary functions for IO and access the filehost are
19+ //! also included.
2020
2121pub mod serial;
22+
2223pub mod io;
2324pub mod filehost;
Original file line number Diff line number Diff line change 1212// see the license for the specific language governing permissions and
1313// limitations under the license.
1414
15+ //! Serial routines for comminicating with MEGA65
16+
1517use super :: io;
1618use hex:: FromHex ;
1719use log:: { debug, info} ;
You can’t perform that action at this time.
0 commit comments