AMOS:Bug Bank length

From Amiga Coding
Jump to: navigation, search

Banks which are loaded or created with Reserve As Data or Reserve As Chip Data are saved with your AMOS sourcecode. The =length command will return the length of these banks.


When you compile the banks are also added to the executable. However they are padding to have an even length. This isn't mentioned in the documentation and gives problems when =length is used in your program to read/write a certain position in your memorybank.


Tested with


Credits

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox