Well, instead of up to spec I should instead say more modernized. I know that also sounds crazy since I mentioned Objective-C and technically it's quite old itself. I program in a lot of languages across the board. I know that I can use C++ on the Amiga. I have a registered copy of Cubic IDE. I also SAS/C 6.58 or whatever the latest C++ capable version is.
Well, that's pretty much what I mean by "up to spec."
Except I end up doing this instead:
#include <iostream>
#include <proto/dos.h>
#include "GraphicsLibrary.h"
#include "IntuitionLibrary.h"
#include "ScreenBase.h"
struct GfxBase* GfxBase = NULL;
struct IntuitionBase* IntuitionBase = NULL;
struct Library *GadToolsBase = NULL;
ScreenBase screen;
int main(int argc, char* argv[]) {
try {
GfxBase = GraphicsLibrary.GetGfxBase( );
IntuitionBase = IntuitionLibrary.GetIntuitionBase( );
ScreenBase screen = ScreenBase( );
screen.open();
Delay(5 * 50);
screen.close();
std::cout << "\nAnd there was much rejoicing...\n";
}
catch (SystemLibraryException &error) {
std::cout << error.Name << " version: " << error.Version << " failed to open";
}
IntuitionLibrary.close( );
GraphicsLibrary.close( );
GadToolsLibrary.close( );
return 0;
}
Which, to me, is a lot more elegant than the older, clumsier Amiga way of doing things.
Eventually I'd get so lost in my quest to have a modern tool of some sort as seen on another more modern platform that I'd waste what little free time I had to spare. The worst part is usually I could have written everything I wanted in C in the time I wasted seeking "better" tools. :-)
Yep. Me too. Mostly because I lack the knowledge yet of the full Amiga architecture. But then, I'd get pulled away because of work, my (now deceased) father, family, my father's trust or the WWII web site I maintain. So many distractons, so little time.
But this is something I enjoy doing, so I don't consider it time wasted. It's just my way of building appreciation of what was once Amiga.
@ mikrucio
OK, you've talked me into it.
As to "up to spec" see my response to nyteschade. I just like using the more modern coding paradigms...