[Freedos-devel] FreeDOS on Google Trends

2006-10-20 Thread Roberto Mariottini

I think this is an interesting outcome:

http://www.google.com/trends?q=freedos

Ciao
begin:vcard
fn:Roberto Mariottini
n:Mariottini;Roberto
org:Prima Electronics S.p.A.;RD Departement
adr:;;Strada Carignano, 48/2;MONCALIERI;(TO);10024;ITALY
email;internet:[EMAIL PROTECTED]
title:Dott.
tel;work:+39-011-6827.211
tel;fax:+39-011-6404.277
x-mozilla-html:FALSE
url:http://www.primaelectronics.com/
version:2.1
end:vcard

-
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-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] 32 bit

2006-09-14 Thread Roberto Mariottini


Imre Leber wrote:
 Well I for one think that FreeDOS should move into the 32bit realm after 
 version 1.
 
 All the 32bit stuff was written by the DJGPP project. But it didn't make any 
 sense philosophicaly as long as it did not run on a free DOS operating system.
 
 Now that we did the time and have a free operating system, we should embrace 
 all of free DOS and develop it further.
 
 So that this project can still uphold a semblence of hacking, instead of 
 becomming archeology.

You are talking of our sister project FreeDOS-32:
http://freedos-32.sourceforge.net/

Ciao

-
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-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Surprise!

2006-09-04 Thread Roberto Mariottini


Daniel Verkamp wrote:
 Blair Campbell wrote:
 Hey folks.  If you check out the website, you may be in for a surprise.

   
 Excellent work!  However, in testing the base CD in Virtual PC 2004, I 
 came across this problem during postinst.bat:
 Batchfile 'C:\FDOS\POSTINST.BAT' does not contain label 's4_801586'.

The same here. It seems that the install procedures don't like Virtual PC.

Ciao

-
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-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Announce: updated italian translations

2006-07-25 Thread Roberto Mariottini


On my site at http://www.mariottini.net/freedos/english.html you can 
find updated translations for most of the internationalized FreeDOS 
utilities, and for the FreeDOS install system.


_New in release 3_

 - Fixed some typos in the old translations
 - At the beginning of every translation file is mentioned the version 
of the utility used as a basis for the translation.

 - Added translated strings for FASTHELP, MOVE and XCOPY.

Maintainers can include those files in the official distribution of 
their utilities if they want to. If this is not possible, maybe creating 
an Italian language pack can be of some help for users.


_New translation for the Install program/batch files_

 - Updated and completed most translation files and added a few that 
were missing.
 - Changed to use the correct codepage (IBM CP 850/858) instead of the 
wrong one they used before (windows 1252).


_Bugs and other issues_

1) I've found a bug in Move when it asks for confirmation to overwrite 
(move.c in the prepare_move() function), it does:


  scanf(%4s, input)

thus reading only 4 characters from the input, then does

  if (stricmp(input, kittengets(2,1,N)) == 0)

that fails if the translated string is longer than 4 characters, like 
the Italian word Tutti for All and Nessuno for None.
I suggest to either test only the first 4 characters of the string or 
raising the input limit to 8-10 characters. Maybe using only the first 
character, like XCOPY does, is a good idea, provided that one can find 
words with all different initials (something that for XCOPY was 
difficult to find in Italian, I eventually found a compromise).


2) The choice of the language during installation doesn't work. See my 
previous mail for more information.


3) Provided that the above works (it works changing manually some 
environment variable), the actual install program is run in English 
only. This is because NLSPATH is not changed to point to the right 
directory before invoking TEXTINST.


4) Once the installation correctly terminates, the COMMAND.COM installed 
is English-only. Since I've chosen Italian as a language, it should be 
installed CMD-IT.EXE as COMMAND.COM.


_Suggestions_

IMHO non-English-speaking people would find difficult to get right the 
first 3 choices to eventually get the language choice menu. Language 
choosing should be done early in the install process, as soon as 
possible can mean in the very first menu after the boot: prompt.


The language choice menu is big and bloated of main configurations and 
uncommon sub-configurations, like the normal Italy numbered 12 and the 
Italy (NumPad ,) numbered 72. I suggest dividing it in two parts, with 
the most common choices in the first menu and the most specialized one 
in the second.


_Questions_

I suppose someone is writing the new documentation for the 1.0 release. 
I would like to translate also this document, is this something 
feasible, or the 1.0 release will go out with Beta 9 READMEs?


