help me

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
g_harl

help me

Post by g_harl »

Hello as i understand you can only run .com files on your start up how can i change this so it will run exe's

thanks in advance

G_HARL 8)
gtsphere

Re:help me

Post by gtsphere »

i think you might need to be a little more specific of "your start up".
Ozguxxx

Re:help me

Post by Ozguxxx »

Hi im not 100% sure but what you need is an exe loader. coms are pure binary files so it is no problem to simply read them into memory and then execute them but exes have some specifications I think you can write your own loader that appropriately reads exe files, it should not be very hard, right? Read some docs, inspire from other srcs ;D, writ your own one... Hope this helps, good luck...
gtsphere

Re:help me

Post by gtsphere »

if thats what you mean, then if you are trying to load windows EXE's look at the program PEDUMP. IT will dump the exe into sections that might help you write a loader for windows exes. If your own programs are exes and not based on windows then, you can make it whatever you want, I would think. Meaning, if its your own OS then you could make then .lop or whatever and as long as your loader is able to 'decode' them into binary, all should be well.

-GT
Post Reply