INCBIN <filename>[,offset[,length]]
To include a binary file into the outputfile. The offset and length are optional.
Example 5.23.
INCBIN "gfx.scc",7 ; include gfx.scc, skip first 7 bytes
INCBIN "rantab.com",3,256 ; include 256 bytes from offset 3
INCBIN gfx.scc ,7 ; note the space between the filename and the ',7' here
INCHOB <filename>[,offset[,length]]
To include a data from a hobeta file into the outputfile. The offset and length are optional.
Example 5.24.
INCHOB "gfx.$c",7 ; include gfx.scc, skip first 7 bytes
INCHOB "sprs.$c",3,256 ; include 256 bytes from offset 3
INCHOB gfx.$c ,7 ; note the space between the filename and the ',7' here
INCLUDE <filename>
To include another sourcefile into the current. Sourcefiles can be nested 20 levels deep. If the file cannot be found in the current directory (the current directory is the directory the current file comes from) the file will be searched for in the directories specified at the commandline. When angle brackets are used, the commandline directories are searched before the current directory.
Example 5.25.
INCLUDE <VDP.I>
INCLUDE MORE.I
INCLUDE "MORE.I"
INCLUDELUA <filename>
To include another LUA script in first pass(!). If the file cannot be found in the current directory (the current directory is the directory the current file comes from) the file will be searched for in the directories specified at the commandline. When angle brackets are used, the commandline directories are searched before the current directory.
Example 5.26.
INCLUDELUA <mylibrary1.lua>
INCLUDELUA mylibrary2.lua
INCLUDELUA "library_for_zx.lua"
INCTRD <filenameoftrdimage>,<filenameintrdimage>[,offset[,length]]
To include a file from a TRD image into the outputfile. The offset and length are optional.
Example 5.27.
INCTRD "test.trd","mygfx.C" ; include mygfx.C from test.trd
INCTRD "test.trd","mygfx.C",12 ; include mygfx.C from test.trd, skip first 12 bytes
INSERT <filename>[,offset[,length]]
INSERT is a synonym of INCBIN. See above.