I got an error trying to save another ebp(besides the one enter n, n instruction put in). I got the code here as well:
http://wolfshade.go.ro/test.rar
with BP and SP

with EBP and ESP

http://wolfshade.go.ro/test.rar
with BP and SP

with EBP and ESP

I'd advise you to dump DJGPP and get a win32 toolchain. You can still find vc2003 toolkit (although not at microsoft), or you can download their larger vc2005 express. Mingw32 is another option.
oh goody i discovered Iczelion's Tutorials, just what i needed hurray