Welcome, Guest. Please login or register.

Author Topic: AmigaOS 4 Unofficial Developers FAQ  (Read 5163 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
AmigaOS 4 Unofficial Developers FAQ
« on: May 22, 2002, 02:52:37 AM »
A quick Q&A session has been posted online at the eXec magazine going over some of the details in the AmigaOS4 development.  If you have something you want add or if you have further questions send it to os4faq@amiga.pl

I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com
 

Offline Kay

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 623
    • Show only replies by Kay
    • http://www.stud.ntnu.no/~kayare
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #1 on: May 22, 2002, 06:10:58 AM »
Hmm...looking forward to Java support...it's the only language I've managed to code anything of significance in so far (almost working monopoly game, and server program for multiplayer adventure game). I keep wanting to improve my C skills, so I can spend some spare time coding for the Amiga. Unfortunately I just never have the time. Maybe I should go for C++ instead, to utilize my OO-experience. Does anybody here have any experience with C++? How does it compare to C and Java?

Kay
 

Offline redrumloa

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #2 on: May 22, 2002, 06:38:52 AM »
>>Will dos.library's maximum file length limit be removed?

>No. This is not possible due to internal data structures.

Huh? Stil 28 char file names? I hope that I read this wrong!!!

 :-(
Someone has to state the obvious and that someone is me!
 

Offline The_Editor

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1863
    • Show only replies by The_Editor
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #3 on: May 22, 2002, 06:47:04 AM »
As a Non Linear Video Editor Im hoping that there wont be any maximum file size limit as was the case With Wndows until Win2k was released.

I am REALLY hoping to move my nle stuff over to A1.
(Absolutely pig sick of WinTel)

So if any scouts from Matrox are surfing through here,  put in a good word for us and get your RT2500 coded for A1 ... Pretty please...  ;-)
The Reluctant Pom
 

Offline MasterOfReality

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 146
    • Show only replies by MasterOfReality
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #4 on: May 22, 2002, 10:07:52 AM »
I think the DOS limit may be a bit longer than the WB limit. I
remember Ben Hermans posting on ANN backalong that 128ch was the
longest possible name length. Hopefully this is the DOS limit he's
talking about.

Don't quote me on this though...
 

Offline csirac_

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 154
    • Show only replies by csirac_
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #5 on: May 22, 2002, 11:43:33 AM »
I think you will find "file length" limit refers to exactly that, the file length. Anyone that uses SFS knows that 100 character file names are not a problem (except with my old (commercial) copy of Dopus 4). IIRC the SFS docs say that they limited the filenames to 100 chars because of dos.library;
SFS docs:

Quote
- Fast reading of directories.
- Fast seeking, even in extremely large files.
- Blocksizes of 512 bytes up to 32768 bytes (32 kB) are supported.
- Supports large partitions. The limit is about 2000 GB, but it can be more depending on the blocksize.
Support for partitions larger than 4 GB or partitions located (partially) beyond the 4 GB barrier on your drive. There is support for New Style Devices (NSD) which support 64 bit access, the 64-bit trackdisk commands and SCSI direct.
- The length of file and directory names is internally limited only by blocksize.  Limitations in the dos.library however will reduce the effective length of file and directory names to about 100 characters.
- The size of a file in bytes is limited to slightly less than 4 GB. Because of limitations in dos.library we will however probably not allow files larger than 2 GB, to avoid potential problems.


So... a new FFS system should be able to match/exceed these specs, since they ARE playing with actual Amiga source code ;)

Cheers,

- Paul
 

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #6 on: May 22, 2002, 04:12:54 PM »
Quote

>>Will dos.library's maximum file length limit be removed?

>No. This is not possible due to internal data structures.

Huh? Stil 28 char file names? I hope that I read this wrong!!!


You are wrong. DOS limits filenames to 107 charactors, its FFS that is limited to 31. Presumably OS4 FFS will support full-length names, like some third-party filesystems do.
Playstation Network ID: xeron6
 

Offline System

  • Full Member
  • ***
  • Join Date: Jul 2003
  • Posts: 199
    • Show only replies by System
    • http://amiga.org
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #7 on: May 22, 2002, 04:26:34 PM »
Quote
Hmm...looking forward to Java support...it's the only language I've managed to code anything of significance in so far (almost working monopoly game, and server program for multiplayer adventure game). I keep wanting to improve my C skills, so I can spend some spare time coding for the Amiga. Unfortunately I just never have the time. Maybe I should go for C++ instead, to utilize my OO-experience. Does anybody here have any experience with C++? How does it compare to C and Java?

For most application development C++ is better than Java, first of all, it performs way better, second of all, it's more consequent (imo). When it comes to comparing to C, well, if you code in good manners you get code that is way more structured than in C (OO kinda does that for you), and it's typesafe (if you behave) etc. You might want to look at this page that my apartment-mate did: learn why java isn't a great language
 

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #8 on: May 22, 2002, 04:53:56 PM »
Quote
For most application development C++ is better than Java


Before you go off hooping and hollaring at how much better C++ is over Java I'm going to have to contest your arguments for application development.

