diff --git a/doc/asm/incbin.htm b/doc/asm/incbin.htm index e5264134..9f2c4e53 100644 --- a/doc/asm/incbin.htm +++ b/doc/asm/incbin.htm @@ -23,6 +23,18 @@ INCBIN "sprites\\hero.bin" +

You can also include only part of a file with INCBIN. The example below includes 256 bytes from data.bin starting from position 78.
+ +
+ + + + +
+
INCBIN    "data.bin",78,256
+
+ +

See also: