Hi again! >> First one is related to com files. It seems that XE doesn't move the code >> back at the right place, thus making some programs unable to access PSP, >> which is supposed to be right before them. >will u send me the sample files which demo this problem >(orig.,not packed executable) >is it occurred only if com<32k,com>32k,exe,or all? Sorry, it has nothing to do with code moving, I've debuged it and I've found there it is a bug causing the bytes 2nd and 3rd to be incorrectly encoded (from 93h,5h to 94h,6h) (don't know if any other bit is bad encoded too). It's a very small COM, I haven't tested com>32k, and 16 bit exes seems to work. I'm sending it attached. It's called TXT106.COM ----------------- BTW: What the hell does things like this mean?: mov bx,7114h jmp bx (instead of just jmp 7114h) 7114h: call depack ret depack: [...] (instead of depack: [...] and jumping to program with depack's ret) Aren't you optimizing on space? (I haven't seen all the code, maybe there's a reason, but just can't imagine it ;-) ----------------- >> programs DOS4GW.EXE-independent? If that's the case, your emulation is >>not perfect, because it screws the colors of the program I've tested >plz send me this sample file which demo this problem,too,thx:) Ok, but I advise you: this is big. Here it comes too... >> using DOS32/A instead of DOS4GW does). But worst part is: after exiting >>that program, the system becomes unestable, and resets when I try to >>execute another 32 bit program (even XE!). >well,xe,itself is using another extendr:"zrdx" >i dun know if it will be conflict with qemm8 >(becoz i never use qemm:p..) I've done some test with various configurations. There's no problem with -S option, but default (using PMODE), tested with my 5 configurations, gives the following: 1- defa: QEMM > Executes (color screwed) and system unstable at exit (Trap handled by QEMM when trying to execute any 32 bit program, reboot) 2- free: (Nothing) > Executes (color screwed) and system ok at exit 3- hime: HIMEM > Hangs with blank screen, needs reset 4- prog: QEMM > (same results as 1) 5- swat: HIMEM + SWAT386 > Executes (color screwed) and system ok at exit I'm also sending my CONFIG.SYS and AUTOEXEC.BAT files, in case they help Therefore I think -S should be the default, because it's more compatible and smaller. BTW: I'm sending it ARJed, but if you prefer, I'll send stuff compressed with a better one next time (if any), e.g. UHARC, ACE, etc... -- METALBRAIN email: metalb@www.esi.us.es - http: www.esi.us.es/~metalb