While C++ is very robust and the perfect language for a lot of things, that does not arbitrarily make C++ better than Java.  Instead it gives C++ a great advantage over Java in many respects.  Now then, if you take C++ and compare it to Java where Java all out rules in, there's absolutely no comparison.  Java web application development is damn powerful and you can build enterprise level applications in a matter of hours where C++ would take quite a few more bits and bobs to pull off.  While I agree that Java is not the perfect language in comparison, but when I'm looking to write applications that are 100% cross platform compliant without the need for a complete rewrite or heavy abstract object layers, Java is my tool of choice.

I wrote a good Notepad replacement that allows for configurable hot keys and supports text styling... works on the Mac, works on Windows, and even works on the AmigaDE.  The design is very small and has a tiny footprint, it accepts file arguements and will open up multiple files if needed.  I built a find and replace as well as toggle case and simple macro recording.  I was able to write that in about one weeks time for my needs.  To do the same in C++ would take quite a bit of time to support Mac, Windows, AmigaDE, Linux, and a myraid of other platforms would be a headache and a half.  A notepad isn't something that requires hellified CPU time but to make arguments a bit on light side, perhaps C would be a better choice over C++ in comparison for games development.

Before you start thinking that Java isn't a great language, you really should find out what the strengths are so that you can exploit them.  A good Coder knows when to use one language over the other rather than all out shunning specific languages for their strengths.

:pint:
I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com
 

Offline Coder

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2996
    • Show only replies by Coder
    • http://www.amiga.nl
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #9 on: May 22, 2002, 05:05:11 PM »
Hi Kent,

Are you really active with AmigaDE?

Coder
Check it out - I found the ass-end!
 

Offline Kay

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 623
    • Show only replies by Kay
    • http://www.stud.ntnu.no/~kayare
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #10 on: May 22, 2002, 05:17:27 PM »
> For most application development C++ is better than Java, first of
> all, it performs way better, second of all, it's more consequent
> (imo). When it comes to comparing to C, well, if you code in good
> manners you get code that is way more structured than in C (OO kinda
> does that for you), and it's typesafe (if you behave) etc. You might
> want to look at this page that my apartment-mate did: learn why java
> isn't a great language

Well, yes, I figure that C++ has advantages when it comes to application
development. Java is no speed demon. The advantage of it, though, is that
it is really easy to use once you get the hang of it, and that there is a
whole heap of built-in functionality, like loading and displaying gifs,
jpegs and even html documents. I had a look at your mates page, and he raises
many good points, although I just have to point out: Taking a parameter by
value can be done more elegantly than he does:

object.myMethod(p.clone());
<...>
public myMethod(MyClass p){
}

And it's really quite natural to do, once you get the hang of Java and know
what you're doing.

Still, I guess I'll be looking into C++ this summer. Does anybody know of any
good books on the subject?

Kay
 

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #11 on: May 22, 2002, 05:17:43 PM »
Quote
Are you really active with AmigaDE?


I wouldn't say that I'm hard core, it's more my hobby than anything else.  I dabble in VP and C but my largest effort is in Java and playing around with the native layer bytecode.  Eventually I hope to finish and release a small Java program I've been developing that is similar in design to NetInfo.  Thanks to Java's inherent nature to the web, a NetInfo type program is best written in Java so there's no extreme overhead.  Most of my knowledge is in web application development through the J2EE Module-2 design (not applets), so I'm really pressing for full Servlet2.3 and JSP1.2 APIs or better in the AmigaDE Java layer.  I've been working on one project for a number of years now and I'm getting ready to relaunch it.  Part of my efforts on Amiga compliant JavaScripts and html design are a part of it.

You?

:pint:
I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com
 

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #12 on: May 22, 2002, 05:20:35 PM »
Quote
Still, I guess I'll be looking into C++ this summer. Does anybody know of any good books on the subject?


What's your experience in computer programming?  I picked up C++ in about two weeks transition time from Java using one of the "teach yourself C++ in yadda yadda time".  I can write some pretty looking GCC stuff without the use of an IDE.

SYNTAXX ERROR:>

:pint:
I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com
 

Offline Coder

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2996
    • Show only replies by Coder
    • http://www.amiga.nl
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #13 on: May 22, 2002, 05:25:26 PM »
Hi kent,

Not really serious in developing for the DE. I just installed the latest update and it looks nice. I might develop something for DE in the future. At the moment I am busy wit programming something for the currentOS/OS4. But playing around with DE is fun.

Coder
Check it out - I found the ass-end!
 

Offline KentTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 680
    • Show only replies by Kent
    • http://amiga.org/modules/mylinks/visit.php?lid=87
Re: AmigaOS 4 Unofficial Developers FAQ
« Reply #14 on: May 22, 2002, 05:42:56 PM »
Quote
At the moment I am busy wit programming something for the currentOS/OS4. But playing around with DE is fun.


Cool.  That's one area I never really got into (developing for the AmigaOS) that I really tried but gave up due to frustration in the documentation and the massive clutter of an SDK in the DevCD2.1.  I'm hoping there will be better implementations of the ExecSG so that I can look into that area of programming again.  I have SAS/C 6.55 but may look into StormC when the A1 is finally released.  Personally I can't wait until OS4.2 with the AmigaDE sandbox... at that point I'll really have a blast with my bedroom coder tactics!

Code tight, code small, code clean... that's my moto.

:pint:
I love the modern age world of this middle age crises America... all these SUVs driving around like there\\\'s gas to spare and then some.

http://www.RequestFocus.com

W. Kent Seaton ~ RequestFocus.com