Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NASM incbin for embedded resources #68

Closed
fanoI opened this issue Aug 23, 2018 · 1 comment
Closed

Use NASM incbin for embedded resources #68

fanoI opened this issue Aug 23, 2018 · 1 comment

Comments

@fanoI
Copy link
Contributor

fanoI commented Aug 23, 2018

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/

@fanoI fanoI changed the title Used NASM incbin for embedded resources Use NASM incbin for embedded resources Aug 23, 2018
@MishaTy
Copy link
Contributor

MishaTy commented Dec 19, 2022

Not really needed anymore

@MishaTy MishaTy closed this as completed Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants