[Freedos-user] SYS.COM

2006-11-05 Thread Norbert Remmel
Hi,

Having discussed some stuff with eric before, Eric suggested to start a
new discussion on the mailing list.

There is a problem concerning SYS.COM using dual boot systems
Windows XP / FreeDOS

Windows XP always looks for dos system files on its boot partition and
changes the attributes of the found files to system, hidden and readonly.
If you use SYS.COM to replace existing FreeDOS files by newer ones,
SYS.COM always writes a new bootsecor and after that it tries to replace
kernel.sys and command.com.
But getting to the point where command.com is about to be replaced
SYS.COM outputs an error code followed by an error message and doesn't
proceed.

To get things work you have to change command.com's attributes to only
archive by using attrib. After that you can restart SYS.COM to have the
FreeDOS system files replaced without error.

I would suggest two things to change in SYS.COM.
At first SYS.COM should replace the FreeDOS system files no matter what
attributes are set for command.com.
Second, when used on dual boot systems, it would be great to have an
option to only replace the FreeDOS system files without renewing the
bootsector 'cause writing a new bootsetor results in an unbootable
Windows XP. To change this back to normal you always have to start the
recovery console and run FIXBOOT to overwrite the newly written FreeDOS
bootsector or you have to use third party tools to do the same job.

Regards

Norbert.

-
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] Lua for freedos?

2006-11-05 Thread Lee Jones
Hi,

Does anyone know of a version of Lua for freedos? Unfortunatly I've
only found a binary for version 4, I am looking for a binary for the
newer version 5.1.1. If there is no binary can lua be compiled in
freedos? Thanks

ljones

-
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] Lua for freedos?

2006-11-05 Thread Jim Hall
Lee Jones wrote:
 Hi,

 Does anyone know of a version of Lua for freedos? Unfortunatly I've
 only found a binary for version 4, I am looking for a binary for the
 newer version 5.1.1. If there is no binary can lua be compiled in
 freedos? Thanks
   

I don't know about a DOS binary for 5.1.1 (I don't use Lua) but I did 
find this news item from 2001 on our web site, which is probably what 
you are referring to:

  LUA for DOS
 Aug 15 2001 by jhall
 Ken Yap has patched the Lua script language to compile using BC31 on 
 DOS. I have posted his patch at ibiblio. Here is Ken's announcement: 
 This contains patch and bat files to compile LUA with Borland C 3.1 
 under DOS. To use: Get the LUA distribution from www.lua.org. Unpack 
 it. You will find a directory called lua. Unpack [the patch] in this 
 directory. It will create this file, a patch file and 4 bat files. 
 Patch the source either with the Unix patch program or by hand, it's 
 just a one line change. Go to each of the directories in turn and run 
 the bat files. The executables are lua.exe (interpreter) and luac.exe 
 (compiler).
 And what is Lua? From the web site: Lua is a powerful, light-weight 
 programming language designed for extending applications. Lua is also 
 frequently used as a general-purpose, stand-alone language. Lua is 
 free software.
 Lua combines simple procedural syntax with powerful data description 
 constructs based on associative arrays and extensible semantics. Lua 
 is dynamically typed, interpreted from bytecodes, and has automatic 
 memory management with garbage collection, making it ideal for 
 configuration, scripting, and rapid prototyping.
 A fundamental concept in the design of Lua is to provide 
 meta-mechanisms for implementing features, instead of providing a host 
 of features directly in the language. For example, although Lua is not 
 a pure object-oriented language, it does provide meta-mechanisms for 
 implementing classes and inheritance. Lua's meta-mechanisms bring an 
 economy of concepts and keep the language small, while allowing the 
 semantics to be extended in unconventional ways. Extensible semantics 
 is a distinguishing feature of Lua.
 Lua is a language engine that you can embed into your application. 
 This means that, besides syntax and semantics, Lua has an API that 
 allows the application to exchange data with Lua programs and also to 
 extend Lua with C functions. In this sense, Lua can be regarded as a 
 language framework for building domain-specific languages.

And the download pointed to:
 http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/system/lua/

This included a patch to the then-current version of Lua to compile on 
DOS.  Not sure what chose changes entailed, but you might have a look at 
those patches and see if you can apply them to Lua 5.1.1.  I don't know 
of another place to find a DOS binary of Lua.


-jh


-
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] SYS.COM

2006-11-05 Thread Norbert Remmel


 Original-Nachricht 
Betreff: Re: [Freedos-user] SYS.COM
Datum: Sun, 05 Nov 2006 04:20:04 -0500
Von: Kenneth J. Davis [EMAIL PROTECTED]
An: freedos-user@lists.sourceforge.net
CC: [EMAIL PROTECTED]

Norbert Remmel wrote:

 Hi,
 
 Having discussed some stuff with eric before, Eric suggested to start a
 new discussion on the mailing list.
 
 There is a problem concerning SYS.COM using dual boot systems
 Windows XP / FreeDOS
 
 Windows XP always looks for dos system files on its boot partition and
 changes the attributes of the found files to system, hidden and readonly.
 If you use SYS.COM to replace existing FreeDOS files by newer ones,
 SYS.COM always writes a new bootsecor and after that it tries to replace
 kernel.sys and command.com.
 But getting to the point where command.com is about to be replaced
 SYS.COM outputs an error code followed by an error message and doesn't
 proceed.
 
 To get things work you have to change command.com's attributes to only
 archive by using attrib. After that you can restart SYS.COM to have the
 FreeDOS system files replaced without error.
 
 I would suggest two things to change in SYS.COM.
 At first SYS.COM should replace the FreeDOS system files no matter what
 attributes are set for command.com.

sounds reasonable
So when running sys, if kernel.sys is readonly (and/or system and/or
hidden) should it sys:
a) fail as it currently does
b) ask the user 1st, then remove the attributes and overwrite the
existing kernel
c) without asking the user, remove the attributes and overwrite the
existing kernel
d) rename the existing kernel to something like kernel.001 (where
the actual # could be incremented to next non-conflicting one) and then
copy over the new kernel
e) other suggestions?


 Second, when used on dual boot systems, it would be great to have an
 option to only replace the FreeDOS system files without renewing the
 bootsector 'cause writing a new bootsetor results in an unbootable
 Windows XP. To change this back to normal you always have to start the
 recovery console and run FIXBOOT to overwrite the newly written FreeDOS
 bootsector or you have to use third party tools to do the same job.

this is easy, don't use sys, just copy the kernel.sys file yourself.  If
you don't need to replace the boot sector, there really is no reason to
use sys.  In general, once you have a booting FreeDOS system, there is
almost no reason to replace the bootsector or rerun sys again.

 
 Regards
 
 Norbert.

Jeremy

(this still probably won't make it to the list, so feel free to forward
for me :-)




-
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] Lua for freedos?

2006-11-05 Thread Escorter
Jim Hall [EMAIL PROTECTED] wrote:

  LUA for DOS
  Aug 15 2001 by jhall
  Ken Yap has patched the Lua script language to compile
using BC31 on  DOS.

You can use DJGPP, too. I've succesfully compiled Lua 5.1.1
without any modification. Just unpack it somewhere, cd to
the src dir, then type make generic. It will build the
Lua lib, the Lua interpreter executable, and the Lua
bytecode compiler.

Best regards,
Escorter




_
Ne csak a lakást nézze, hanem a környéket is! Válogasson több ezer ingatlanból 
légifotós-kereső 
segítségével!http://ad.adverticum.net/b/cl,1,6022,120681,191337/click.prm


-
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