work with files under sedoric

work with files under sedoric

Post by gnori » Fri, 23 Sep 2005 19:09:18


As far as I understand, in sedoric there is no folders, only files in
one folder.

Could you please paste here some examples how can I work with files
under sedoric.
I mean how can I create file, delete file, make dir listing, write to
file, read from file, check is EOF or not.

All example I need in assembler.

Thanks to all


work with files under sedoric

Post by Twilight » Mon, 26 Sep 2005 11:56:50

The main reason why you get no response to this question is because you ask
for assembler replies...

It has been the bane of Oricians lives, that the D/D is a difficult baby to
deal with in assembler.

Symoon has done work on using Assembler to directly call Sedoric commands,
as have I but to just quickly send you examples is not so easy.
Their are offcourse other ways to accomplish disc access, such as keep the
basic interpreter running whilst dumping the command you want into the input
buffer. This technique was often used on the C64 to load files on bootup
However, the problem is that you'll need to reserve all that *** space that
basic interpreter uses.

Another way is simply to return to basic and do the disc accesses in basic
code. I have usually done this when writing quick apps.

The other way is to use machine code specific to reading and writing to
sectors on the floppy. Fabrice, and Jede have accomplished this but it
requires a working knowledge of the low level architecture of the Oric D/D
and Disc itself.

When i get time (As if i get time thesedays!) i'll upload a link to
something more substantial than just words. ;)



work with files under sedoric

Post by Steve Mars » Tue, 27 Sep 2005 11:22:32

"Twilighte" < XXXX@XXXXX.COM > wrote


I seem to recall Alan Whitakker doing something with Sedoric when Geffers
book was printed in OUM. (The first bit anyway). There were some different
DOS examples given, but it might have been done under BASIC. I'll need to
have a look.

Steve M