Re: [Freedos-user] FreeDOS VMWare with Windows Softmodem

2010-09-26 Thread Braden C. Roberson-Mailloux
-Original Message-
From: Eric Auer [mailto:e.a...@jpberlin.de] 
Sent: Saturday, September 25, 2010 4:39
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] FreeDOS VMWare with Windows Softmodem


Hi Braden,
 Hello Eric,

 I'm running balder.img under a VMWare workstation. I have one serial 
 port connected to com0com over null-modem.

Does it work smoothly?

 Yeah! Pretty slick inside the VM.

 Another port I've hooked up to com3 which is my Windows Softmodem.
 Does FDOS have problems using SoftModems?

Yes, but you say that com3 of your DOS is just a virtual forward from your
Windows host system, so when DOS tries to access it VMWare will probably
just use the Windows driver to access the modem...



 What is the default settings for the com port?

Good question. After saying that /dev/ttyS1 (COM2) should be the DOS COM1 in
DOSEMU, and running our FreeDOS MODE COM1 /STATUS tells me the following:

C:\mode com1 /status
*** SERIAL PORT 1 STATUS ***
Port status: [ xmit-shift-empty xmit-hold-empty ] Use MODE COM1 BAUDHARD=1
to read *configuration* from UART.

*** SERIAL PORT 2 STATUS ***
Port status: [ xmit-shift-empty xmit-hold-empty DSR CTS ]
Use MODE COM2 BAUDHARD=1 to read *configuration* from UART.
Using the FreeDOS specific BAUDHARD, I get more info:

C:\mode com1 baudhard=1 /status
UART is 16450 or newer. Reading parameters:
  no parity, 1 stop bit, 8 bit, 2400 baud, RTS on, DTR on.

UART is 16450 or newer. Reading parameters:
 no parity, 1 stop bit, 8 bit, 2400 baud, RTS on, DTR on.

The RBIL (Ralf Brown's Interupt List) has a bit of info in the INT 14, AH=0
(S-1400) section:

  the default setting used by DOS (MS-DOS 6, DR-DOS 7.03, PTS-DOS)  
when (re-)initializing the serial devices is AL=A3h (2400 bps,   no
parity, 1 stop bit, 8 data bits).

I can confirm this by looking at the InitSerialPorts() source code from the
FreeDOS kernel:

init_call_intr(0x11, r); /* get equipment list */ serial_ports = (r.a.x 
9)  7; /* bits 11-9 */ for (i = 0; i  serial_ports; i++) {
 r.a.x = 0xA3; /* initialize serial port to 2400,n,8,1 */
 r.d.x = i;
 init_call_intr(0x14, r);
}

However, I would recommend that you explicitly set the port parameters to
whatever your Softmodem is known to work with, using MODE. Maximum reachable
baud rates are 9600 with old BIOS calls and 19200 or up to 115200 baud with
new BIOS calls depending on your BIOS and hardware... You can also use the
FreeDOS specific BAUDHARD=n option to program the hardware directly to n*100
baud, instead of using the official BAUD= option of MODE (see modeser.c).

Because you are in VMWare, it depends on what your VMWare serial port
hardware simulation and BIOS can understand whether old or new BIOS calls or
direct hardware access are interpreted at all and whether they are correctly
translated into config updates for your Windows Softmodem driver... I assume
that settings will always return to default when your host Windows OS is
rebooted. If your host OS is not Windows but Linux, the situation is
probably the same - but then you can use DOSEMU instead of VMWARE to have a
less virtual and more fast place to run your FreeDOS :-)



 Whenever I run ATDT  com2 it returns error reading
  from device com2 : write fault.

Interesting, but I have no experience with VMWare ;-) I would recommend that
you first get the same to work inside your host operating system, so e.g. in
Windows you would do echo ATDT  COM3, in Linux probably echo ATDT 
/dev/ttyS2. However, note that you fail to give your Softmodem a chance to
send any reply to your command... You can use the FreeDOS TERMINAL software
to send the ATDT to the modem interactively and receive the modem's answer
on your screen interactively as well:

www.freedos.org/software/?prog=terminal

Note: TERMINAL defaults to 1200 baud, read the docs.



Because ATDT is dial / tone you probably also need to send a number, so
for example you send:

ATDT5551234

Then the modem can reply CONNECT - or NO CARRIER.
Other commands have replies such as OK or ERROR.

Ok, I have managed to connect to another computer using PUTTY in windows
connected to com3. The Terminal spits back some garbage once the
connection occurs. DOS can also dial and connect. Do I have to emulate a
terminal as you have done in TERMINAL, then handle the specific data
returned from the other computer? How do I handle it? 


Last but not least, I do not know why you go all this tedious manual way
for making your modem dial some number - if it is just one step on the way
to making a PPP dial-up connection,

I like to learn from the ground up. I'm looking for a project dealing with
low-level communications with modems. BBS seems fun and applicable
to my ham-radio hobby (packet radio). Also, I'm not connecting to the
internet per-se but to another computer via POTS in Oakdale California
which hosts a BBS using Color 64. I'm not sure if its running on a
commodore or if it has been ported to DOS.


Re: [Freedos-user] Driver development

2009-08-27 Thread Braden C. Roberson-Mailloux
http://standards.ieee.org/getieee802/802.11.html

[QUOTE]
Expect a big project here...
[/QUOTE]

With over 1200 pages of IEEE standards information, I'm not suprised!

[QUOTE]
PS: Maybe you can also check whether the EEE PC supports
 int 15.87 and if not whether some HIMEMX / JEMM386 combo
 or similar could be used to make FDAPM ACPIDUMP work ;-)
[/QUOTE]

Sure, do you have a template written in C for testing interrupts?
That or ASM, I can read both of them!

