Welcome, Guest. Please login or register.

Author Topic: Amiga Programming  (Read 1969 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Amiga Programming
« on: February 15, 2008, 04:16:40 PM »
The best I've ever found is C++ and SDL... SDL provides pretty much all the gfx and input functions you would be used to from languages like AMOS and Blitz... plus you get the added bonus of OOP, and proper data structures (though blitz does have quite good support for these). Plus the added advantage that it's platform independant, and you get to use a decent complier.

That said, I could never get the SDL multithreading functions to work :-( I was looking forward to threads as I used to love using AMAL for threading, when using AMOS... and using interupt 5 (the VBL int) in Blitz for a similar purpose.

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Amiga Programming
« Reply #1 on: February 15, 2008, 04:42:06 PM »
I do remember reading a paper about CAP (Computer Aided Programming)... Where you would build your program from black box units (prewritten code units) which you link together to denote program flow and logic...

I seem to recall the interface being based on flow charts, it seemed like a brilliant idea... I have often thought about writing one for myself, as an excercise to improve my programming skills.

The logic would be qutie simple, you only need 5 base types of unit. A Start unit, A conditional unit, an Aritmetic/Logic operation unit, an I/O unit and an End unit.

Then you would have a palette of premade units each one based on one of the base types... I seem to remember getting stumped trying to decide if each flow should relate to a single variable (my prefered but more complex model) or to a single operation (where the user doesn't really have to think about variables)...

All fun stuff... I'll have to dig out my notes...

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Amiga Programming
« Reply #2 on: February 15, 2008, 04:54:28 PM »
Quote

meega wrote:
Quote
bloodline wrote:
The best I've ever found is C++ and SDL...

SDL? or STL (Standard Template Library)?


The STL is there by default, I'm sure I've used some of it's functions/operators/classes/whatever... but I tend to stick with SDL and the standard C library, I'm not a computer scientist so I just stick with what I know :-)

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show all replies
    • http://www.troubled-mind.com
Re: Amiga Programming
« Reply #3 on: February 15, 2008, 07:18:02 PM »
Quote

melott wrote:
Quote

Sorry to disagree but such a program did exist on the
C-64. Its been 20 years or so, my memory might be fading
alittle, but not that much. I asure it 'did/dose' exist.

Mel


Piru isn't saying it can't done... Only that it would not be practical for anything other than simple programs... My idea on the other hand is genius :-D