BINGO! replacing --lzma with --best and everything is back to normal! however this is strange, as I have compiled quite a few kernels using --lzma. however this can wait to another day; case closed for me for now.
no, I don't see '123'. I should have watched for it as AFAIR I put it there myself ;) I attach the output of the build process. yes, UPX. I also don't remember seeing these EXEFLAT messages, but I can be wrong. of course if EXEFLAT doesn't work proper, this would look similar ;)
I attach the output of the build process. yes, UPX. I also don't remember seeing these EXEFLAT messages, but I can be wrong. of course if EXEFLAT doesn't work proper, this would look similar ;)
when comparing the .MAP files, I noticed that I had watcom 1.9 installed, while you used 2.0. so I installed the most recent windows watcom, but the result (non bootable) remained the same. by looking at the getFATblock code, I see that register calling conventions are used. could this be the difference? what os are you building from, Windows XP and what command are you using to build? windows cmd Did you make the disk bootable with sys built at same time or some other method? long time ago, I don't...
Hallo Herr Kenneth Davis, am Dienstag, 29. Juni 2021 um 15:46 schrieben Sie: I will have a look this afternoon. What version of Watcom are you using, when comparing the .MAP files, I noticed that I had watcom 1.9 installed, while you used 2.0. so I installed the most recent windows watcom, but the result (non bootable) remained the same. by looking at the getFATblock code, I see that register calling conventions are used. could this be the difference? what os are you building from, Windows XP and...
follow up: when I replace my kernel.sys with the kernel from https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/kernel/2043/ everything works fine. that's good. now I note that my fat32 kernel has a size of 44.489 byte, while the official is 46.485 byte. that's really strange as I have no options added or removed wrt the distribution. comparing the map files (official KWC.map to my kernel.map), I note size differences between almost all functions. a few bytes may or may be not expected,...
Kernel 2043 does not boot
in addition, when learning to code, learn to a) learn to use a debugger and also b) add some code "failed to create file with errorcode 17h" errorcodes are there for a reason.