Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
95 user(s) are online (73 user(s) are browsing Forums)

Members: 0
Guests: 95

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Where is the SDK?
Just popping in
Just popping in


See User information
After installing the latest OS4 from Hyperion I looked for the SDK but couldn't find it on their site. Any one know where it has moved to?

Bloodmoon Games has released its RPG game content for free for personal use visit http://bloodmoongames.com today, or my blogg on http://bloodmoongames.blogspot.com

Wii number is : 4394 2248 4262 8983
Go to top
Re: Where is the SDK?
Home away from home
Home away from home


See User information
@aldur

It's on Hyperion's ftp site.

I thought you were asking when the new SDK is going to appear. I wonder what's got a higher priority, OS4 for classic PowerPC machines, or, releasing an updated SDK. Personally I'd prefer a new SDK first, but it might be better if more people had access to OS4 ASAP.

Hans

Go to top
Re: Where is the SDK?
Amigans Defender
Amigans Defender


See User information
@Hans
An updated SDK is being worked on. I'm part of the team working on it. No delivery dates are available.

If you guys have any suggestions/bug reports/etc. for the OS4 SDK make sure to make them known right now.

ExecSG Team Lead
Go to top
Re: Where is the SDK?
Quite a regular
Quite a regular


See User information
@ssolie

Sooner the better for the new SDK as far as I'm concerned as I can't do any TV-card work till I've got it...

so just make sure the new SDK is nice and clear on DMA and interrupts and the like, and I'll be happy!

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top
Re: Where is the SDK?
Home away from home
Home away from home


See User information
@ssolie

I have no bug reports related to the current SDK ATM. I'd be happy just to get updated header files and autodocs. Of course, any example code will also be very useful.

My main suggestion would be to release it ASAP. But you're going to do that anyway, right?

Hans

Go to top
Re: Where is the SDK?
Amigans Defender
Amigans Defender


See User information
@Hans
Quote:
But you're going to do that anyway, right?

That is not my decision to make but I will certainly push for a release ASAP. There are no dependencies that I'm aware of that would stop it from being released at any time.

ExecSG Team Lead
Go to top
Re: Where is the SDK?
Supreme Council
Supreme Council


See User information
@ssolie

Sure, try to include the cygnix gtk2 sdk from cygnusEd ;o)

Vacca foeda. Sum, ergo edo

Mr Bobo Cornwater
Go to top
Re: Where is the SDK?
Amigans Defender
Amigans Defender


See User information
@Hans

Ditto. I want to see what's new and play around with it!

Chris

Go to top
Re: Where is the SDK? (solved)
Just popping in
Just popping in


See User information
@aldur

Bloodmoon Games has released its RPG game content for free for personal use visit http://bloodmoongames.com today, or my blogg on http://bloodmoongames.blogspot.com

Wii number is : 4394 2248 4262 8983
Go to top
Re: Where is the SDK?
Quite a regular
Quite a regular


See User information
@orgin

Unfortunately the cygnix "SDK" is incompatible with the OS4 SDK. Which is a real bummer.

Go to top
Re: Where is the SDK?
Home away from home
Home away from home


See User information
@ssolie

Actually, I now have one thing that could be clarified in the documentation. I had some trouble using ILocale->FormatString() because I was using varargs. It seems that the PowerPC version of AmigaOS has two versions of varargs, the standard one and va_startlinear()/va_getlinearva(). You also have to use the VARARGS68K macro.

Why this extra complication? Mentioning it in the documentation somewhere would be helpful.

Hans

Go to top
Re: Where is the SDK?
Amigans Defender
Amigans Defender


See User information
@Hans
Quote:
Mentioning it in the documentation somewhere would be helpful.

Perhaps you should read the migration guide again. I believe it is fully explained why varargs are handled the way they are in that document which has has been included with every SDK.

ExecSG Team Lead
Go to top
Re: Where is the SDK?
Home away from home
Home away from home


See User information
@ssolie

Quote:

ssolie wrote:
@Hans
Quote:
Mentioning it in the documentation somewhere would be helpful.

Perhaps you should read the migration guide again. I believe it is fully explained why varargs are handled the way they are in that document which has has been included with every SDK.


