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
9 crawler(s) on-line.
 106 guest(s) on-line.
 1 member(s) on-line.


 ruben

You are an anonymous user.
Register Now!
 ruben:  21 secs ago
 kolla:  9 mins ago
 yoodoo2:  24 mins ago
 OneTimer1:  27 mins ago
 eliyahu:  31 mins ago
 vox:  49 mins ago
 Kromjuice:  1 hr 4 mins ago
 Rob:  1 hr 21 mins ago
 NutsAboutAmiga:  1 hr 34 mins ago
 Barana:  1 hr 35 mins ago

/  Forum Index
   /  Developer Projects Forum
      /  OS4 Programming Book
Register To Post

Goto page ( 1 | 2 | 3 Next Page )
PosterThread
yoodoo2 
OS4 Programming Book
Posted on 19-Mar-2010 22:57:04
#1 ]
Super Member
Joined: 4-Aug-2003
Posts: 1333
From: Stourbridge, UK

Official thread for the proposed OS4 Programming Guide.

The OS4PG will be a real, printed book in English (to start with). Spiral bound, A5 format, approx 300 pages. Price should be around £12 + p&p.

All meaningful comments, questions, suggestions and offers for help are very much welcomed.

----------------------

There has not been an uptodate progamming guide for AmigaOS for many, many years. Although the SDK contains autodocs with the latest changes to OS4, these can be difficult to navigate and not necessarily suited to the beginner or intermediate programmer. The RKMs are out of date, as are most of the second hand books that are available (most do not even cover 3.x).

This project aims to produce a new programming guide in English for AmigaOS 4.x. It will be aimed at beginners and intermediate programmers with some general knowledge of the C language. Additional chapters on advanced topics or other languages (eg E, Hollywood) may also be included.

The book will contain lots of annotated examples of working code and applications. A number of practical projects will be presented, with suggestions on how to tackle them and possible solutions.

Contributors will be paid according to the length/quality of their submission. A fee of at least £50 will be paid to each contributor of a significant chapter or section (see below). Potential contributors should contact Yoodoo2 for more details.

Yoodoo2 will fund the key chapters listed below and the initial print run.

There will be a bounty set up for the project (hopefully at AmigaBounty.net). Any donor giving 15 Euros or more will receive a copy of the book upon publication, although there may be a small additional charge for postage outside of the UK, dependent upon actual cost of shipping. Any surplus money raised through this bounty will fund additional chapters and/or increase the money paid to contributors.

Any experienced OS4 programmers wishing to contribute should contact Yoodoo2 via email or PM at AW.net.

Key Chapters:

0.Setting up: SDK, tools, resources etc
1.Simple ReAction tutorials
2.Main ReAction gadgets
3.Screens, Windows, Menus and Requesters
4.Starting up: running from Shell and WB; arguments, tooltypes etc
5.Simple graphics
6.Handling text and fonts
7.File handling basics
8.Advanced file handling, clipboard, iffparse etc
9.Using Datatypes
10.Multi-tasking, messaging, semaphores etc
11.Libraries and shared objects
12.Completing the program: localisation; installer scripts; AmiUpdate etc

Appendices:

Common macros, typedefs etc
Migrating from OS3 to OS4
Useful websites, books etc
AmigaDOS reference
Overview of key libraries and other APIs
Index


Possible Advanced Chapters (although there seems to be enough for a second book!):

Advanced Graphics
Using Cairo
Using SDL
Using MiniGL
Advanced gcc usage, debugging, cross compiling in Linux/Windows etc
Networking
Sound and AHI
AppWindows, AppIcons etc
Hooks
Writing libraries and shared objects
Creating datatypes
Creating a new gadget/class
ARexx
Programming the XCore
Device drivers
Other languages: E; Hollywood
Differences between OS3.x and 4
Compatability with other Amigaoid systems

---------------

Please feel free to ask any questions!


Update: 13 May
Website launched here.

Please note that we have the support of Hyperion and several key OS4 developers, beta-testers and 3rd party developers.

Time to get writing!

Last edited by yoodoo2 on 13-May-2010 at 01:50 PM.

_________________
Happiness is mandatory.
MindSpace: MindMaps and UML diagrams for OS4

We ran 5 Recursion Computer Fairs before hitting the exit condition

 Status: Offline
