From 8fd364a1a632ab0845ec98539d17c0070152ce9d Mon Sep 17 00:00:00 2001 From: Anthony Bentley Date: Sat, 12 Sep 2009 18:53:03 -0600 Subject: [PATCH] document partial binary includes --- doc/asm/incbin.htm | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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: