Ultimate Amiga

Network Boards => AMOS Programming Environment => AMOS Factory => AMAL => Topic started by: Volvo_0ne on October 07, 2017, 06:00:52 PM

Title: Is this a positive bug for a change?
Post by: Volvo_0ne on October 07, 2017, 06:00:52 PM
In the manual it says you cannot animate more than 16 amal channels by interrupts and implies you must ....

Synchro Off

define amal channels

then in your program loop, do...

Synchro

at an appropriate place.


However If you do
Synchro Off

Define your (up to 64) AMAL channels

then....

Synchro On

Hey Presto! you can animate with up to  64 channels using interrupts.
I found this out by accident today, but maybe it was a known feature already, As I said the manual implies you can't do it.
Title: Re: Is this a positive bug for a change?
Post by: KevG on October 08, 2017, 09:05:04 AM
Interesting...   I was unaware of this. Is this for AMOS or AMOS Pro?


Title: Re: Is this a positive bug for a change?
Post by: bloodline on October 08, 2017, 09:48:14 AM
In the manual it says you cannot animate more than 16 amal channels by interrupts and implies you must ....

Synchro Off

define amal channels

then in your program loop, do...

Synchro

at an appropriate place.


However If you do
Synchro Off

Define your (up to 64) AMAL channels

then....

Synchro On

Hey Presto! you can animate with up to  64 channels using interrupts.
I found this out by accident today, but maybe it was a known feature already, As I said the manual implies you can't do it.

Can we be sure that the AMAL is actually running in the interrupt? I'm pretty sure that anything better than a 68k probably could run all 64 channels in an interrupt, especially with some fast ram.

I've never looked at what the AMOS code is actually doing, but when you use the synchro off Mode, I imagine AMOS is just running the AMAL in a separate exec task, which is a cleaner approach than using a hardware interrupt anyway!

I'm going to have to set up AMOS now to test this myself :)


Sent from my iPhone using Tapatalk
Title: Re: Is this a positive bug for a change?
Post by: Volvo_0ne on October 08, 2017, 05:16:16 PM
Interesting...   I was unaware of this. Is this for AMOS or AMOS Pro?
Amos Pro (Not sure about other versions).
Title: Re: Is this a positive bug for a change?
Post by: Volvo_0ne on October 08, 2017, 05:20:19 PM
In the manual it says you cannot animate more than 16 amal channels by interrupts and implies you must ....

Synchro Off

define amal channels

then in your program loop, do...

Synchro

at an appropriate place.


However If you do
Synchro Off

Define your (up to 64) AMAL channels

then....

Synchro On

Hey Presto! you can animate with up to  64 channels using interrupts.
I found this out by accident today, but maybe it was a known feature already, As I said the manual implies you can't do it.

Can we be sure that the AMAL is actually running in the interrupt? I'm pretty sure that anything better than a 68k probably could run all 64 channels in an interrupt, especially with some fast ram.

I've never looked at what the AMOS code is actually doing, but when you use the synchro off Mode, I imagine AMOS is just running the AMAL in a separate exec task, which is a cleaner approach than using a hardware interrupt anyway!

I'm going to have to set up AMOS now to test this myself :)


Sent from my iPhone using Tapatalk

In Amos Pro on 68020 (A1200+8Mb) I was running 57 (55 under Amal control) Bobs last night totally without problems and not a "Synchro" in sight :)
As for other platforms/versions I don't know as I han't tested.