Profile     Report this post  
Trekiej 
Re: OS4 Programming Book
Posted on 19-Mar-2010 23:27:27
#2 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

@yoodoo2

How about some Guru Book like content?
Looks like you got it covered.

Last edited by Trekiej on 19-Mar-2010 at 11:28 PM.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
A1200 
Re: OS4 Programming Book
Posted on 19-Mar-2010 23:34:01
#3 ]
Elite Member
Joined: 5-May-2003
Posts: 3112
From: Westhall, UK

@yoodoo2

In terms of supporting your excellent idea, I am happy to financially support this project as much as it requires, and as I mentioned on the poll thread, will also give some time to proof reading and suchlike. Some technical books are plainly written very fast to be on the shelf as soon as possible and all too often I find passages that don't make sense!

_________________
Amiga A1200, 3.1 ROMs, Blizzard 1230 MKIV 64MB & FPU, 4GB DoM SSD, Workbench 3.1

 Status: Offline
Profile     Report this post  
Apple Hammer 
Re: OS4 Programming Book
Posted on 19-Mar-2010 23:40:34
#4 ]
Regular Member
Joined: 3-Jan-2010
Posts: 130
From: Unknown

@thread

I think this is a fantastic idea. Personally I would be willing to pay more than £12 for a *decent* programming book. But it's a good idea to keep prices low to bring in sales from more people I think. £12 is a very attractive price.

I paid more than that for my C++ book by Schildt recently. Granted it's a very very good book, but it also has a much wider audience than Amiga programming has.

But yeah, definitely a good idea I think. The Amiga platform needs all the help it can get in terms of people writing software for it, so the easier/more interesting the programming experience can be made, the better. A decent up to date book such as the one you're describing is essential in that respect.

Apple_Hammer

 Status: Offline
Profile     Report this post  
Apple Hammer 
Re: OS4 Programming Book
Posted on 19-Mar-2010 23:48:55
#5 ]
Regular Member
Joined: 3-Jan-2010
Posts: 130
From: Unknown

@yoodoo2

With regard to the XCore chapter, are you talking about a chapter on programming the XCore as a separate entity (with separate development environment etc), as just a general introduction to the XCore, or are you intending to do a chapter on programming the XCore specifically from AmigaOS?

I'm not certain the latter is an option? It'd be nice if we could do it from AOS though. We'll have to wait and see, I guess.

PS: I think the device drivers chapter should be on the definite list, not the potentials list. Assuming you have someone to write the chapter, of course.

Apple_Hammer

Last edited by Apple_hammer on 19-Mar-2010 at 11:50 PM.

 Status: Offline
Profile     Report this post  
BinoX 
Re: OS4 Programming Book
Posted on 20-Mar-2010 0:27:09
#6 ]
Cult Member
Joined: 2-Nov-2005
Posts: 711
From: Cornwall, UK

Even though I've already done some programming for AmigaOS 4.0, I did find it a hard place to start really..

Maybe before jumping straight in with reaction examples, maybe have a chapter before it covering the basics of AmigaOS programming and the library system etc. Something like a "hello world" example using libraries (IDOS->printf instead of just printf etc) so people can compare the 2.. if you see what I mean...

Either way I will be buying this book as I haven't done any programming for OS4 since 4.0 update 4... (after OS4.0 "final" was released I waited for the new SDK, which didn't come and then I lost interest in what I was writing and now my A1 is dead... but I will continue on either an X1000 or Sam if I can't afford the X when it comes out)

But the book is a good idea :)

Last edited by BinoX on 20-Mar-2010 at 12:28 AM.

_________________
Back to action!

 Status: Offline
Profile     Report this post  
Steady 
Re: OS4 Programming Book
Posted on 20-Mar-2010 2:38:56
#7 ]
Regular Member
Joined: 1-Nov-2004
Posts: 211
From: Melbourne, OZ

@yoodoo2

I think the book is a good idea. i always like to have something physical that I can read AWAY from the computer. I reckon you can put the advanced chapters in a second book since you are going spiral-bound, plus I think people will go for it. I'll buy it.

One question. Is the AmigaDOS reference for the CLI commands?

 Status: Offline
