[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOS 3.3 ASM load/save file?



Lyrical Nanoha <LyricalNanoha@dosius.net> writes:
> Let's say I have a start-of-file and end-of-file address (but not a
> size-of-file), and want to save the file using type S, or I want to
> read the file at the start address and set the end address.  Something
> like a BASIC program. (In fact it is BASIC, just not FP or INT.)  I'm
> using CA65.
> 
> How would you do this?

It would require a few calls to the DOS "File Manager".  Apple never
documented it, but the book "Beneath Apple DOS" will tell you everything
you need to know.