It is? I must have skipped over that. I'll read it again. A note in the FormatString() documentation could still be helpful though. Also, what about putting it in a document for people starting development on OS4, instead of those migrating from OS3.x?

Hans

Go to top
Re: Where is the SDK?
Just popping in
Just popping in


See User information
@Hans

Quote:

Actually, I now have one thing that could be clarified
in the documentation. I had some trouble using
ILocale->FormatString() because I was using varargs.
It seems that the PowerPC version of AmigaOS has two
versions of varargs, the standard one and
va_startlinear()/va_getlinearva().
You also have to use the VARARGS68K macro.

Why this extra complication? Mentioning it in the
documentation somewhere would be helpful.

The SDK:Documentation/Developer Info/General/os4_migration_guide.pdf
file explains that the varargs handling of the PPC SysV ABI
is incompatible to the varargs handling of the 68k.
It also explains that VARARGS68K has to be used when
backwards compatibility is needed. All OS4 system functions
are declared with the VARARGS68K attribute in the
<include/interfaces/something.h> files so I thought it
would be common knowledge that the "normal" C varargs
handling cant be used with any existing OS4 system function.

Suggestions how to modify the existing doc
Quote:

dataStream - a stream of data that is interpreted according to
the format string. Often this is a pointer into
the task's stack.

are welcome

Go to top
Re: Where is the SDK?
Home away from home
Home away from home


See User information
@TetiSoft

Quote:

TetiSoft wrote:
@Hans

The SDK:Documentation/Developer Info/General/os4_migration_guide.pdf
file explains that the varargs handling of the PPC SysV ABI
is incompatible to the varargs handling of the 68k.
It also explains that VARARGS68K has to be used when
backwards compatibility is needed. All OS4 system functions
are declared with the VARARGS68K attribute in the
<include/interfaces/something.h> files so I thought it
would be common knowledge that the "normal" C varargs
handling cant be used with any existing OS4 system function.

I have done next to no programming on OS3.x, so this knowledge was not known to me until I had my code crash on me. I have read through the migration guide before, though obviously not closely enough. I assumed that the document was more for people wanting to port stuff across, than someone starting to write native OS4 software from scratch.

Quote:

Suggestions how to modify the existing doc
Quote:

dataStream - a stream of data that is interpreted according to
the format string. Often this is a pointer into
the task's stack.

are welcome


Just add a note about the VARARGS68k thing and point to the OS4 migration guide

Hans

Go to top
Re: Where is the SDK?
Just popping in
Just popping in


See User information
@Hans

Quote:

Just add a note about the VARARGS68k thing and point to the OS4 migration guide

Done, thanks.

Go to top
Re: Where is the SDK?
Not too shy to talk
Not too shy to talk


See User information
@TetiSoft and ssolie

checkbox_gc.doc: GA_Selected method OM_GET is missing.

devices/prtbase.h: strange functionpointers in struct PrinterExtendedData.
Quote:

VOID?ped_Init(void)
VOID?ped_Expunge(void)
LONG?ped_Open(void)
VOID?ped_Close(void)

In the Comments of the pointers:
Quote:

LONG?ped_Init(struct?PrinterData?*?pd)
VOID?ped_Expunge(VOID)
LONG?ped_Open(struct?printerIO?*?ior)
VOID?ped_Close(struct?printerIO?*?ior)

And finally in the Printerdriver Example from the NDK3.9:
Quote:

VOID?DriverExpunge(VOID)
VOID?DriverInit(struct?PrinterData?*?pd)
VOID?DriverClose(struct?printerIO?*ior)
LONG?DriverOpen(struct?printerIO?*ior)


Missing Autodocs? They are only in the RKM.
- rootclass
-?icclass
-?modelclass
-?imageclass
-?frameiclass
-?sysiclass
-?fillrectclass
-?itexticlass
-?gadgetclass
-?propgclass
-?strgclass
-?buttongclass
-?frbuttonclass
-?groupgclass?

Add a new Mini IFF Kit to describe the new ILBM masking mskHasAlpha and how the BODY is changed when using it.
Check the cmpByteRun2 define, there is a old (1994) Compression technique that make use of the value 2: Aminet:gfx/conv/IFFConvert.lha

