Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
12 crawler(s) on-line.
 147 guest(s) on-line.
 1 member(s) on-line.


 OlafS25

You are an anonymous user.
Register Now!
 OlafS25:  1 min ago
 zipper:  44 mins ago
 pixie:  59 mins ago
 amigakit:  1 hr 2 mins ago
 RobertB:  1 hr 3 mins ago
 bhabbott:  1 hr 32 mins ago
 jPV:  2 hrs 12 mins ago
 matthey:  2 hrs 13 mins ago
 AmiKit:  2 hrs 13 mins ago
 Musashi5150:  2 hrs 34 mins ago

Software News   Software News : new afa OS 3.93.1
   posted by bernd_afa on 14-Apr-2006 16:14:18 (5473 reads)
Here can download it http://amidevcpp.amiga-world.de/afa_binarie_upload.php

AFA OS is a way to give OS3.x the new features by using AROS Code.
Currently most important features of MOS OS4 are add
AFA OS is Design to enhance every Cloesedsource Amiga OS if it miss features AROS have. but compare to AROS it is full compatible to OS3.x



New in 3.93.1

because P96 and CGX libraries are large enough for new functions they are not create new.This save a little memory
and AFA work now with saferpatches program too and maybe avoid other problems

Ken Lester have draw a Prefs Icon for AFA(thanks to him)

a deadlock is fixed when on slow systems move the slider of a Stormwizard GUI listview that use AA truetype Fonts
very fast longer than 8 seconds.

picture datatypes fixes

backgroundpicture in magicmenu is now show

1-256 color pictures work now with dtm_readpixelarray.Amistart can use iff 1-256 color pics for backgrounds
1-256 color backgroundpattern draw in MUI is faster than older AFA picturedatatype

offical AROS Fix from Georg Steger

penfree draw add.Work Sourcecompatible to MOS and AROS

Now all important new functions of OS4 and MOS are add.

If you still miss a function for your program let me know,i think its not much work to implement that

execlibrary use now only the funcs that need for new features.This help that afa dows not overwrite the patches
that bvision powerup rom install early and allow PPC programs work with powerup

FreeMem(mempointer,size) is now allow when mempointer=0 to be compatible to AOS.
This help some programs (rcftp,rawbinfo with pngicons) to not crash

    

STORYID: 3023
Related Links
· More about Software News
· News by bernd_afa


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
Mobileconnect 
Re: new afa OS 3.93.1
Posted on 15-Apr-2006 21:28:24
#21 ]
Regular Member
Joined: 13-Jun-2003
Posts: 478
From: Unknown

Quote:
>I'm interested to know how to just install the capability to have anti aliased fonts, without any of the other changes.


Quote:
best is install AFA and remove picture_datatype.exe ilbm.datatype.exe and exec_lib.exe from afa_os_libs


Thanks, that did the trick. The anti aliasing works well, and anyway I found that AmiDock and other apps like AWeb couldn't load images when the datatype patches were active.

Do you know if the freetype2.library is built with the full bytecode interpreter?

Also the fonts required lots of tweaking with the font manager to make them look right - using Vera Mono I got double spaces between characters. Maybe more metrics could be read from the font itself to set the defaults. For example, the older ttflib (not to be confused with ttengine) does a much better job of interpreting the files' metrics.


_________________

 Status: Offline
Profile     Report this post  
Fransexy 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 0:30:30
#22 ]
Elite Member
Joined: 8-Jun-2004
Posts: 2334
From: Elche (Alicante), spain

Why not simply port AROS to Amiga 68k or blizzard PPC? and then add the missing parts with 3.9 exes instead the inverse like you have done

Last edited by Fransexy on 16-Apr-2006 at 12:32 AM.


_________________
No PowerPC, No Fun
Make Amiga Great Again

 Status: Offline
Profile     Report this post  
Snuffy 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 4:07:46
#23 ]
Super Member
Joined: 25-Oct-2005
Posts: 1121
From: Michigan, USA

Thanks for explanation--

'Afa stands for AROS For Amiga, hence it's quite obvious what API it uses...


_________________

 Status: Offline
Profile     Report this post  
mattk 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 4:44:07
#24 ]
Regular Member
Joined: 7-Mar-2003
Posts: 242
From: England

@Snuffy

Quote:
Thanks for explanation--
'Afa stands for AROS For Amiga, hence it's quite obvious what API it uses...

Yes: the MorphOS one.

(But what does 'AROS' stand for these days?)


_________________
Matt

 Status: Offline
Profile     Report this post  
bernd_afa 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 11:12:20
#25 ]
Cult Member
Joined: 14-Apr-2006
Posts: 829
From: Unknown

