Difference between revisions of "AMOSi:Frame Load"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(code now in codeblock)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
Loads one or more IFF frames straight into the Amiga's memory.<br />
 
Loads one or more IFF frames straight into the Amiga's memory.<br />
 +
<code><pre>
 +
frames=Frame Load(file TO bank/address,n)
 +
</pre></code>
  
  
frames=Frame Load(file TO bank/address,n)<br />
+
* file is the channel number of a currently open animation file. This MUST have previously been opened using the OPEN IN command.
 
+
* bank / address is either a bank number (1-65535) or a memory address.
 
+
* n chooses the number of animation frames which are to be loaded. If your request is greater than the total number of available frames, AMOS will automatically load all the images in the current file.
file is the channel number of a currently open animation file. This MUST have previously been opened using the OPEN IN command.
 
 
 
 
 
bank / address is either a bank number (1-65535) or a memory address.<br />
 
 
 
 
 
n chooses the number of animation frames which are to be loaded. If your request is greater than the total number of available frames, AMOS will automatically load all the images in the current file.
 

Latest revision as of 00:29, 3 February 2008

an example can be found on AMOSPro_Tutorial:Tutorials/Iff_Animation.AMOS


Loads one or more IFF frames straight into the Amiga's memory.

frames=Frame Load(file TO bank/address,n)


  • file is the channel number of a currently open animation file. This MUST have previously been opened using the OPEN IN command.
  • bank / address is either a bank number (1-65535) or a memory address.
  • n chooses the number of animation frames which are to be loaded. If your request is greater than the total number of available frames, AMOS will automatically load all the images in the current file.