And can somebody please test if the autodocs displays correct in Tools like AutoDocViewer?

Go to top
Re: Where is the SDK?
Just popping in
Just popping in


See User information
@ZeroG

Quote:

devices/prtbase.h: strange functionpointers in struct PrinterExtendedData.
Quote:
VOID ped_Init(void)
VOID ped_Expunge(void)
LONG ped_Open(void)
VOID ped_Close(void)

In the Comments of the pointers:
Quote:
LONG ped_Init(struct PrinterData * pd)
VOID ped_Expunge(VOID)
LONG ped_Open(struct printerIO * ior)
VOID ped_Close(struct printerIO * ior)

And finally in the Printerdriver Example from the NDK3.9:
Quote:
VOID DriverExpunge(VOID)
VOID DriverInit(struct PrinterData * pd)
VOID DriverClose(struct printerIO *ior)
LONG DriverOpen(struct printerIO *ior)


Well, those strange function pointers probably date back
to the ancient times where non-ANSI C compilers had still
to be supported (which dont accept parameter lists here).

Replacing them with those from the comments is also not
possible, those are broken too, the guy who defined them
probably didnt notice that there doesnt exist a "struct printerIO"
anywhere in AmigaOS (only a "union printerIO"), and that
only old compilers wont complain about nonexisting structures
in parameter lists of a function pointer declaration.

To complicate it even more, those function pointers dont
use register arguments but stack arguments, and to finally
confuse you, they may point to PPC code which expects arguments
passed as defined in the SysV ABI.

In the current version of the include file, the function pointers
are still declared without arguments, just to force everybody to
use proper casts, and the following comments are present:

Quote:

A note on the function pointers in these data structure definitions:
unless otherwise specified, all functions expect that their parameters
are passed on the *stack* rather than in CPU registers. Every parameter
must be passed a 32 bit long word, i.e. an "UWORD" will use the same
stack space as an "ULONG".

When the printer driver is PPC native, the function pointers will
point to PPC native functions, otherwise to 68K stubs or functions.
[...]
When the printer driver is PPC native, the function pointers
point to PPC native functions.
[...]
/* called after LoadSeg, returns zero for success:
*
* LONG ped_Init(struct PrinterData * pd);
*/
[...]
/* called before UnLoadSeg:
*
* VOID ped_Expunge(VOID);
*/
[..]
/* called at OpenDevice, returns zero for success:
*
* LONG ped_Open(struct printerIO * ior);
*/
[..]
/* called at CloseDevice:
*
* VOID ped_Close(struct printerIO * ior);
*/
[...]
Starting with printer.device 51.12 PPC native printer drivers
are supported. Those must contain a global symbol "PrinterSegment"
which defines the start of the struct PrinterSegment, to keep this
in the binary, driver writers can call "strip -KPrinterSegment ...".

and the driver example source contains
Quote:

LONG SAVEDS STDARGS
DriverInit(struct PrinterData * pd)
[...]
VOID SAVEDS STDARGS
DriverExpunge(VOID)
[...]
LONG SAVEDS STDARGS
DriverOpen(union printerIO *ior UNUSED)
[...]
VOID SAVEDS STDARGS
DriverClose(union printerIO *ior UNUSED)

which allows to build both 68k and PPC drivers.

Go to top
Re: Where is the SDK?
Just popping in
Just popping in


See User information
@ZeroG

Quote:

checkbox_gc.doc: GA_Selected method OM_GET is missing.

Just fixed it, thanks.

Go to top
Re: Where is the SDK?
Not too shy to talk
Not too shy to talk


See User information
@ssolie,

When I launch SDK/C/sh, if I enter a "dir" then I have a DSI error. PErhaps, it will be good to check it in newer version.

My system hangs up if I try to trace with gdb a lowlevel.library opening.
"
Starting program: /Travaux/D?veloppement/AmigaOS/C/Programmes/Essais/bib
BS 00000000

Program received signal SIGSEGV, Segmentation fault.
0x0141d22c in ?? ()
"

Then
"
(gdb) quit
***Command 'gdb' returned with hanging Forbid!
"
When I quit gdb

I was told that it was because amigainput.library was missing. But it is still the same now I got it from update 4.

See you

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project