>This is computed at run time and still works when a function branches to another routine (well, most of the time

I search for function on Aminet,but nothing found.sure teh name is correct ?

This tool is usefull too.I like to have the best possibility tzo find Bugs

>Why not simply port AROS to Amiga 68k or blizzard PPC? and then add the missing parts with 3.9
>exes instead the inverse like you have done

because OS3.x miss not much features to get new MOS and OS4 features.also GFX harddrive CD drivers must written when use
AROS.
gfx drivers are need because on amigaOS there is no public GFX driver writing possible.On CGX or P96 only the developers
can write GFX drivers.So old drivers cant use in AROS because AROS have too a own GFX driver concept that is of course
public for all to write GFX Card drivers

most problem for filesystem is that AROS have no dospackets.so no 68k filedrivers work.also asyncio library dont work

Also AROS miss lot of features to get compatible.
Because AOS is not very good documentet there are much undocumentet features in.

All know that developers dont like write docu.So it is sure that original AOS have lots more "developer friendly features"
as documentet.

But this was only find by test the real world.rcftp crash and rawbinfo crash when move a png icon on it.

Because the amiga have the problem that most software is not furtherdevelop i think it is better be AOS compatible.
For example:On OS3.x it is save to use FreeMem with mempointer=0.No total AOS crash.
But this stand not in the RKM.In RKM stand only that FreeVec is save to work with mempointer=0.
But on OS3.x all AmigaOS freemem funcs are save to work with 0 pointer.
this reduce the risc of crash whole system and avoid that the developer must write extra code and cant create a Bug
and create a total OS Crash because the OS function do that

if (mempointer)FreeMem(mempointer,size); is strict RKM
FreeMem(mempointer,size); is undocumentet OS3.x feature.Now add to AFA and AROS too and hopefully update the RKM docs
(copy the line from freevec to freemem freepooled)

"
INPUTS
memoryBlock - pointer to the memory block to free, or NULL.
"

It is much more easy to develop a OS that implement only the RKM features.But it help nothing when you have a OS that offer only exact the RKM features but many programs dont work and noone
fix them and cost additional developer time.if development cost too much time there are other OS out that make life more
easy a developer think and result is byebye amiga.

some undocumentet usefull features happen too with the picture datatype.It sound stupid,but this simple small piece of code
cost me ca 80% of develop time in AFA.And thats only because original picture datatype is not here.To get alpha
support only ca 4-6 lines must add to original datatype.

A simple rule is.The more new code you use the more new Bugs can appear.So i do all step by step.
No hurry,if a AFA module is not 100% compatible you can remove it easy and use old code.You allways have a full
working OS and you miss no old features.

I dont believe when i compile AROS for 68k diropus magellan or scalos or workbench run on AROS.
They sit to deep in the system
So it have the same limits AROS currently have.No good usable desktop.

So i see the chance near 0 that a 68k AROS really can run much more programs than a X86 or PPC AROS.

 Status: Offline
Profile     Report this post  
bernd_afa 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 11:16:00
#26 ]
Cult Member
Joined: 14-Apr-2006
Posts: 829
From: Unknown

>and anyway I found that AmiDock and other apps like AWeb couldn't load images >when the datatype patches were active.

What format are the pictures ?.Iff jpeg or something other ?.

 Status: Offline
Profile     Report this post  
bernd_afa 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 11:35:20
#27 ]
Cult Member
Joined: 14-Apr-2006
Posts: 829
From: Unknown

>Also the fonts required lots of tweaking with the font manager to make them look >right - using Vera Mono I got double spaces between characters.

This happen when you use no diskfont_lib.exe.with old the space in fixed space fonts is too large but proportional fints are show correct.

How freetype work i dont know.Freetype.library is port from the MOS team and made available in exchange to AROS diskfont library written from Georg Steger

Also a AROS dos library was available as source with packet support add from MOS team.also MOS Team have add to AROS intuition lib skin support.normaly it is a code exchange

I hear in 2003 as OS4 was not out,they say that this libs should not out for public.not that the OS4 team can grab code.The AROS team agree.

But now OS4 is here the situation have changed.I dont think that OS4 now need grab code.packets and skins help AROS and is MOS use AROS code it is right to make available

 Status: Offline
Profile     Report this post  
Georg 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 12:11:24
#28 ]
Regular Member
Joined: 14-May-2003
Posts: 451
From: Unknown

Quote:
Also the fonts required lots of tweaking with the font manager to make them look right - using Vera Mono I got double spaces between characters.


Reinstall the font with ftmanager but change "Space Width" settings to 4263.

@Bernd:

In ftmanager.c for some reason they had the first check (is font fixed width) commented out. If I remove comment, the space width calculated is correct (like ttflib). Then for fixed fonts, the space width is always taken from face->max_advance_width and not from SPACE char if possible. It can also be that the SPACE char width calculation is wrong as it is strange that it ends up being greater than face->max_advance_width.

if (//!(face->face_flags & FT_FACE_FLAG_FIXED_WIDTH) &&
FT_Set_Char_Size(face, 250 * 64, 250 * 64, 2540, 2540) == 0 &&
FT_Load_Char(face, ' ', FT_LOAD_DEFAULT) == 0)
{

As I don't know why that check was commented out it can also be that it is there for a reason and causes problems with some fixed fonts.

 Status: Offline
Profile     Report this post  
srupprecht 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 12:12:36
#29 ]
Regular Member
Joined: 23-Sep-2003
Posts: 166
From: Unknown

Quote:
>This is computed at run time and still works when a function branches to another routine (well, most of the time

I search for function on Aminet,but nothing found.sure teh name is correct ?


It's part of a software package, can't remember which one it is (maybe identify_lib or patchwork).


_________________
Stephan Rupprecht - AmigaOS4 developer

 Status: Offline
Profile     Report this post  
bernd_afa 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 14:34:47
#30 ]
Cult Member
Joined: 14-Apr-2006
Posts: 829
From: Unknown

For better OS4 source compatibility.I look in the Free OS4 SDK doku and see no Tag for penfreemode

i see in file graphics.doc from 23 Feb 2005

and picasso96api.doc from 30.Oct 2005

alpha channel is declare as unused
i see no OS4 functions that work with alphachannel.

so SDK look as OS4 dont have this features

graphics.library/SetRPAttrsA graphics.library/SetRPAttrsA

NAME
SetRPAttrsA -- modify rastport settings via a tag list
SetRPAttrs -- varargs stub for SetRPAttrsA

SYNOPSIS
SetRPAttrsA(rp, tags)

VOID SetRPAttrsA(struct RastPort *, CONST struct TagItem *);

SetRPAttrs(rp, tag1, ...);

FUNCTION
Modify settings of a rastport, based on the taglist passed.
currently available tags are:

RPTAG_Font Font for Text()
RPTAG_APen Primary rendering pen
RPTAG_BPen Secondary rendering pen
RPTAG_DrMd Drawing mode (see graphics/rastport.h)
RPTAG_OutlinePen Area Outline pen
RPTAG_WriteMask Bit Mask for writing.
RPTAG_MaxPen Maximum pen to render (see SetMaxPen())

INPUTS
rp - pointer to the RastPort to modify.
tags - a standard tag list



Picasso96API.library/--color formats--
The Picasso96API.library supports different color formats:
Chunky:
CLUT: 8bit chunky with palette
HiColor:
R5G5B5: 15bit HiColor (0rrrrrgggggbbbbb)
R5G5B5PC: 15bit HiColor (gggbbbbb0rrrrrgg)
B5G5R5PC: 15bit HiColor (gggrrrrr0bbbbbbgg)
R5G6B5: 16bit HiColor (rrrrrggggggbbbbb)
R5G6B5PC: 16bit HiColor (gggbbbbbrrrrrggg)
B5G6R5PC: 16bit HiColor (gggrrrrrbbbbbggg)
TrueColor:
R8G8B8: 24bit TrueColor (8 bit each)
B8G8R8: 24bit TrueColor (8 bit each)
A8R8G8B8: 32bit TrueColor ARGB (A unused alpha channel)
A8B8G8R8: 32bit TrueColor ABGR (A unused alpha channel)
R8G8B8A8: 32bit TrueColor RGBA (A unused alpha channel)
B8G8R8A8: 32bit TrueColor BGRA (A unused alpha channel)
YUV:
RGBFB_Y4U2V2: 2byte TrueColor (CCIR recommendation CCIR601)
RGBFB_Y4U1V1: 1byte TrueColor ACCUPAK (used on Cirrus GD5446)

 Status: Offline
Profile     Report this post  
mattk 
Re: new afa OS 3.93.1
Posted on 16-Apr-2006 14:48:32
#31 ]
Regular Member
Joined: 7-Mar-2003
Posts: 242
From: England

@bernd_afa

Hmm, looks like the graphics autodoc is out of date. Have a look at graphics/rpattr.h instead:

RPTAG_Font
RPTAG_APen
RPTAG_BPen
RPTAG_DrMd
RPTAG_OutLinePen
RPTAG_OutlinePen
RPTAG_WriteMask
RPTAG_MaxPen
RPTAG_DrawBounds
RPTAG_APenColor
RPTAG_BPenColor
RPTAG_OPenColor
RPTAG_CloneRP
RPTAG_BitMap

APenColor and BPenColor take an 0xaarrggbb value.


_________________
Matt

 Status: Offline
Profile     Report this post  
jmbattle 
Re: new afa OS 3.93.1
Posted on 17-Apr-2006 9:38:17
#32 ]
Regular Member
Joined: 31-May-2005
Posts: 277
From: Hamamatsu, Japan

Splendid job Bernd (and Georg), thank you for breathing new life into the classic AmigaOS.

Cheers,
James
x

 Status: Offline
Profile     Report this post  
bernd_afa 
Re: new afa OS 3.93.1
Posted on 17-Apr-2006 12:19:16
#33 ]
Cult Member
Joined: 14-Apr-2006
Posts: 829
From: Unknown

I see that OS4 support no alpha blit functions.there is a third party lib.libablit.

"""
The ABLIT library provides a BltBitMap() compatible function call which adds the
missing alpha channel and blend support to AmigaOS (4.0). It also contains some
"""

I look into it and look that AFA create the lib on the fly in the graphics_lib.exe and wrap the functions.so OS4 sources can use too.
But better is if this library is build for every system(the SDL funcs dont need)

But i think that the AUthor of the lib create a lib for 68k is impossible in PPC War.
So developers are the main rule in the Split of amiga OS

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle