Re: [Freedos-user] Freedos 1.2: static IP address assignment, broken, no documentation available.

2019-01-20 Thread Ken Yap
> Packet driver is at segment 03ED > > Interrupt number 0x9 > > I/O port 0xD020 (53280) > > My ethernet address is 08:00:27:32:79:1C > > > > I tried changing the PACKETINT in MTCP.CFG to 0x9 but it still does not > work. Any clues on how to proceed? > > Regards > > Anton Sorry I

Re: [Freedos-user] TCP/IP stack will not initialize

2019-01-15 Thread Ken Yap
VirtualBox 6.0.2 has just been released. I checked and the bug has been fixed. ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Freedos-user] TCP/IP stack will not initialize

2019-01-12 Thread Ken Yap
> I did a quick test though, I set the virtual NIC on the same VBox on the > same host, but for a Linux guest, to PCNET Fast III instead of the usual > Intel E1000. Linux worked fine with that virtual NIC. So it seems that > VBox 6.0 and the packet driver don't like each other any more. Just to

Re: [Freedos-user] Preloading text files in C

2019-01-11 Thread Ken Yap
> Now I am near a solution, something like this: Well, this isn't a C language user group so I'll be brief. Here's the outline of how I would do it. Read entire file into memory Add a terminating NUL (because sometimes text files don't have an ending NL) Walk through the buffer char by char,

Re: [Freedos-user] TCP/IP stack will not initialize

2019-01-11 Thread Ken Yap
> I've loaded FreeDOS within VirtualBox according to the online > instructions. It works but I can't get networking to run as per the > instructions. A screen capture of the problem follows. > It looks like the packet driver for PCNTPK ver. 2.0 is at one location > (segment 02B7) but is looked

Re: [Freedos-user] Preloading text files in C

2019-01-09 Thread Ken Yap
> I just found that the Newlib library as included in the gcc-ia16 > toolchain does happen to implement fmemopen( ) (and several other POSIX > functions as well). > > However, Open Watcom's C library does not have this function. > > I suppose, if a `FILE *' is not absolutely needed, then one

Re: [Freedos-user] Preloading text files in C

2019-01-08 Thread Ken Yap
> Hi, > I have a short question about preloading text files for a user interface. > > I have x buttons on screen and for each button there is a description > shown on screen, once this button is selected. > > For now I am fopen()/fgets()/fclose()ing it on every selection change. > When run

[Freedos-user] PCNTPK driver stopped working in VirtualBox 6.0

2018-12-24 Thread Ken Yap
Since I upgraded to VirtualBox 6.0 (on Linux), the PCNTPK driver for the AMD cards doesn't work anymore. I had it working in 5.2, with the virtual card PCNet III selected for the VM. The message when loading the driver was: PCNTPK-DOS-015: Device not found So I am unable to FTP files to FDOS at