Hi Joris, as far as I know, Blair now included mem 1.9a3 on the ISO...
> I just tested MEM.EXE 1.9a3 and it has the same issue as MEM 1.9a2. Yes. The cpu check should be fixed. Could you provide a patch or even a patched version? The maintainer seems to be missing in action. Mail me off-list if you need the 1.9a3 sources. > In fact I do not have a real XT; I discovered the bug on an emulator. Where can that be downloaded? > LBACACHE.COM version 19jun2005 is ok. > On my emulator, it says "This software needs at least an 80386 CPU" >> And how about emm386 and himem? > HIMEM (HIMEM64 3.23) crashes on "shl cx,4" even when invoked > as "himem /?". > Same problem with EMM386 2.23. Actually lots of 386 specific things happen before the CPU test is invoked... I guess the test can be either commented out or moved to the proper location. As people "ought to know" that they need a 386 for emm386, the former might be an option. Yet people will try to run himem on 286, so himem should probably do the test early enough to avoid a crash. >> And cdrcache? > It says "This software needs at least an 80386 CPU" and refuses to load. Nice :-). > COMMAND.COM 0.84-pre2 from 1.0-Testing crashes on "push imm", > which is a 286-only instruction form... Yes, the XMS swap version is optimized for 186+/286+, as the code segment would be too big for small memory model otherwise. Without XMS, that version needs loads of DOS RAM anyway, so on 8086, you should use a non-XMS-swap version of FreeCOM. If not already included, Blair should add one to the cdrom. > The kernel on 1.0-Testing is 80386-only, which I think is > a bad choice for an OS that claims to be DOS compatible. Well 1.0-Testing is a cdrom, so that is 386-only anyway :-). But the "kernel16" file which will be installed (and which is in the kernelx zipfile, I assume) is a fat16/8086 kernel, so you can use that one for your 8086 :-). The release notes should include some hints about that sort of things. >> The cdrcache and lbacache cpu test is the following: ... > This is very close to what many people recommend. It should be ok > as far as I can tell, certainly for 8086 detection. Nice :-) >> The memory drivers use something like: >> _IS386 PROC near ... > The above also looks ok to me (without testing). Yeah, now only call it before those 32bit register accesses... ;-). >> and in the other memory driver: >> proc check_cpu ... > This looks really weird; it tests only bits 8-11 of flags. I think > (without actual testing) this will falsely detect 386 on 8086 as > well as on 80286. Then it should probably use _IS386 instead :-p. Eric PS: UPX users have to remember to use upx --8086, otherwise a 286+ style stub will be used to save something like 5 bytes space. ------------------------------------------------------------------------- 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=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel