Welcome, Guest. Please login or register.

Author Topic: Allegro library  (Read 7208 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show all replies
Re: Allegro library
« on: November 02, 2008, 10:20:16 PM »
Allegro is a multimedia programming library for several platforms.  It started as an MS-DOS game making package but has since been ported to Linux, Mac, and Windows as well as several others.

Here's Allegro's homepage.
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show all replies
Re: Allegro library
« Reply #1 on: February 26, 2014, 10:45:06 AM »
I just downloaded the OS4 sources for Allegro off of OS4Depot.  Is there still an interest on the other Amiga-likes?
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show all replies
Re: Allegro library
« Reply #2 on: February 27, 2014, 04:06:08 PM »
@Calimeiro

Are you referring to the DOS version?  If so then yes, I agree this is a hacker library.  Are you referring to the Windows library on anything newer than XP?  A Mac newer than 10.5.x Leopard?  If so I'd also have to agree that this library has not aged well.

I used to run Allegro games on my Pentium III 800 MHz under Windows ME and it worked well in that environment using the Windows backend.  Since the OS backend of Allegro determines how hackish it is, don't you think I can control some of the hackishness of the library by limiting it to AGA only?  This will limit it to 256-color ModeX capabilities and 16-color capabilities for now.

My first priority for now is to make a software/hardware hybrid mode for the Scene Render APIs as used by AllegroGL.  This means 16-color textures and 16 shading levels.  The only blitter function will be the polygon fill mode to do the shading.  The texture mapping will be chunky-to-planar as usual and be CPU driven at 4 bits per pixel.

My next priority is to map the ModeX capabilities from the DOS version to the equivalent Copper interrupts.

Concerns:  The Blitter may not be fast enough to do much more than the poly-fills under Scene render.  There isn't much open-source software for Allegro.

Perks:  AllegroGL will be a good addition to the AGA chipset libraries for coders wishing to write software on their old system, especially since the OpenGL wrappers will be upward compatible to graphics cards on other operating systems such as the AROS version of Mesa.