Ciao
begin:vcard
fn:Roberto Mariottini
n:Mariottini;Roberto
org:Prima Electronics S.p.A.;RD Departement
adr:;;Strada Carignano, 48/2;MONCALIERI;(TO);10024;ITALY
email;internet:[EMAIL PROTECTED]
title:Dott.
tel;work:+39-011-6827.211
tel;fax:+39-011-6404.277
x-mozilla-html:FALSE
url:http://www.primaelectronics.com/
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Contributions towards FreeDOS 1.0

2006-07-10 Thread Roberto Mariottini



Imre Leber wrote:

Thanks,

I'll look more into the diskcopy translation tonight.

Question:


From diskcopy.it


 reserved to condition for example yes, no, quit 
0.0:S
0.1:S

It seems you are using S for both yes and no.

Should this not be:

0.0:S
0.1:N


Of course. I'll re-check all the translations, since they are from 2004, 
in the next week, if I find the time. I've already found another typo.


Thanks.

Ciao
begin:vcard
fn:Roberto Mariottini
n:Mariottini;Roberto
org:Prima Electronics S.p.A.;RD Departement
adr:;;Strada Carignano, 48/2;MONCALIERI;(TO);10024;ITALY
email;internet:[EMAIL PROTECTED]
title:Dott.
tel;work:+39-011-6827.211
tel;fax:+39-011-6404.277
x-mozilla-html:FALSE
url:http://www.primaelectronics.com/
version:2.1
end:vcard


-
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-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Format and errorlevel

2005-11-29 Thread Roberto Mariottini



Johnson Lam wrote:

On Mon, 28 Nov 2005 17:01:34 -0200, you wrote:

Hi,



MS-format errorlevels are
0 = ok, ok with bad-sectors, sintax errors or help msg.
3 = aborted by user
4 = fatal error, disk broken or wrong name
5 = harddisk format confirmation not given (user selected no)
outputs = 0, 3 and 4 confirmed my myself.

THE QUESTION is: I wish to add error level = 1 format terminated ok, but 
floppy has bad sectors. Anyone has a comment about that?



You mean the new error level 1 is: format terminated successfully.


I think he means:

0 = ok, syntax errors or help msg.
1 = ok with bad-sectors
3 = aborted by user
4 = fatal error, disk broken or wrong name
5 = harddisk format confirmation not given (user selected no)

I would like to add that while you are modifying it, you can get:

0 = ok
1 = ok with bad-sectors
2 = syntax errors or help msg
3 = aborted by user
4 = fatal error, disk broken or wrong name
5 = harddisk format confirmation not given (user selected no)


Ciao


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Compiling FreeCOM...

2005-11-11 Thread Roberto Mariottini



Bernd Blaauw wrote:


Guess I should read up about what the difference is between these 
large/normal/small models.


In short:

tiny: one segment for everything, CS = DS = SS, data pointers are near, 
function pointers are near (everything must fit in in 64 KB, no segment 
reserved for stack and starts at 0100H so you can make a COM executable)


small: one segment for code and one segment for data, DS = SS, data 
pointers are near, function pointers are near (all code must fit in 64 
KB, all data+stack must fit in 64 KB)


medium: multiple code segments and one data segment, DS = SS, data 
pointers are near, function pointers are far (all data+stack must fit in 
64 KB)


compact: one code segments and multiple data segment, DS != SS, data 
pointers are far, function pointers are near (all code must fit in 64 KB)


large: multiple code segments and multiple data segment, DS != SS, data 
pointers are far, function pointers are far


huge: same as large, data pointers are huge

Each segment can be 64 KB max, so with medium and large models a single 
source file can generate up to 64 KB of code, and with compact and large 
models a single source file can contain up to 64 KB of data.
The huge model permits data segments of more than 64 KB, huge pointers 
arithmetics is made in software so they can cross the 64 KB barrier.
Some compiler has switches to force DS != SS with small and medium 
models, to permit to separate data and stack in two different segments, 
giving 64K data + 64K stack, but you must pay attention to pointers to 
data that resides on the stack, that have to be declared explicitly far.
With tiny, small and medium model you can declare explicit far and huge 
data pointers and use farmalloc and farfree to allocate/deallocate DOS 
memory outside of the program image.


Ciao


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] FreeDOS not updating freespace after disk change

2005-08-03 Thread Roberto Mariottini


