Thread: Noob Questions
View Single Post
Old 19 January 2006, 13:07   #7
move.l #$c0ff33,throat

StingRay's Avatar
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,661
Originally Posted by Codetapper
This method will not work with a lot of files, as they are split into various hunks and need to be relocated correctly. As an example, a file might be 200 bytes long consisting of 3 hunks, a piece of code, a BSS section of 200kb then another small piece of code. If you just allocate 200 bytes and read the file in, kaboom...
True, I thought he was speaking about files with one hunk only.
StingRay is offline  
Page generated in 0.08257 seconds with 11 queries