10.14. Intermediate segments

When segments are used in other directives than the .segment and .segmentdef directive its often done using an intermediate segment. Memory blocks are passed on through an implicit created segment which gives you a lot of the functionality explained in this chapter simply by using the same parameters.

E.g. This means that you can use the file directive like this:

.file [name="myfile.prg", segments="Code,Data", sidFiles="music.sid"]

The only parameter that is special for the file directive is 'name'. The rest is standard parameters for directives using intermediate segments. For a complete list of intermediate parameters see the 'List of segment parameters' section placed last in this chapter.