IL2CPU
IL2CPU copied to clipboard
Use NASM incbin for embedded resources
Actually IL2CPU is opening the file and creating an hexdup of it and then uses the X# instruction 'db' to include it in the assembler file, sadly this does work when the file becomes too much big (for example 200 KB) as NASM doesn't compile anymore.
A possible solution to this is to use the NASM directive incbin instead for these cases.
See here for one example: http://forum.codecall.net/topic/65317-assembly-file-io-and-incbin-win32-nasm/