| View previous topic :: View next topic |
| Author |
Message |
tjd
Joined: 27 May 2004 Posts: 23 Location: Austin, TX
|
Posted: Thu Jun 03, 2004 4:38 am Post subject: MC madness |
|
|
Is it just me, or do others get wierd results sometimes when reading (::read, ::fioRead etc.) from files on a MC. The opens always seem to work, but some files just return 0 bytes on a read (although the directory has the correct length).
I'm using MCMAN if that makes any difference... |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Thu Jun 03, 2004 5:02 am Post subject: |
|
|
Maybe you should try XMCMAN. I noticed a few differences between the two, which are quite significant. For example, one can open files using MCMAN which filename contains "\", whereas you can't using XMCMAN. _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Thu Jun 03, 2004 6:26 am Post subject: |
|
|
I haven't really noticed it so much, but supposedly fio is a bit flakey. Have you tried using MCOpen, etc. ? _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
tjd
Joined: 27 May 2004 Posts: 23 Location: Austin, TX
|
Posted: Thu Jun 03, 2004 9:58 pm Post subject: |
|
|
Haven't used mcopen in this instance-- can't easily because of the nature of the code (higher layers don't know where the file may reside so they just issue an open...).
As for XMCMAN, where does one get one (the IRXs I mean). |
|
| Back to top |
|
 |
KaylaKaze
Joined: 05 May 2004 Posts: 75 Location: NC, USA
|
Posted: Thu Jun 03, 2004 11:17 pm Post subject: |
|
|
| personally, I like fio better because for some reason, when I have to write a few files consecutively, when I had a routine that used libmc the first file in the group was never closed, even though all necessary mcclose and mc sync calls were made. At least I think that was the problem. It was undeleteable until after reboot and had 0 filesize. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Fri Jun 04, 2004 4:13 am Post subject: |
|
|
| tjd wrote: |
As for XMCMAN, where does one get one (the IRXs I mean). |
SifLoadModule("rom0:XMCMAN", 0, NULL); _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
|