Mail Archives: djgpp/1997/10/11/03:02:51
In article <19971006120324 DOT 19697 DOT qmail AT hotmail DOT com>, bigal2000 AT hotmail DOT com
says...
>
>I am just starting a project in DJGPP (A PIC17C75XX programmer), which
>I want to be able to port to Linux at a later stage. It will use a
>colour text interface, possibly the mouse, and will need to access the
>serial port directly (to communicate with the device programmer).
>The problem is that I have no experience of Linux programming
>whatsoever, and so I need some advice on exactly what I should do/avoid
>doing, to make the job of porting the program to Linux as painless as
>possible. I particularly would like to know how you set up/access the
>serial port in Linux, and whether it's possible to do direct console io
>(gotoxy(), intensevideo(), that type of thing).
>Does anyone know of any 'beginners guide to Linux programming' or 'DOS
>programmers guide to Linux programming' type of document available
>online?
>
You can go to sunsite.unc.edu, the home of Linux code, and download the
DosLinux package that lets you set up a small Linux partition inside your
Dos system (using the UMSDOS/W95 file system). You can then download the
latest gcc compiler for Linux and use it to test your portability issues.
You have a leg up using DJGPP, since it's supposed to have the same interface
and share many of the include files that the Linux version has.
- Raw text -