Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
128 user(s) are online (79 user(s) are browsing Forums)

Members: 0
Guests: 128

more...

Headlines

Forum Index


Board index » All Posts (Samurai_Crow)




Re: python and Tkinter
Just popping in
Just popping in


@MichaelMerkel

I think that means that the tkinter.py module is not available under AmigaOS 4.x currently (unless the new one for 4.1 update 2 has something I don't know about). The IDLE IDE is based on TkInter also so it would be nice to get that working sometime.

Most of the other GUIs for Python are either KDE, Gnome or wxWidgets derived. It might be possible to run a custom GUI from PyGame using Phil's PyGame Utilites assuming PyGame has been ported to OS 4.x.

Go to top


Re: Amos PRO source code availability ?
Just popping in
Just popping in


@freddix

The sources on Clickteam.com were for Amos the Creator, not AmosPro.

Go to top


Re: The Xena module
Just popping in
Just popping in


@freddix

The way I understand the XMOS chip is that it has a serial data hook-up and many ports for I/O hook-up. The Xena is just an interface to external devices. It doesn't have enough bandwidth to connect to main memory quickly.

Go to top


Re: SDL_Sound
Just popping in
Just popping in


@Snuffy

SDL_Mixer is the main sound library most programs use. That includes sdlBasic.

Go to top


Re: Resurrection Of MED SoundStudio For AmigaOS..
Just popping in
Just popping in


@Helgis

Quote:

Helgis wrote:
@Kicko

Protracker 4, right? Yes, i did when i had my latest Amiga setup, which was a 1Ghz A1G4XE with Pre4 OS4.0...

It was a cool program, but my favourite is still SoundStudio.



He didn't say Protracker, he said ProTrekkr. It uses softsynths though, so don't try to run anything in the background while trying to play music with this.

Go to top


Re: Paying an Amiga developer
Just popping in
Just popping in


The last job I worked at was a temporary job for 3 months. It paid $15 an hour plus an additional $7.50 an hour for overtime (overtime in USA is anything over 40 hours a week). I had some rudimentary medical benefits and was able to live for 6 months on the proceeds from the 3 months that I worked. After that, I couldn't renew the lease on my apartment and had to move back in with my parents. That is where I am now.

I'd be interested in doing some development for Amigans but my Micro-A1c is loaned out to DiscreetFX for use on the development of Aladdin 4D and I doubt I'll be buying another AmigaOS 4.x-based system soon. Does anyone here like classic Amiga AGA software?

Go to top


Re: Paying an Amiga developer
Just popping in
Just popping in


@Alkaron

AmiDevSupport fails because they are looking for a Linux programmer from India or some Eastern European nation where the cost of living is cheap. The problem with that line of reasoning, at least for India, is that programmers there are only taught Java and .NET due to limitations of their educational system. C++ programmers are available but harder to find due to financial markets scooping them up by the droves. Almost all of them are Windows developers.

Go to top


Re: Cubic IDE and Basic
Just popping in
Just popping in


@unimon

You might try ACE Basic if you like Amiga Basic. It is an extended subset of Amiga Basic so it is similar but not quite the same.

Go to top


Re: 32Bit icon editor
Just popping in
Just popping in


@orgin

Perhaps it would be better just to have a paint-box BOOPSI class so that the pointer editor and backdrop editor for Workbench could all use the same editor.

Go to top


Re: Need help with Allegro.
Just popping in
Just popping in


@kas1e

Did you remember the END_OF_MAIN macro after the main() function?

Go to top


Re: Library function exist ?
Just popping in
Just popping in


@freddix

Actually anyone who has a fully installed software developer kit should have an SFD file for each library. If an SFD file is anything like its predecessor the FD file it should be possible to probe the SFD file to find out what function names are in a library, what parameters correspond to which registers in the processor and stuff like that. It would only work under AmigaOS 4.x however and it would require a system assign to the directory containing the SFD files and furthermore probing them is deprecated except for using an external executable.

Maybe it's better if you do leave this function out for a while until the ABI settles to a permanent standard.

Go to top


Re: bits functions (set, unset, test)
Just popping in
Just popping in


@freddix

Quote:

freddix wrote:
I've checked over the net and on my C book to understand how I can set/clear or test a bit in an int value but it remain unclear for me :(

I've found how to test !

int TestBit( int Var, int itID ){
return Var & ( 1<<BitID );
}

But not how to set/clear.

Can someone help me ?

EDIT :
I think I've found a solution :


void SetBit( int *Var, int BitID ){
*Var = *Var | ( 1<<BitID );
}

void ClearBit( int *Var, int BitID ){
*Var = *Var ^ ( 1<<BitID );
}

Do you think it's correct ?


Regards,
Freddix / AmiDARK


The ClearBit function you've got is actually a toggle bit function. If you call it twice on the same variable with the same bit you end up with what you started out with. Also the test bit doesn't return a 1 on true. The correct versions are as follows:
void ClearBitint *Var, int BitID ){
   *Var = *Var & ~( 
1<<BitID );
}

