Re: [Freedos-user] Customizing Startup Files
Well, I tought you only want to specify stacks if the program you are loading doesnt have a stack segment of it own. Arkady V.Belousov wrote: No so. When dealing many years with stacks=0,0, I found only only AT386 refurbished machine, which hangs with this setting at loading Win3.1. All other machines and times this statement was fine. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Customizing Startup Files
Hi! chris evans wrote: Well, I tought you only want to specify stacks if the program you are loading doesnt have a stack segment of it own. _All_ programs have own segment and there is not possible to not have own segment. stacks= statement controls only internal DOS stacks, which it uses for its own purposes. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Config.sys: FCBS Country Commands
Thanks, everyone, for your help (re: Customizing Startup Files). Two more questions. 1) What is FCBS=1 2) Were can you find country codes? FILES=40 BREAK=ON STACKS=9,256 LASTDRIVE=Z BUFFERS=16,0 NUMLOCK=OFF FCBS=1 COUNTRY= DOS=HIGH,UMB DOSDATA=UMB Lester --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] (fwd) FDXMS Sources.
On Wed, 10 May 2006, Johnson Lam wrote: Quote a few lines from his email: = I did not model QHIMEM after Microsoft HIMEM V2.03, like you know. QHIMEM's source or binary files are very different from V2.03 HIMEM. Disassemblies may only confuse folks. But they are welcome to try. = Hey, I always like a challenge, so if I was welcome to try, I disassembled a bit. Some observations: QHIMEM is indeed not modelled after MS HIMEM. You can see that the MS source has been referenced, e.g. in the algorithm for allocating an EMB (very similar) and how to decide when to use PS/2 A20 switching (the MCA bit for int15/ah=c0). It certainly doesn't have a clean-room feel (purely coded from XMS spec), but that may not be necessary. Just like FD-HIMEM and FDXMS it either uses INT15/AH=87, or temporarily switches to protected mode (almost the same GDT setup) to copy. However, and that is what the interrupt stuff is all about, it copies in chunks of 8K: for every 8K it returns to real mode, STI's, CLI's and gets back into protected mode. QHIMEM, unlike MS-HIMEM, does not use flat real mode (aka unreal mode). I'm not sure where Jack got the 8K from -- maybe the timing on the slowest possible machine (386SX 16MHz) has something to do with it. The value for int15/87 is 1K, where FD-HIMEM and FDXMS use 8K chunks. QHIMEM uses a few tricks to save memory, e.g.: * the KBD A20 switching code is overwritten with PS/2 A20 switching code when necessary * eax is initialized to 0 and is exploited that way (saves 1-3 bytes in various asm instructions, versus an immediate 0 operand) * comparisons versus number of handles are patched in the code to save on an extra variable in the data segment * the XMS spec requires that In order to maintain compatibility with existing device drivers, DOS XMS drivers must not hook INT 15h until the first non-Version Number call to the control function is made. the hook int15 code + various other delayed init code is copied to (hardcoded) segment 0x7030, and called from there so it does not stay resident. This is somewhat risky: it relies on the fact that the DOS kernel does not overwrite anything there, and will make XMS calls itself. That usually happens, or QHIMEM would crash. Segment 7030 is also used for communication between QHMBOOT and QHIMEM. That's the gist of it, at least from my mileage. Bart --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Config.sys: FCBS Country Commands
Hi! Lester Vedrox wrote: 1) What is FCBS=1 FCB is an old way to access files (though, in some cases it used up to now). FCBS=1 statement in MS-DOS reduces memory, allocated for FCBs, to one. In FreeDOS this statement shouldn't have effect, because FCBs there shared with file handles. 2) Were can you find country codes? You should know country code of your country. For USA this is 1 and codepage 437. In Russia I use country=7 (and codepage 866 here assumed). If you mean, that I insert into my _example_ mention to country= whereas you not have this statement - which problems? Just remove this statement, if it not need for you. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Kernel question
Hi! Michael McStarfighter wrote: I want to know if the original FreeDOS kernel is 16bit or 32bit. It always have 16-bit interface, notwithstanding if internally it contains only 16-bit code or some code optimized as 32-bit. I ask it because I coincidentally found the website http://freedos-32.sourceforge.net/ and I want to use 32bit tools in FreeDOS, too (perhaps). This is another, separate project, which concerns in making DOS really 32-bit. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Not to flame but let others know ...
Hi! Johnson Lam wrote: Forward an email from Jack, hoping everyone can understand what's = Re: his comments to you that FD-HIMEM has completed development, I have noted not 1 but 4 ERRORS in FD-HIMEM![... Text deleted ...] I not seen anywhere mentions and descriptions for these errors. Nor will QDMA, QCDROM, and now QHIMEM ever be part of FreeDOS, after other TRASH involving the word stupid directed at me on FD-Devel 2 months ago, Be more indulgent to other peoples, especially because sometime they may wrongly select words for expressing their thoughts! and Jim Hall's refusal to delete XDMA/XCDROM on IBiblio! Hall's twisted view of the GNU Open-Source license makes him think he need NOT. He is right - one of ideas of _free_ soft (expressed in GPL, BSD and other licenses) is a freedom to distribute free software... I felt the GNU was NOT intended to limit my rights as their AUTHOR, so XDMA/XCDROM were gone in 24 hours! ...and, AFAIK, GPL license can't be revoked. You may just use dual-licensing for those, who not wish to use your program under GPL license. QDMA/QCDROM now have no GNU or sources, as Hall ALSO made an issue of sources! This is bad. :( So, pardon me if I LAUGH at Mr. DeVore's comments about QHIMEM being in any sort of memory manager race! He right. I simply wanted a better XMS driver, and I wrote my own, whether OR NOT anybody in Illinois or in Germany gave me their bloody permission! Nobody prevents you from this. But you should know, that you spray the power - instead enhancing existing ones, you create other version, which may have own advantages, but have own drawbacks. The more worse, your work isn't open sourced, so, if by some reason you lost interest in your program, no one will/may continue its development. Big loss of powers. :( And, please, be more polite - you may not like some countries, but don't spread your hate to all peoples in them (and vice versa). --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Customizing Startup Files
That is true, ss:sp will always be set to some address. I seen programs that don't initialize SS:SP at start. In that case one would think that would default to whatever was set prior to it being run (i.e. Dos stack). Even though the linker will emit a warning 'No Stack'. if the program doesn't need it then that will be normal, abeit will have to be careful. --chris _All_ programs have own segment and there is not possible to not have own segment. stacks= statement controls only internal DOS stacks, which it uses for its own purposes. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Customizing Startup Files
Hi! chris evans wrote: That is true, ss:sp will always be set to some address. I seen programs that don't initialize SS:SP at start. All programs, compiled by OpenWatcom in non-tiny memory model are such. In that case one would think that would default to whatever was set prior to it being run (i.e. Dos stack). Wrong think. For .com programs, SS points to PSP, SP equal to 0xFFFE (or less, if there is less than 64k of free memory to run program - for example, in UMB). For .exe files, +SS:SP always specified in header - this is why program doesn't not need to change SS:SP after start explicitly, this may be performed by linker (if stack size and placement if fixed inside program image). DOS stacks are irrelevant there. Even though the linker will emit a warning 'No Stack'. This warning only means, that linker doesn't found in object files explicit segment with STACK attribute. Then for .exe program it inserts its own, default segment (512 bytes in size, AFAIR). if the program doesn't need it then that will be normal, abeit will have to be careful. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Sorry Jack, but you need to examine
On Thu, 18 May 2006 23:59:20 +1200 (NZST), you wrote: Jack, I'm afraid Bart may interpret your idea wrong, so let you check this. I'll try to respond with low profile. Quote a few lines from his email: = I did not model QHIMEM after Microsoft HIMEM V2.03, like you know. QHIMEM's source or binary files are very different from V2.03 HIMEM. Disassemblies may only confuse folks. But they are welcome to try. = Hey, I always like a challenge, so if I was welcome to try, I disassembled a bit. Some observations: QHIMEM is indeed not modelled after MS HIMEM. You can see that the MS source has been referenced, e.g. in the algorithm for allocating an EMB (very similar) and how to decide when to use PS/2 A20 switching (the MCA bit for int15/ah=c0). It certainly doesn't have a clean-room feel (purely coded from XMS spec), but that may not be necessary. Just like FD-HIMEM and FDXMS it either uses INT15/AH=87, or temporarily switches to protected mode (almost the same GDT setup) to copy. However, and that is what the interrupt stuff is all about, it copies in chunks of 8K: for every 8K it returns to real mode, STI's, CLI's and gets back into protected mode. QHIMEM, unlike MS-HIMEM, does not use flat real mode (aka unreal mode). I'm not sure where Jack got the 8K from -- maybe the timing on the slowest possible machine (386SX 16MHz) has something to do with it. The value for int15/87 is 1K, where FD-HIMEM and FDXMS use 8K chunks. QHIMEM uses a few tricks to save memory, e.g.: * the KBD A20 switching code is overwritten with PS/2 A20 switching code when necessary * eax is initialized to 0 and is exploited that way (saves 1-3 bytes in various asm instructions, versus an immediate 0 operand) * comparisons versus number of handles are patched in the code to save on an extra variable in the data segment * the XMS spec requires that In order to maintain compatibility with existing device drivers, DOS XMS drivers must not hook INT 15h until the first non-Version Number call to the control function is made. the hook int15 code + various other delayed init code is copied to (hardcoded) segment 0x7030, and called from there so it does not stay resident. This is somewhat risky: it relies on the fact that the DOS kernel does not overwrite anything there, and will make XMS calls itself. That usually happens, or QHIMEM would crash. Segment 7030 is also used for communication between QHMBOOT and QHIMEM. That's the gist of it, at least from my mileage. Bart Rgds, Johnson. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Sorry for sending to wrong destination
Hi, I've sick for too long, so I did send the last message to the list (it's for Jack), I'm sorry for my mistake. I'm trying hard to keep the Q series of driver for everyone, to benefit all the people on the earth. I respect Bart's effort trying to disassemble it, and found clues to let others improve. I wish the clock can tick back to 1 years ago, when the source is still available, then someone like Bart can help Jack to improve the drivers. Rgds, Johnson. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Re: Sorry Jack, but you need to examine
On Fri, 19 May 2006 03:48:21 +0200 (MEST), you wrote: Eric, as Jack did not want to reveal WHY qhimem is, in his opinion, better than freedos himem, Bart HAD to disassemble qhimem to TRY to find out about the things which Jack did not want to reveal. Of course it is Sincerly I beg you not to upset Jack anymore, otherwise everyone will have no more QHIMEM/QDMA/QCDROM to use. very easy to misunderstand things in a disassembly, so the better way would have been if Jack had told about the technical details of qhimem. In either case, you can be sure that Bart TRIED to understand qhimem right :-)). I just want Jack to check if Bart's assume is correct or not. If Jack allow me to correct the mistake. I believe this can benefit everyone. It's good Bart disassemble it, it shed some light to know Jack's coding philosophy. What I do not understand is: Why did you email the list? After I'm sick for a week, my brain devolve and did a lot of mistake. It looks like you wanted to mail Jack, not the list... I'm not 100% recovered. Rgds, Johnson. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Re: Sorry Jack, but you need to examine
I think it's more Jack's interpretation of Eric, not Eric himself. On 5/18/06, Johnson Lam [EMAIL PROTECTED] wrote: On Fri, 19 May 2006 03:48:21 +0200 (MEST), you wrote: Eric, as Jack did not want to reveal WHY qhimem is, in his opinion, better than freedos himem, Bart HAD to disassemble qhimem to TRY to find out about the things which Jack did not want to reveal. Of course it is Sincerly I beg you not to upset Jack anymore, otherwise everyone will have no more QHIMEM/QDMA/QCDROM to use. very easy to misunderstand things in a disassembly, so the better way would have been if Jack had told about the technical details of qhimem. In either case, you can be sure that Bart TRIED to understand qhimem right :-)). I just want Jack to check if Bart's assume is correct or not. If Jack allow me to correct the mistake. I believe this can benefit everyone. It's good Bart disassemble it, it shed some light to know Jack's coding philosophy. What I do not understand is: Why did you email the list? After I'm sick for a week, my brain devolve and did a lot of mistake. It looks like you wanted to mail Jack, not the list... I'm not 100% recovered. Rgds, Johnson. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user -- Fall is my favorite season in Los Angeles, watching the birds change color and fall from the trees. David Letterman (1947 - ) See ya --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user