[QUOTE]
You can see many examples of open
 source DOS network card packet drivers on the CRYNWR homepage
[/QUOTE]

http://www.crynwr.com/packet_driver.html

This seems to be a specification for interrogating any of those drivers.
It may help!

I have a dedicated FDOS box at home with a 3COM 3C905CX, I think...
I'll check when I get home. Perhaps some experiments with this card
will also help...? Do you have any recommendations?

I'm more than willing to undertake what may seem a daunting project. I
need something to do which keeps me occupied for those cold Fall
and Winter nights. Plus, I just picked up my amateur radio license, and
this seems like a good, rewarding and education project as far as that
realm of technology is concerned.

73!
Bray.

- Original Message - 
From: Eric Auer e.a...@jpberlin.de
To: b...@vom.com; freedos-user@lists.sourceforge.net
Sent: Thursday, August 27, 2009 2:16 PM
Subject: Re: [Freedos-user] Driver development



 Hi Bray,

 I have an Atheros pci-x 802.11 wireless card in my Asus EEEpc laptop and
 there is no driver available for the card! Does anyone have some links 
 and
 resources pertaining to driver/packet driver development for DOS? I'm not
 looking for a quick fix, but a project!

 Expect a big project here... You can see many examples of open
 source DOS network card packet drivers on the CRYNWR homepage:

 www.crynwr.com/drivers/

 Atheros.com says they actively support the Linux driver:

 http://madwifi-project.org/
 http://sourceforge.net/projects/madwifi/
 http://madwifi-project.org/wiki/Chipsets

 There are actually THREE variants of the driver:

 http://wireless.kernel.org/en/users/Drivers/ath9k
 http://madwifi-project.org/wiki/About/ath5k
 ...and a third based on a non-portable binary blob

 The drivers will depend on Linux infrastructure so you will probably
 have to add many other bits and pieces. You can probably get an easier
 start by only porting their info tool first:

 http://madwifi-project.org/browser/ath_info/trunk

 A good compiler for porting Linux stuff to DOS is DJGPP:

 www.delorie.com/djgpp/

 Of course with Wireless things are usually much worse
 than with normal network cards, because you will have
 to have some software which takes care of setting up
 wireless connection details. In many networks, you will
 also need something which does WEP, WPA or WPA2 security.

 But of course I understand that you do not want to carry
 a cable which is heavier than your tiny netbook laptop :-)

 Eric



 PS: Maybe you can also check whether the EEE PC supports
 int 15.87 and if not whether some HIMEMX / JEMM386 combo
 or similar could be used to make FDAPM ACPIDUMP work ;-)


 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Installation problems (fixed) Networking UP

2009-03-30 Thread Braden C. Roberson-Mailloux
Greetings all;

 

I managed to remove LILO from my MBR by using xfdisk /MBR. Afterwards, I
used FreeDOS setup to install the standard BootManager.

 

Also, I installed a 3COM adapter and corresponding packet driver. Now, I'm
able to browse the net with Arachne (Arachne comes with TCP/IP support). I
suppose the next step is to setup networking in DOS and mess around with the
WATTCP Tools. 

 

I'm still pretty green when it comes to programming in C. At the moment, I'm
still learning ASM and plan on sticking to it. However, I'm a bit lost when
it comes to finding something to do. I've been looking through some of the
Intel processor documentation. So far, I'm interested in finding out more
about my machine and the components inside it. Does anyone have some
recommendations or guide lines for rummaging around and finding out what is
going on inside those little chips on the motherboard?

 

 

Thanks;

 

Bray.

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


[Freedos-user] Installation problems

2009-03-20 Thread Braden C. Roberson-Mailloux
Hi guys;

 

I've formatted my hard disk, installed the boot manager using the option in
xfdisk and installed freedos. Yet, LILO continues to remain the boot manager
on my hard disk and only shows LINUX as an available kernel. 

 

I just received a 8-bit PIC microcontroller with a low pin development
board. It has a USB interface. Is it possible to program the PIC using a
language such as FreeBASIC? 

 

I found a lot of 5 3com Ethernet cards which are supported by DOS. They came
in the mail not too long ago and I now want to install them. So, would
someone kindly point me to some TCP/IP resources? I would like to start
messing around with TCP/IP and am only about 1/5 of the way through Charles
Petzold's Programming Windows. So far, I've learned to draw to the screen.
But, I'm super eager to really explore the internet. Plus, I need some
character mode programming experience using C\C++. Any resources and
suggestions are greatly appreciated. 

 

Eric: I'm still willing to test LBACache. How would you like to transfer the
files between us? I do believe you have some web space.?

 

BTW: I picked up an old AMD 1702A. A mentor at a local Junior College wrote
up some plans for a writer. If anyone is interested in seeing those plans,
let me know and I'll try and get them on the net for everyone to see. They
include plans for the writer and a pulse generator.

 

 

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] TCP/IP Driver for EEEpc

2009-02-04 Thread Braden C. Roberson-Mailloux

First, a shout out to Hans, mr, and Mark for helping me install FreeDOS to
my EEEpc. It's Alive!

Second, are the drivers required to run the TCP/IP stack specific to the
ethernet device in a computer? I would like to start writing some simple
socket software to grab my email whenever an ethernet jack is available. Is
there a socket library available for DOS? Also, does anyone know of some
DHCP software for DOS?

Thanks;
Bray


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] FreeDOS USB installation

2009-01-24 Thread Braden C. Roberson-Mailloux

Hello;

I've been scouring the internet to find someone who has installed FreeDOS
from a USB flash drive. I've found no one, thus far :(.

Why would anyone, like me, want to do this? I have an EEEpc :) and want to
run FreeDOS on this nifty little piece of machinery and start banging some
bits! Does anyone have some advice or sugghestions?

Thanks;

Braden.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user