int TestBit(int Var, int BitID ){
   return ((Var>>
BitID) & 1);
}


If you're using C++ you can use std::bitset instead though. That'll save you from having to think about it.

Go to top


Re: Undefined reference to vtable
Just popping in
Just popping in


@alfkil

Were you linking with GCC or G++? You have to do the latter if you're using C++ code so that it will link in libstdc++.

Go to top


Re: The AmigaOS4 Beer and Pizza Bounty
Just popping in
Just popping in


@DaveP

There's a Paypal donation button on the FriedenHQ website. That would get beer money to the Friedens. What about the rest?

Go to top


Re: Its over! Hyperion won!
Just popping in
Just popping in


@thread

Why the legal status change from VOF to CVBA at Hyperion Entertainment?

Go to top


Re: Wow. I love AREXX...
Just popping in
Just popping in



Go to top


Re: Wow. I love AREXX...
Just popping in
Just popping in


@dwolfman

My MicroA1-c has been loaned out to another developer for some time now and I've never used the Amiga versions of Python. I learned Python on a PC and use it occasionally on my Mac in between sessions with C++.

The place that I'd look for the Python SDK would by http://www.python.org/ but I'm not sure how much of that works with OS 4.x.

Go to top


Re: Wow. I love AREXX...
Just popping in
Just popping in


@nbache

Quote:

nbache wrote:
@Samurai_Crow

Yes. A compound variable is built from a stem with arbitrary extensions and can (with a bit of care - it admittedly does not always intuitively work like at least I expect, especialy when you go beyond two levels ) perform lots of tricks for which you'd expect to need hashes or Dictionaries or associative arrays or whatever "modern" languages call them. And then some ... due to the interpretitive nature of ARexx.

Most people never use stem/compound variables as more than a simple array, like e.g. stem.1, stem.2, etc., and perhaps keep the count in stem.0, but you can do so much more.



Ah yes! I had forgotten that. Once the Object REXX source was opened up by IBM, I had thought that somebody would pick it up and run with it on the Amiga and make it new again.

Unlike AREXX, Python has a JIT compiler that parses the .py files into compiled .pyc files so that it doesn't have to reinterpret the Python source more than once. There are a few things I'd change about the type system in Python to make it even faster but the Unladen Swallow project at Google is already looking into that. It is object oriented also.

Just because the example I gave was not the best doesn't mean that Python is bad. If there was any complaint I would make about Python it is that they change the language too much, too often. Not many people are adopting Python 3.0 because it is not completely backward compatible to 2.6.x. Even the Unladen Swallow build of Python is not based on Python 3.0 syntax.

--Sam

Go to top


Re: Wow. I love AREXX...
Just popping in
Just popping in


@nbache

Is that accessed with a stem?

Go to top


Re: Wow. I love AREXX...
Just popping in
Just popping in


@thread

Python is definitely more powerful than AREXX. Its dictionary datatype (aka hash table) makes for some easy coding. The debugging is sometimes tricky but it makes for faster coding than C or AREXX. Some people are bothered by the way that Python forces you to indent your code correctly, but I disagree.

Go to top



TopTop
« 1 2 3 4 (5) 6 7 8 9 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project