Profile     Report this post  
DBAlex 
Re: OS4 Programming Book
Posted on 20-Mar-2010 3:13:24
#8 ]
Cult Member
Joined: 23-Jul-2006
Posts: 756
From: UK

@Apple_hammer

Herb Schildt?

Oh no: http://www.cs.technion.ac.il/users/yechiel/CS/BadBooksC+C++.html#SchildtAny

I'm sure it will be of some use...

_________________
A1200, 68060/64MB/1.2GB/WiFi/AGAtoCRT/OS3.9 Pegasos I, G3 600Mhz/512/9200SE/80GB WinUAE, Ryzen 5 2400G/Vega11, 8GB DDR4, 256GB SSD,Win 10 Pro x64 Amiga Forever !

 Status: Offline
Profile     Report this post  
SHADES 
Re: OS4 Programming Book
Posted on 20-Mar-2010 9:32:29
#9 ]
Cult Member
Joined: 13-Nov-2003
Posts: 867
From: Melbourne

@yoodoo2

Hope you're talking to Hyperion about this....the reason I say this is because they are about to make some very MAJOR changes in the OS with handling of SMP etc. This would have a profound effect on how to program AMIGA surely?

_________________
It's not the question that's the problem, it's the problem that's the question.

 Status: Offline
Profile     Report this post  
Trixie 
Re: OS4 Programming Book
Posted on 20-Mar-2010 9:39:28
#10 ]
Amiga Developer Team
Joined: 1-Sep-2003
Posts: 2096
From: Czech Republic

@yoodoo2

Quote:
Potential contributors should contact Yoodoo2 for more details.

I've sent you an e-mail.

_________________
The Rear Window blog

AmigaOne X5000/020 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition

 Status: Offline
Profile     Report this post  
Apple Hammer 
Re: OS4 Programming Book
Posted on 20-Mar-2010 10:00:58
#11 ]
Regular Member
Joined: 3-Jan-2010
Posts: 130
From: Unknown

@DBAlex

Hi DBAlex.

Opinions about books are always subjective. Personally, I like Schildt's books and I get on with them very well. He provides a lot of explanation about the various aspects of C++ and Object Orientated programming (which, as an embedded guy, is a bit alien to me) in his book The Complete Reference C++.

If someone else didn't like his book... well that's fine. :)

Apple_Hammer

 Status: Offline
Profile     Report this post  
mlehto 
Re: OS4 Programming Book
Posted on 20-Mar-2010 11:22:06
#12 ]
Super Member
Joined: 4-Dec-2004
Posts: 1006
From: Unknown

@yoodoo2

Great!!

I think , that it should cover chapter about drivers.

Both in general and usb, since this is in my opinion area, what we miss most, decent drivers.

 Status: Offline
Profile     Report this post  
BillE 
Re: OS4 Programming Book
Posted on 20-Mar-2010 11:35:34
#13 ]
Super Member
Joined: 14-Nov-2003
Posts: 1195
From: Northern Scotland

@yoodoo2


I would buy it, though I expect the price may be a bit higher than you anticipate.

I would also suggest having a section on MUI as well. It is still widely used with OS4.

 Status: Offline
Profile     Report this post  
ajs 
Re: OS4 Programming Book
Posted on 20-Mar-2010 11:41:45
#14 ]
Super Member
Joined: 8-Mar-2003
Posts: 1459
From: Surrey

@yoodoo2

@yoodoo2
Hi Richard, sounds like a good idea

for publishing have you thought of using these?


http://www.lulu.com/uk/

just a thought,might save on shipping costs due to them having various locations around the world,and I think its a print per order, so no stocks for you to hold?

_________________
Everything is proceeding as I have foreseen

Some people are like slinkies. Not really good for anything but they bring a smile to your face when pushed down the stairs.

 Status: Offline
Profile     Report this post  
gerograph 
Re: OS4 Programming Book
Posted on 20-Mar-2010 12:13:39
#15 ]
Cult Member
Joined: 5-Dec-2007
Posts: 901
From: Moers - Germany

@BinoX
Yes, an intro on basics about OS4.x Operating System is probably very important, to also atract other developers, plus if you make it a bit more, you could also have "normal users" as customers as well. I wouldn't mind paying 12pounds just for "basics on Amiga OS". So I guess would be good to explain:

Shellcommands
What comes in Devs: Libs:.....
startup-sequence etc.

