Recent

Author Topic: Pascal eXtended Library (aka Asphyre) released!  (Read 75886 times)

ykot

  • Full Member
  • ***
  • Posts: 141
Pascal eXtended Library (aka Asphyre) released!
« on: October 04, 2015, 05:35:38 am »
Hello,

Just wanted to let you know that a new framework based on Asphyre has been released. It is called Pascal eXtended Library.

This release requires latest versions of FreePascal and Lazarus from the trunk. It supports the following platforms:
  • Windows 32-bit and 64-bit
  • Linux 32-bit, 64-bit and ARM
  • Mac OS X (32-bit Carbon and 64-bit Cocoa)
  • Linux on embedded / singleboard devices
  • Android ARM and Intel
For graphics, it has providers for OpenGL, OpenGL ES, Direct3D 7, Direct3D 9 and Direct3D 11, also featuring new Software Renderer, which works on all platforms, including embedded / singleboard devices. Full mathematical library to work with points, vectors, matrices and quaternions is also included.

For embedded / singleboard devices, this release supports:
  • Raspberry PI: fast access via CPU registers for system clock, GPIO, I2C and SPI. Rendering with GPU is also supported.
  • Intel Galileo: GPIO, PWM, ADC, I2C, SPI and UART, with automatic pin multiplexing and fast I/O pins.
  • Generic boards such as BeagleBone Black and Olimex with support for GPIO, I2C, SPI, UART and V4L2 video through Linux interfaces.
  • Support for several external display controllers, sensors and cameras.
Full source code is provided and released under LGPL. You can download the packages from web site: http://afterwarp.net

Please note that I'm still adding more content to the web site and configuring forums; I'll be also mirroring source code on GitHub and adding tutorials on how to configure FreePascal / Lazarus and this library for aforementioned platforms. This is still a huge amount of work, so please be patient.

eny

  • Hero Member
  • *****
  • Posts: 1646
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #1 on: October 04, 2015, 10:58:50 am »
Could be nice if it had some documentation.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

derek.john.evans

  • Guest
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #2 on: October 04, 2015, 11:01:28 am »
Could be nice if it had some documentation.

I actually thought this was enough:
http://afterwarp.net/pxl/help/

Great work, but I cant see anything I need atm.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1793
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #3 on: October 04, 2015, 11:55:26 am »
Very nice library !! Thanks.
Everything runs out of the box, even on my Phone (Android) and RPi2 !!!

Please host it on GitHub or one of its likes.
Than I am able to add it to the fpcup modules !

eny

  • Hero Member
  • *****
  • Posts: 1646
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #4 on: October 04, 2015, 12:10:56 pm »
I actually thought this was enough:
http://afterwarp.net/pxl/help/
Nope.
A dump of all classes unfortunately is not documentation and does not explain how to 'do things'.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

derek.john.evans

  • Guest
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #5 on: October 04, 2015, 12:15:33 pm »
A dump of all classes unfortunately is not documentation and does not explain how to 'do things'.

O, MY GOD! Have you ever thought it costs time/money to explain to _you_ how to do something!

What is wrong with this forum!

Here is a f-ing idea. How about you offer your time to document a library?

What the f is wrong with people these days.


derek.john.evans

  • Guest
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #6 on: October 04, 2015, 12:22:24 pm »
My vote is to have a "douchebag" voting system. Everytime someone says something STUPID. People have the option of increasing their douchebag-ness.

JanRoza

  • Hero Member
  • *****
  • Posts: 703
    • http://www.silentwings.nl
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #7 on: October 04, 2015, 02:46:13 pm »
On this forum I am used to polite members, using the F word time and time again because you think someone asks a stupid question is not the kind of message I'm used to in this forum, I call this just rude.
There are no stupid questions, only stupid answers. Nobody says you have to answer every post.
Maybe just call out the F word aloud behind your computer and continue reading the next forum message.
OS: Windows 11 / Linux Mint 22
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.50 FPC 3.3.1

