Poster | Thread |
Hypex
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 15:14:51
| | [ #21 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11204
From: Greensborough, Australia | | |
|
| @Vanhapolle
Unless you really need low level functions the best thing to do is to stick to graphics.library functions. This simplifies your code and works from OS3 up and in the least OS4.0. The graphics.library can work with RTG and BOOPSI/Datatypes can be used to load images or other routines. |
|
Status: Offline |
|
|
Hypex
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 15:16:22
| | [ #22 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11204
From: Greensborough, Australia | | |
|
| @mailman2
Quote:
x86 AROS is not Amiga OS compatible |
How so? The API is compatible with AmigaOS 3.1. |
|
Status: Offline |
|
|
Vanhapolle
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 16:13:02
| | [ #23 ] |
|
|
|
Regular Member |
Joined: 22-Sep-2014 Posts: 372
From: Unknown | | |
|
| if i stick graphics.library how i can use it blit truecolor chunky pixelarrays? and draw other things in truecolor ? and i mean OS4.1. i think i have some example using truecolor in MOS. ps. 3.0 support is still thing what i bet needs some changes... at least 4.0 changes how reaction works etc... |
|
Status: Offline |
|
|
Vanhapolle
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 16:16:02
| | [ #24 ] |
|
|
|
Regular Member |
Joined: 22-Sep-2014 Posts: 372
From: Unknown | | |
|
| @Vanhapolle
i found such source is very old but anyway. and dont tell how truecolour bitmaps are handled with graphics.library in MOS? and i this example is MOS not AOS4.1.
|
|
Status: Offline |
|
|
davebraco
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 16:33:51
| | [ #25 ] |
|
|
|
Regular Member |
Joined: 3-Jan-2005 Posts: 132
From: Belgium | | |
|
| |
Status: Offline |
|
|
itix
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 17:52:11
| | [ #26 ] |
|
|
|
Elite Member |
Joined: 22-Dec-2004 Posts: 3398
From: Freedom world | | |
|
| @Vanhapolle
Old graphics.library calls (even on OS3) work just fine with true colour bitmaps. You just cant manipulate bitmaps directly because there is no way to lock down bitmaps and get pointer to raw data. _________________ Amiga Developer Amiga 500, Efika, Mac Mini and PowerBook |
|
Status: Offline |
|
|
mailman2
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 18:17:11
| | [ #27 ] |
|
|
|
Member |
Joined: 6-Mar-2011 Posts: 33
From: Unknown | | |
|
| @Hypex
data in Amiga OS 3.x are big endian.
No big endian means x86 AROS API is NOT compatible with AmigaOS 3.1.
|
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 19:23:16
| | [ #28 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12817
From: Norway | | |
|
| @Vanhapolle
Quote:
if i stick graphics.library how i can use it blit truecolor chunky pixelarrays? and draw other things in truecolor ? and i mean OS4.1. |
Historically graphics.library was just planar graphics, picasso96 was add-on that provided true color support, but things are changing more and more of library functions are being moved/copied from picasso96 into graphics.library
I'm not sure what you have in your current SDK or not, right now I think you should stick to picasso96.library at least until AmigaOS4.1 final and updated SDK.
Quote:
ps. 3.0 support is still thing what i bet needs some changes... at least 4.0 changes how reaction works etc. |
If you wont to support 3.0 API, you will need to stick to Pens and Colors, most classic Amiga computers only have AGA/ECS/OCS graphics, so no true color support._________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
Vanhapolle
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 15-Nov-2014 21:33:04
| | [ #29 ] |
|
|
|
Regular Member |
Joined: 22-Sep-2014 Posts: 372
From: Unknown | | |
|
| @NutsAboutAmiga
I loaded latest SDK for both. i mean AmigaOS4.1 and MorphOS3.7. and i must wait AmigaOS4.1 final edition beouse older versions are now unavailable what i heared (and i dont know when i have budget for MOS3.7 registered but i hope in next month). Is hard wait time when i can code but maybe before this i test if i understand few datatype realated things correctly as i allready sayed. palette based graphics for this idea is very complex. i dont simply know good way display truecolour graphics with OCS/ECS/AGA. i mean preview waylike Photogenics dithers all graphics fixed palette whem you use palette based mode.
|
|
Status: Offline |
|
|
Hypex
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 22-Nov-2014 15:18:55
| | [ #30 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11204
From: Greensborough, Australia | | |
|
| @Vanhapolle
You need to use OS functions to load and create the BitMaps for you. Intuition and Datatypes is good for this. You could also decode RGB data yourself and pass it to the OS, that should work.
So then you just pass around an RTG BitMap and don't manipulate it directly. It also keeps your code cleaner this way. And avoids partitcular RTG libraries if you really don't need them. |
|
Status: Offline |
|
|
Hypex
| |
Re: Is safe use picasso96 routines in AmigaOS4.1? and CybergraphicsX in MorphOS3.7? Posted on 22-Nov-2014 15:23:22
| | [ #31 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11204
From: Greensborough, Australia | | |
|
| @mailman2
Oh I see. Welll that really would be the ABI rather than the API. But of course x86 has data in different format. Which is funny as I was in a debate recently where it was argued that AmigaOS strutures are not in a big endian format.
But it is source compatible so sources can cross compile. And in portable code this would matter most. |
|
Status: Offline |
|
|