In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "LibELM"

From WiiBrew
Jump to navigation Jump to search
(Added important note about µSync.)
(Updated to 1.3x)
Line 4: Line 4:
 
| type        = library
 
| type        = library
 
| author      = [[User:SquidMan|SquidMan]], yellow.wood.goblin, Normmatt
 
| author      = [[User:SquidMan|SquidMan]], yellow.wood.goblin, Normmatt
| version    = 1.3
+
| version    = 1.3x
 
| download    = http://github.com/SquidMan/libelm
 
| download    = http://github.com/SquidMan/libelm
 
| source      = http://github.com/SquidMan/libelm
 
| source      = http://github.com/SquidMan/libelm
Line 11: Line 11:
  
 
== Important Notices ==
 
== Important Notices ==
 +
* 1.3x is out. Fixes tons of fatal flaws in 1.3. Get the latest [[uSync|µSync]] with it, it has important bugfixes too.
 
* LibELM v1.3 is out! After a long long time of waiting, I can now proudly say that '''LibELM''' is superior to [[libFAT]] in every way! File accesses have changed to libFAT style (sd:/, usb:/, gca:/, and gcb:/). Cache, as well as a few other fixes, were added to v1.3 by yellow.wood.goblin, giving it speeds greater than libFat. DS support is in the works (supposedly, the DS code in there at the moment works on the AKRPG, but I have not tested the code, nor even checked to see if it compiles.) DLDI code is to be contributed by Normmatt.
 
* LibELM v1.3 is out! After a long long time of waiting, I can now proudly say that '''LibELM''' is superior to [[libFAT]] in every way! File accesses have changed to libFAT style (sd:/, usb:/, gca:/, and gcb:/). Cache, as well as a few other fixes, were added to v1.3 by yellow.wood.goblin, giving it speeds greater than libFat. DS support is in the works (supposedly, the DS code in there at the moment works on the AKRPG, but I have not tested the code, nor even checked to see if it compiles.) DLDI code is to be contributed by Normmatt.
  
Line 27: Line 28:
  
 
== Revision History ==
 
== Revision History ==
 +
=== 1.3x ===
 +
* Fixed a few fatal flaws that rendered 1.3 unusable.
 +
* Requires the newest version of [[uSync|µSync]].
 +
 
=== 1.3 True Final ===
 
=== 1.3 True Final ===
 
* Reentrancy support using [[uSync|µSync]].
 
* Reentrancy support using [[uSync|µSync]].

Revision as of 10:28, 2 November 2009

LibELM
General
Author(s)SquidMan, yellow.wood.goblin, Normmatt
TypeLibrary
Version1.3x
Links
Download
Website
Source

Important Notices

  • 1.3x is out. Fixes tons of fatal flaws in 1.3. Get the latest µSync with it, it has important bugfixes too.
  • LibELM v1.3 is out! After a long long time of waiting, I can now proudly say that LibELM is superior to libFAT in every way! File accesses have changed to libFAT style (sd:/, usb:/, gca:/, and gcb:/). Cache, as well as a few other fixes, were added to v1.3 by yellow.wood.goblin, giving it speeds greater than libFat. DS support is in the works (supposedly, the DS code in there at the moment works on the AKRPG, but I have not tested the code, nor even checked to see if it compiles.) DLDI code is to be contributed by Normmatt.

LibELM

LibELM is a FAT driver, like libFAT. However, LibELM is based on the amazing ELM FatFs driver by ChaN. LibELM has a devoptab so you can use stdio functions (fopen, fread, etc.)! Directories and LFN filenames are supported! Completely usable for everything! 1.3 is the True Final release, if there are any bugs, please report them on the talk page, and I will fix them A.S.A.P.

LibELM is Wii only at the moment, and supports SD card, USB stick, and should support SDGecko, but SDGecko has not been tested. DS support is coming soon.

In order to use LibELM, you must also have µSync linking with your project (unless you disable reentrancy). You must also call uSyncInit() before using LibELM!

For software using LibELM, go to Category:Homebrew using libELM

The original ELM FatFs page is here: http://elm-chan.org/fsw/ff/00index_e.html

Revision History

1.3x

  • Fixed a few fatal flaws that rendered 1.3 unusable.
  • Requires the newest version of µSync.

1.3 True Final

  • Reentrancy support using µSync.
  • Fixed directory listing.
  • Cache for increased speeds.
  • Changed drive names. libFAT styled now (sd:/, usb:/, gca:/, and gcb:/)
  • Cleaner code.
  • Start of DS code.
  • Updated demo to take advantage of new features.

1.2 Final

  • Complete devoptab. (File functions, directory functions, old error reporting style in addition to errno)
  • Better error handling.
  • Cleaner code.
  • Fixed memory leak.

1.1

  • Partial devoptab. (File functions, no directory functions, fail error reporting.)
  • Changed a few functions to assist in devoptab and for other help.

1.0

  • Initial release.
  • No devoptab.
  • SD Card, USB Drive, and SDGecko Support.