Message-Id: <200110021601.f92G1js06299@delorie.com> Sender: salvador AT delorie DOT com Date: Tue, 02 Oct 2001 13:03:47 -0300 From: salvador Organization: INTI X-Accept-Language: es-AR, en, es To: setedit , Allegro , djgpp-announce AT delorie DOT com Subject: [Announce] AlCon: a conio style layer for Allegro Content-Type: multipart/mixed; boundary="------------97800D263109CBB3F3B213F8" Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------97800D263109CBB3F3B213F8 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All! I wrote a simple conio replacement that works on top of Allegro. It is not finished but is quite functional. I'll support a full implementation of the conio library only if I see interest on it. If I don't get feedback and help I develope only the part I need (which is almost finished). Attached is the README file. The sources are available from Source Forge I also uploaded a tarball with the sources. All is available from the page of the setedit project: http://sourceforge.net/projects/setedit/ The tarball is in the extra package named as "AlCon 0.0.1" release. The CVS package is "AlCon" SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set AT computer DOT org set AT ieee DOT org Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 --------------97800D263109CBB3F3B213F8 Content-Type: text/plain; charset=us-ascii; name="README" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="README" This is the short readme file for AlCon 0.0.1. 1) What's AlCon? 2) License 3) How to compile 4) Contact 1) What's AlCon? AlCon stands for Allegro Conio. The basic idea behind AlCon is to provide a conio style interface. It could make easy to port DOS programs that use conio to other platforms. Currently it only implements a few functions and some aren't correct. Here is a list of supported functions: * cprintf(a...) * gotoxy(a,b) * getch() [Doesn't return the correct values] * kbhit() * textattr(a) * cputs(a) * clrsrc() * wherex() * wherey() * textbackground(a) * textcolor(a) DJGPP specific functions: * ScreenCols() * ScreenRows() Macros just to allow compiling: * blinkvideo() * intensevideo() It also implements mouse support and some functions that makes easy to use the library for Turbo Vision (char/attr buffer write and special keyboard codes). My main goal is to use it for Turbo Vision so it currently does what I need and more. I'll support a full conio implementation only if people helps to support this project. 2) License Currently all is under GPL but I could reduce it to Lesser GPL if the contributors really thinks that's needed. A full text of the license is in the copying.gpl. Copyright (C) 2001 Salvador Eduardo Tropea (SET) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 3) How to compile You need to install and get Allegro working first. Then you must modify the line that says BPP=xx in the Makefile to adjust it to your system. I used 32 bpp because my X screen is 32 bpp. I tested the library using X under Linux but it should work for other platforms. The makefile is for GNU make, so you'll need it. The makefile also assumes that `command` will return the output of running command. To compile the examples just run make and change directory to examples. Note that the rom-PC437.016 file must be in the same directory where the executables are runned. 4) Contact Send me mails to salvador AT inti DOT gov DOT ar or set AT ieee DOT org. Currently the project is in the Setedit pages at Source Forge. If I see interest on this project I'll open a separated Source Forge project for it. --------------97800D263109CBB3F3B213F8-- B3F3B213F8--