Hello Eric,
On Thu, Aug 24, 2006 at 09:35:37AM +0200, Eric Auer wrote:
> as far as I know, Blair now included mem 1.9a3 on the ISO...
I found 1.9a3 on 1.0-Testing, but only in the zipped packages;
not in the ODIN directory. (I usually don't install to harddisk,
but quickly copy some binaries from the CD image.)
> 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.
A patch against 1.9a3 is attached. I can not test it, since I
don't have a FreeDOS develop/compile environment and I expect
it could take me several evenings to set one up.
> > In fact I do not have a real XT; I discovered the bug on an emulator.
> Where can that be downloaded?
Not anywhere yet. I am certainly planning to make it available, but
it really needs some work to get it in a releasable state.
> > 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.
I can not find a separate non-XMS version on the 1.0-Testing
fdbasecd.iso. There is only one command.com file in commandx.zip.
> > 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 :-).
Yes, but I would like to be able to boot the CD on a 386,
make a bootflop, then boot from this flop on any PC.
This currently does not work without jumping through several hoops.
I can understand that very few people need 8086 support right now,
but then again, very few people need a DOS-like system at all.
> 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.
There is no kernelx.zip file on the 1.0-Testing CD. But I have
indeed found 16-bit kernels in ZIP files on the FreeDOS site;
these work fine.
Joris.
diff -ur 19a3/source/mem/mem.c 19a3-fix/source/mem/mem.c
--- 19a3/source/mem/mem.c Sat Apr 15 13:42:56 2006
+++ 19a3-fix/source/mem/mem.c Thu Aug 24 15:12:10 2006
@@ -701,6 +701,7 @@
"pushf" \
"pop ax" \
"or ax, 7000h" \
+ "and ax, 7fffh" \
"push ax"\
"popf"\
"pushf"\
@@ -1190,7 +1191,7 @@
/* check for 386+ before doing e820 stuff */
/* load value 0x7000 into FLAGS register */
/* then check whether all bits are set */
-#define is_386() ((is_386_() & 0x7000) == 0x7000)
+#define is_386() ((is_386_() & 0xf000) == 0x7000)
#define xms_version() (call_xms_driver_bx_ax(0, 0))
#define xms_hma() ((uchar)(call_xms_driver_dx_bl_al(0, 0)>>16))
diff -ur 19a3/source/mem/memsupt.asm 19a3-fix/source/mem/memsupt.asm
--- 19a3/source/mem/memsupt.asm Fri Nov 18 06:53:04 2005
+++ 19a3-fix/source/mem/memsupt.asm Thu Aug 24 15:11:38 2006
@@ -62,6 +62,7 @@
pushf
pop ax
or ax, 0x7000
+ and ax, 0x7fff
push ax
popf
pushf
-------------------------------------------------------------------------
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