From: Frank K. <fbk...@zy...> - 2009-07-15 09:52:33
|
zak100 wrote: > I have also created a stack but its not detected by the linker. Well, your loader doesn't pay any attention to where Alink would say the stack was, anyway. You may be better off to "let the OS take care of the stack" like we do in real OSen. You set up a stack in your bootsector - not very big but it should do for now. Easily made bigger. Since I haven't got exe2bin on Linux, I tried loading the MZ executable that Alink produces. This is very rudimentary - won't load a very complicated MZ file. I've been ignoring the warning about "no stack" - I'm afraid even adding a stack will complicate the MZ too much for this feeble effort, so no stack (I use yours), and no "data" segment declared - everything's in "segment code". "build" won't work for you, of course... Slow going. I'm tired. I don't even know if I can attach a file to this list. Try it. Later, Frank |