Alain wrote:
[...]


The problem never happens in the first disk and when it happens in the 
followinf disks, the disks are *not* corrupted.




Can you explain better?

Are you sure you are not using two disks with the same serial number?

Ciao


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] FreeCom daily builds

2005-07-12 Thread Roberto Mariottini

Hi,
on http://www.mariottini.net/freedos/english.html you can find a new 
version of italian translations for FreeCOM, updated to the version 1.34 
(1.35 has only minor modifications).


I've posted them months ago, but nobody did commit them.

Ciao


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Help with block device driver

2005-05-09 Thread Roberto Mariottini
Hi,
one italian user is trying to write a device driver. The problem is it 
doesn't properly install a new drive letter.
I'm not a device driver expert, so I'm asking if someone on the list can 
look at it. The sorce code is dowloadable from:

   http://kayman.altervista.org/software/cfdrv.zip
The final driver will be under some open source/free license.
Ciao
---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] keyboard layout

2004-12-23 Thread Roberto Mariottini
Thanks Aitor,
I think this should be a TechNote, or it should go in the FAQ, because 
it is really a Frequently Asked Question.

Ciao
Aitor Santamaría Merino ha scritto:
Dear Karsten,
There are such tools.
You write a keyboard layout in the form of an ASCII text file (in the 
KEY language). Then you compile this file with the latest KC (KEY 
compiler), to obtain a binary KL file that you can use with the latest 
KEYB.
Links:
Latest KEYB:  
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kb2pre2x.zip 

Latest KC:  
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kc110x.zip

About the documentation on the KEY language to write the layouts, the 
package that includes KC has some documentation, although it is not very 
good, and I'd need to rewrite it. Please ask me (in private if you wish) 
for whatever isn't clear.
If you want to use commands specific for FD-KEYB, then you can obtain a 
commandlist of FD-KEYB in the same package of KEYB.

Finally, you could obtain the sources for the standard keyboard layouts 
shipped with FreeDOS and customise them for you. They are distributed in 
the KEY language under the GNU GPL license. Latest sources are:

Layouts based on DOS codepages:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kblayout/KPDOS11S.zip 

Layouts based on Windows codepages:
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kblayout/KPWIN10S.zip 

Regards,
Aitor


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Compact Flash under DOS

2004-11-12 Thread Roberto Mariottini
Hi,
here is a question from an user. He's using MS-DOS 6.22, and I don't 
know if FreeDOS can solve his problem.

The fundamental question is: there is a way to make the BISO/kernel 
re-read disk information from an IDE disk?

Ciao

Hello to everybody.
I'm using a Compact Flash reader with IDE interface under MS-DOS.
My problem is that the compact flash card *must* be inserted into the 
reader *before* the boot otherwise the POST of the  BIOS do not 
recognize the compact flash as a hard disk.

My problem is that the card may be not present at the boot!
There is a way to force the BIOS to update the disk table *after* the 
boot and allow disk functions to access the new device?
This is usefuel also if I want to change the compact flash and I put 
into the reader a card with a different size !

Regards.
---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Re: YESCHAR question (was: New COUNTRY.SYS)

2004-11-04 Thread Roberto Mariottini

Eric Auer wrote:
[...]
- country unaware programs will just use hardcoded
  are you sure? and will just expect y for that.
- country aware programs should use BOTH translated
  strings and ask the kernel what the yeschar is
  for the current language. Because you can conceivably
  set LANG= and COUNTRY= to different values, most
  current FreeDOS programs have the y in their kitten
  string database for each language and do not ask the kernel.
Yes, that's true. I've translated a bunch of kitten databses and I've 
found many YyNn translations.

The ask the kernel feature is something that should not be used by 
programs. It's a stupid thing just like happens in Windows, where you 
can find english-speaking message boxes with system-translated buttons, 
thus giving strange mixed-language messages like: Are you sure? - Sì - No.
In DOS there are no message boxes so you would get: Are you sure (S/N)?.
Imagine a language that has nestre for yes and yurbl for no, the 
qustion would be: Are you sure (N/Y)?. Very bad.

And that's the problem signaled by Bart: LANG settings can be different 
from COUNTRY settings.

So my vote goes to: translated programs shall use their translation 
engine to translate messages _and_ answers, while untranslated program 
shall use their original language messages _and_ answers.

Ciao

---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88alloc_id065op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Format 0.91r and FreeCOM sound tests

