View Single Post
  #99    
Old May 10th, 2011, 03:12 PM
ShadowMrk's Avatar
ShadowMrk
The Ghost
 
Join Date: Jul 2010
Location: In a box...that has internet
Age: 18
Gender: Male
Nature: Gentle
Quote:
Originally Posted by gamesharkhacker View Post
Does anybody know how to insert a file that has been opened with the program into a rom that has been also opened with the program using WriteHEX? Is it possible?
If not, is there any other ways of doing it? Can you please get back to me soon on this as this is the only thing keeping me back from releasing my program.

Thanks, GSH.
Sounds like that is a major part of your program. Anyways, just use a For...Next loop to store the bytes from the source file and then use the writehex function in another For...Next loop to insert the bytes into the target file making sure to use a base address and using your counter variable as an offset of the base address.
Reply With Quote