I would like to code out a (Music) Tracker for the QL. So Ill make a program that allows the user to define instruments by settings its parameters in the Tracker, and then subsequently arrange these instruments in a sequence that can be played back. The end result would be something that can be played back in another program (Demo, anyone

In order to be most useful, I would like to implement loading instruments/patterns/songs and saving them. But so far Ive only worked on single-file programs, that are loaded and run from basic, and then executed; rather than touching filemanagement at all.
The goal Im trying to achieve here is to support (creating/)saving and loading files to/from (micro)disk.
To do this, I have several questions;
- generic: is there anyone that cna point me towards resources as to how to do this from Assembly?
and more detailed:
- can create/loading/saving Basic/OS functions be called from ASM?
- can this be done while in supervisor mode?
- can this be done while having interrupts disabled?
Hopefully someone is able to provide me some pointers!
Thanks!
Wietze