2004-07-30 Thread Roberto Mariottini
Hi all,
Yesterday I've tested FORMAT on a 40GB HD, with a one big partition. I 
was trying to format it as FAT32 under WinXP, but it refuses to format 
such a large partition as FAT, it wants to format it as NTFS.
So I've inserted a floppy with FreeDOS in it (sorry, I had only the 
official beta9pr5 distro and format 0.91r handy) and booted.
Fdisk correctly created a FAT32/ext partition and Format correctly 
formatted it (quick format). WinXP recognized it and its chkdsk shown no 
problems. The only problem is that format used 32KB cluster size for 
the partition. I think it's beause it wants to have little FATs (the 
number of clusters was 120 or so), but I thought I could format it 
with 16KB clusters. I didn't found an option to choose a particular 
cluster size.

As for FreeCOM, the bug showed up on the PC (P3 650 MHz) trying to use 
filename completion. The beep started, then the computer freezed, while 
continuing to beep. I had to press Ctrl-Alt-Del to shut it up.

Ciao

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Format 0.91r and FreeCOM sound tests

2004-07-30 Thread Roberto Mariottini
Steve Nickolas wrote:
At Fri, 30 Jul 2004 8:55am +0200, Roberto Mariottini wrote:

As for FreeCOM, the bug showed up on the PC (P3 650 MHz) trying to use 
filename completion. The beep started, then the computer freezed, while 
continuing to beep. I had to press Ctrl-Alt-Del to shut it up.

Ciao

It's odd that my Celeron/700 doesn't have that problem, so I don't think 
it's CPU speed...
I'd consider CPU speed anyway.
The delay loop calibration techniques used in the days are prone to 
overflow problems. At some stage an overflow may lead to random values. 
So the delay() call is multiplied by a random value, giving too short, 
good or too long delays. The fact you have a good delay duration, I have 
it too long and someone else has it too short can be the consequence of 
random calibration of delay loop.

Back in time, when I was working with DOS everyday, I used the system 
clock tick for delays. This gives a 55 ms granularity, but it works on 
ALL computers, and is sufficient for most purposes.

Ciao

---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Re: best free C++ compiler

2004-07-26 Thread Roberto Mariottini
Hi,
Alain wrote:

[...]
BTW: do you have information about memcpy() problems in BC 3.1 ? Last 
week I had a very hard to trace bug (in a TSR) that was solved replacing 
it with memmove(). Andreas sayd that he had problems with it too.
Are you sure the two buffers you are memcpy-ing don't overlap? The 
memcpy function assumes the two buffers don't overlap (neither by 1 
byte), making this assumption makes it work faster, but it fails on 
overlapping buffers. The memmove function doesn't make this assumption, 
so it works for overlapping buffers, at price of a slight decrease in 
performance.

So the replacing memcpy with memmove may be a feature, not a bug :-)
Ciao

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Announce: italian translations for CHOICE, DISKCOPY, HTMLHELP, MORE, SORT and TREE

2004-07-22 Thread Roberto Mariottini
Hi,
I've noted that the NLS strings are used only when the environment 
variable NLSPATH is defined. There's nothing wrong with it, but the 
beta9rc5 install program created a variable NLSDIR instead, and that 
didn't work.

Ciao

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Announce: italian translations for CHOICE, DISKCOPY, HTMLHELP, MORE, SORT and TREE

2004-07-20 Thread Roberto Mariottini
Hi,
I have translated in italian the few programs that are currently 
NLS-able (all that I know of, let me know if I missed some). They are:
CHOICE, DISKCOPY, HTMLHELP (the NLS strings, not the help pages!), MORE, 
SORT and TREE.

At the URL:
http://www.mariottini.net/freedos/italian2.zip
you can find a little zip (7kB) with all the .IT files in it.
Ciao

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


[Freedos-devel] Some news about FD/32 (FW:)

2004-04-09 Thread Roberto Mariottini
Hi,
I've seen this message on the FreeDOS/32 developer list, and I think it can
be of some interest.
The project is slowly showing some progress, but it still needs volunteers.

Ciao.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luca Abeni
Sent: Friday, April 09, 2004 9:24 PM
To: [EMAIL PROTECTED]
Subject: [FreeDOS-32-dev] Some news...


Hi guys,

