Poster | Thread |
NutsAboutAmiga
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 14-Oct-2014 23:35:00
| | [ #21 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12835
From: Norway | | |
|
| |
Status: Offline |
|
|
Vanhapolle
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 15-Oct-2014 1:12:59
| | [ #22 ] |
|
|
|
Regular Member |
Joined: 22-Sep-2014 Posts: 372
From: Unknown | | |
|
| I very likely going do Reaction.
ps. btw i now i think how make preview and edition window for image processing program which uses best possible way selected screenmode. |
|
Status: Offline |
|
|
Nibunnoichi
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 15-Oct-2014 10:47:46
| | [ #23 ] |
|
|
|
Cult Member |
Joined: 18-Nov-2004 Posts: 969
From: Roma + Lecco, Italia | | |
|
| @Vanhapolle
Quote:
Vanhapolle wrote: How much i must change code if i want compile old program which used OS2.04 /OS3.9 routines. and i mean modern ones not maybe AllocVec which point is nice but generally i think basic memory allocation routines work fine my needs. of course AllocVec type rountines helps coding...
|
You could start by reading this introductory article with some hints: Release 4 compatibility
_________________ Proud Amigan since 1987 Owner of various Commodore and a SAM440ep\OS4.1FE See them on http://retro.furinkan.org/ |
|
Status: Offline |
|
|
broadblues
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 15-Oct-2014 14:17:36
| | [ #24 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| @Vanhapolle
Quote:
ps. btw i now i think how make preview and edition window for image processing program which uses best possible way selected screenmode.
|
Ooh! competition! Look forward to seeing what you've produced.
Have alook at www.broad.ology.org.uk/amiga/sketchblock
In terms of screen modes on modern systems it's genaraly best to either open on the workbench or clone the workbench mode and open a second plublic screen. Or indeed just allow the user to choose, via Screens Prefs or an ASL SCreenmode requester..
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
Vanhapolle
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 17-Oct-2014 1:48:57
| | [ #25 ] |
|
|
|
Regular Member |
Joined: 22-Sep-2014 Posts: 372
From: Unknown | | |
|
| @broadblues
Yes it seems there is competion.:) Actually one idea is code modules suitable premade program but i dont yet know suitable some 68k programs have APis for this what i see aminet i think but (they are 68k) and they are more loader/saver maybe also image processing stuff some my ideas are others. like new "brushes" like Photogenics 1.2a etc but modern twist which means brush shape is not bitmap but "vector" (allows scaling without problems) and have new parameters what ths program dont support. and i dont yet have AmigaOS4.1. I you are correct way which is i meaned work serious programs in demo type stuff if i do something automatic selection is way what i want do. there is some function at least earlier what i give what i want for screen mode like bit depth,width,height. Bestway means if user selects 8bit mode shows picture best possible way still.
Last edited by Vanhapolle on 17-Oct-2014 at 01:53 AM.
|
|
Status: Offline |
|
|
broadblues
| |
Re: AmigaOS4.1 coding for example OpenScreenTags Posted on 17-Oct-2014 2:58:47
| | [ #26 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| @Vanhapolle
Quote:
Yes it seems there is competion.:) Actually one idea is code modules suitable premade program but i dont yet know suitable some 68k programs have APis for this
|
SketchBlock has an API designed for this, though documention is sparse (read non existant) for the binary API at the moment. The ARexx API is also extensive and detailed.
SketchBlock API design , in principle at least, allows the creation of Tool Plugins (Paint Erase etc etc) and Transform Plugins (which includes filters like 'contrast' and geometric transforms like 'rotate', and image creation plugins like 'fractals'). GUI controls can be added via ARexx and ProAction.
Quote:
what i see aminet i think but (they are 68k) and they are more loader/saver maybe also image processing stuff some my ideas are others. like new "brushes" like Photogenics 1.2a etc but modern twist which means brush shape is not bitmap but "vector" (allows scaling without problems) and have new parameters what ths program dont support.
|
Brush plugins is an interesting concept, tricky to acheive without sacrificing speed, due to the low level nature of such things.
Quote:
I you are correct way which is i meaned work serious programs in demo type stuff if i do something automatic selection is way what i want do. there is some function at least earlier what i give what i want for screen mode like bit depth,width,height. Bestway means if user selects 8bit mode shows picture best possible way still.
|
If I read that correctly you just need to call BestModeID() which actually works under AmigaOS4 (the 3.x version seems to return anything but the best mode, at least under WinUAE RTG)
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|