derek.john.evans

  • Guest
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #8 on: October 04, 2015, 03:06:49 pm »
Trust me. I have my "I'll be nice limit", then I see someone who abuses a humans efforts, and I go ballistic. This set me off!

I actually thought this was enough:
http://afterwarp.net/pxl/help/
Nope.
A dump of all classes unfortunately is not documentation and does not explain how to 'do things'.


Sorry, But that is just rude, insulting and everything I hate about the human species.

« Last Edit: October 04, 2015, 03:10:28 pm by Geepster »

ykot

  • Full Member
  • ***
  • Posts: 141
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #9 on: October 04, 2015, 05:00:48 pm »
Thank you guys for the comments.

Regarding the documentation, both online and local (w/search) documentation covers 90% of methods in the library, where each function, type and constant value are explained (even each member of enumeration); nevertheless, there are many units such as DirectX / OpenGL providers that override base classes and implement their methods without adding anything new - I haven't yet decided how to pursuit those as documenting them will be of little to no use. There are still few units, however, that do need to be documented. This and more samples are planned to be worked on, but that'll follow as soon as I finish things with the web site.

As I've mentioned, I will be adding tutorials, documenting how to cross-compile to all supported platforms, preparing FreePascal and so on. If platforms such as Windows or Linux are easy, cross-compiling to Raspberry PI and other devices can be quite tricky - for instance, to compile GPU samples, there is a handful of ".so" files that need to be copied from the device to be able to link properly; for example, Android requires a bit different workflow, where you work inside Lazarus and compile from there, but then go to Eclipse to deploy the application. This is what I'll be doing in the next couple of days and will try to explain everything. :)

Edit: source code has been uploaded to GitHub.
« Last Edit: October 04, 2015, 05:55:38 pm by ykot »

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #10 on: October 04, 2015, 06:36:37 pm »
Just wanted to let you know that a new framework based on Asphyre has been released. It is called Pascal eXtended Library.

Are you the original author of Asphyre or successor?
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

ykot

  • Full Member
  • ***
  • Posts: 141
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #11 on: October 04, 2015, 07:08:34 pm »
Are you the original author of Asphyre or successor?
As long as my memory serves me well, I'm still the original author. :)

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #12 on: October 04, 2015, 07:14:18 pm »
As long as my memory serves me well, I'm still the original author. :)

So you are no longer working for Embarcadero (Borincodembarcidera) ? ;) IIRC this was the reason why Asphire was suspended.
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

ykot

  • Full Member
  • ***
  • Posts: 141
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #13 on: October 04, 2015, 07:47:38 pm »
So you are no longer working for Embarcadero (Borincodembarcidera) ? ;) IIRC this was the reason why Asphire was suspended.

Yes, I've worked for Embarcadero for three years, on some specific projects and as lead FM architect (until I quit on May this year), but no, that wasn't the reason why Asphyre was suspended. One of the main reasons was that my son was born, which completely redefined time allocation and priorities; in fact, I even wanted to go "offline" completely... uh well, maybe next time. :) And now, since I'm involved in several research projects including areas of meteorology and volcano monitoring, I've retaken Asphyre/PXL project as it's the main framework we use.
« Last Edit: October 04, 2015, 07:53:39 pm by ykot »

hnb

  • Sr. Member
  • ****
  • Posts: 270
Re: Pascal eXtended Library (aka Asphyre) released!
« Reply #14 on: October 04, 2015, 08:53:34 pm »
One of the main reasons was that my son was born, which completely redefined time allocation and priorities; in fact, I even wanted to go "offline" completely... uh well, maybe next time. :) And now, since I'm involved in several research projects including areas of meteorology and volcano monitoring, I've retaken Asphyre/PXL project as it's the main framework we use.

I am happy that you are online again :) I worked for them too, but in the days of XE2.

Can you change LGPL to LGPL + static linking exception or to MPL? AFAIK with pure LGPL is useless to any closed source project :<
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

 

TinyPortal © 2005-2018