after a very long time, here are some news about FD/32:
- There are some improvements (bugfixes and new features) in the devel
branch of the cvs. I created it to avoid experiments that can break
stuff in the main branch
- We have a basic win32 support!!! Thanks to Hanzac Chen, that developed
a new PE parser and a minimalistic mscrt, FD/32 can execute a win32
hello world program!
- The wrapper for loading unmodified DJGPP programs is kind of
working. I have been able to run our command.exe, but it crashes after
some time... I am still debugging the problem
- Some memory leacks have been fixed
- Hanzac is working on a graphic driver

Summing up, FD/32 can currently:
- run DPMI programs compiled with DJGPP, if they are linked at a proper
address (proper means that such address must be free in your system,
after loading kernel and drivers)
- boot our command.exe
- run simple win32 programs
- run simple unmodified DJGPP programs (linked at their original
address). This can sometime fail and there probably is some memory
corruption somewhere.

My todo list:
1) fix some bugs related to the vm86 calling mechanism
2) find and fix memory corruption problems
3) fix the wrapper

Is anyone else interested in working on FD/32 (there are a lot of areas
where your work is needed... ;)? If yes, just send a mail to the list.

Luca




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


RE: [Freedos-devel] Make a program slimmer

2004-02-27 Thread Roberto Mariottini


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 maintainer freedospg
 Sent: Friday, February 27, 2004 2:43 AM
 To: [EMAIL PROTECTED]
 Subject: [Freedos-devel] Make a program slimmer


 Hi,

 I want to know if there is a way to release memory
 from the unused heap to the OS when I shell out?
 PG runtime takes up 80K, but it needs about 40K.
 I managed to move the stack down to a designated
 address,
 but memory was not released.
 Turbo C 2.01, small model.
 Can somebody help?

With turbo C there's no need to move the stack. To resize the program's
memory simply change the _stklen and _heaplen variables.
For example, if you know it'll need only 4K of stack, set _stklen = 4 *
1024;
Or, if you know it'll not use more than 20K of heap, set _heaplen = 20 *
1024;
The Turbo C library, for small memory model programs, resizes automatically
the memory image at startup according to the two variables _heaplen and
_stklen.

Ciao



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


RE: [Freedos-devel] TC RTL

2004-02-27 Thread Roberto Mariottini

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Arkady
 V.Belousov
 Sent: Friday, February 27, 2004 4:03 PM
 To: [EMAIL PROTECTED]
 Subject: [Freedos-devel] TC RTL

  BTW, does anyone have TC RTL sources? Especially, I interested in
 C0.ASM, CLOCK.C, SETUPIO.*.

Normally in the Turbo C/C++ installation directory there is a subdirectory
(lib/startup IIRC) that contains the three files c0.asm, build-c0.bat and
rules.asi. I've recently found them in the TC++ 1.0 package downloaded from
Borland.

In Borland C++ there is always an option to install RTL sources, maybe they
can be found on the distribution CD/floppy only, in a zipfile called rtl.zip
or rtlsrc.zip. In Turbo C/C++ I don't know. Still IIRC.

Ciao



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


RE: [Freedos-devel] Q: Watcom debugging

2004-02-24 Thread Roberto Mariottini
Hi,
comments embedded.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, February 24, 2004 2:59 PM
 To: [EMAIL PROTECTED]
 Subject: [Freedos-devel] Q: Watcom  debugging


 Hello,

 I'm trying to setup a functional OpenWatcom environment on WinXP (using
 BINNT tools) building real-mode DOS programs. Till now it builds objects
 and executables fine. I have these problems:

 a) When I try to use a normal librarian (aka LIB.EXE), the Watvom linker
 does accept the library, but does not find no symbol. The wlib tool also
 accepts the library without warning or problem. When I extract the OBJ's
 from the library and re-archive them with the wlib tool, the linker finds
 the symbols, too.

IIRC, there are two kind of libraries: one kind is a simple archive of
objects, with little or no information added, the second type has a symbol
database added, called index or extended index, that allows to the
linker to find simbols without looking in every object.
This functionality was meant only to speed up linking, but I don't know
watcom: perhaps it needs the extended index to link correctly.
The simptoms are clear:
 - if you build the lib with a tool that doesn't add the index - watcom
linker find no symbol
 - if you build the very same lib with wlib (or any librarian that adds the
index) - watcom linker links correctly.

Try to use tlink, that has options to include/exclude the index, and see
what happens.

HTH, Ciao



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel