Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
83 user(s) are online (69 user(s) are browsing Forums)

Members: 2
Guests: 81

mufa, trixie, more...

Support us!

Headlines

Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by jabirulo on 2020/11/21 15:52:20

@Raziel

You need to add IFace:
struct CodesetsIFace *ICodesets = NULL;
...
ICodesets = GetInterface((struct Library *)(Codesetbase), "main", 1L, NULL);


and close at exit/end:
DropInterface( (struct Interface *)ICodesets );
ICodesets = NULL;
...

Are those missing functions part of MorphOS/OtherOS?
Or part of your port/sources?
If part of MorphOS, check MorphOS sdk autodocs and see such functions and then try to amigaos4'ize thrm.

EDIT: seems theyu a part of MorphOS charset autodoc:
charsets.library/ConvertTagList()
charsets.library/GetByteSize()

Yo can try to adapt parts in convert.c example (codesets archive) and replace in your port/sources.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project