I personally for example now what a Device is, but I am not that fimilar with mountfiles etc..., in startup-sequence I see a lot of commands, where I am not 100% sure what they mean. This would probably help me coding for AMIGA OS.
I am familar with TurboPascal and Visual Basic, did a bit of Hollywood and ARexx so C/C++ would be the next step, what holds me back is not knowing internals of AmigaOS.

_________________
Geomarketing at
www.geobiz.de
www.gebietsplanung.net
www.geomarketing-consultant.de

 Status: Offline
Profile     Report this post  
walkero 
Re: OS4 Programming Book
Posted on 20-Mar-2010 14:07:24
#16 ]
Regular Member
Joined: 4-Mar-2004
Posts: 397
From: Athens

@yoodoo2

I really, really like this idea, and I will surely nuy a book like this, even if it will cost the double of the money. Even that I'm not an advanced C/C++ programmer, i would like to help in this project.

So, I would like to propose the creation of a website that would help for the contributors to write their articles online and gather ther all the information that is needed. This will give us the following benefits:\
1. Visitors can see the content from it's first day. If we don't want it, then the website could work only for the contributors, closed to anyone else.
2. The contributors could see each others work and comment on their articles for making them better.
3. You will have a clear idea of how much content this book will have, even before you start creating it. With that you can count the hours of work for DTP creation and print it.
4. Each contributor can edit their articles any time, from anywhere.
5. A small forum could be helpful for talking about things.
6. Proofreaders can view each chapter when it will be completed and make a revision of it.

and there might be more benefits also...

I'm willing to create such a website whenever you want, totally free of charge of course. PM me if you like the idea, or if you want to talk about it.

_________________
Amiga-Look.org - Beautify your Workbench

 Status: Offline
Profile     Report this post  
AmigaBlitter 
Re: OS4 Programming Book
Posted on 20-Mar-2010 14:12:05
#17 ]
Elite Member
Joined: 26-Sep-2005
Posts: 3514
From: Unknown

@walkero

I would like to see:

advanced graphics
Timers
Events

_________________
retired

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: OS4 Programming Book
Posted on 22-Mar-2010 18:50:11
#18 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3205
From: Beds, UK

@yoodoo2

Excellent idea. I also like gerograph's suggestion of putting in some advanced "normal user" topics, which will of course be useful for beginner OS4 programmers too. Things like mountlists, keymap files would be useful for everyone and could start a chapter on device drivers, language drivers (do we have a language driver chapter? I suppose that comes under localisation). Also I don't see a chapter on writing filesystems and handlers, that should come under "advanced topics".

Good luck with this project. I might be willing to write a chapter on Installer scripts, as apparently they are the hardest thing in the world and everybody except me hates them.

I don't know anything about the new Installation Utility though, but then I don't think anybody does since it involves Python and has no documentation whatsoever. Actually I don't see a Python chapter on your list either. It's probably a whole new book, but a basic overview and a mention of the Amiga extensions and book/website suggestions for the remainder of the language might be a good idea.

Chris

Last edited by Chris_Y on 22-Mar-2010 at 06:55 PM.
Last edited by Chris_Y on 22-Mar-2010 at 06:53 PM.
Last edited by Chris_Y on 22-Mar-2010 at 06:50 PM.

_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
MrFancyPants 
Re: OS4 Programming Book
Posted on 22-Mar-2010 21:06:30
#19 ]
Member
Joined: 28-Jun-2007
Posts: 45
From: Sweden

@yoodoo2

I would love a book like this.
I have zero programming experience on Amiga (other than some very simple Amiga Basic back in the day), so after I get my hands on my X1000, a book like this would be really helpful.
I think C++ is still the most common programming language out there, so a chapter about C++ on Amiga would be nice. I know it would be helpful for me.

_________________
Even if my posts don't reflect it, I promise you I AM a developer.

 Status: Offline
Profile     Report this post  
sundown 
Re: OS4 Programming Book
Posted on 22-Mar-2010 21:22:02
#20 ]
Elite Member
Joined: 30-Aug-2003
Posts: 5120
From: Right here...

@yoodoo2

Maybe add a porting chapter, maybe Spotup will allow his tutorial to be included.

_________________
Hate tends to make you look stupid...

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 | 3 Next Page )

[ 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