Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 10
 1 
 on: February 21, 2018, 10:35:18 AM 
Started by Volvo_0ne - Last post by KevG
To disable multi-taking use 'forbid()'
To enable multi-tasking use 'permit()'

Both functions are called from the Exec.library with an offset value.
for example....

D=Execall(-132) : Rem Disable multi-tasking
E=Execall(-138) : Rem Enable multi-tasking

These functions don't use additional arguments so the DREG and AREG arrays can be left alone.


Be careful though. Disabling multi-tasking can lock out the keyboard so you won't be
able to break out of a program if you wish.

What I do in my game loops is check for the right mouse button and if clicked
I jump to a routine to enable multi-tasking again.

As for getting the 'rastport', You will need to do a lot of research, unless you use an extension.

Hope this helps.

 2 
 on: February 18, 2018, 06:48:39 PM 
Started by Volvo_0ne - Last post by Volvo_0ne
After a bit of experimenting, I realised that I could squeeze all my sample playing into 2 channels, and time the playback rather than need to detect the sample ends.

Thanks for the insight tho guys :)

V1

 3 
 on: February 18, 2018, 06:44:46 PM 
Started by Volvo_0ne - Last post by Volvo_0ne
Hi Volvo_One

You could also disable multi-tasking completely. This gives you quite a speed boost. Some extensions support it like Turbo and AMCAF.

Slightly off topic, but being able to get the 'rastport' address that your AMOS screen is using is very handy as well as it allows you to use functions in the graphics library. Some are actually slower than AMOS but some are faster. Early versions of the Easylife extension support this as well as AMCAF.
Thanks KevG
Is there any way to do this at startup (eg without using extensions) ?

I'm not a huge fan of them(extensions), as there almost always seems to be some kind of limitation  or faffing about to use their commands.
Thus I like to use pure AMOS and/or Compiler.

TIA
V1

 4 
 on: February 17, 2018, 12:35:03 PM 
Started by Volvo_0ne - Last post by KevG
Hi Volvo_One

You could also disable multi-tasking completely. This gives you quite a speed boost. Some extensions support it like Turbo and AMCAF.

Slightly off topic, but being able to get the 'rastport' address that your AMOS screen is using is very handy as well as it allows you to use functions in the graphics library. Some are actually slower than AMOS but some are faster. Early versions of the Easylife extension support this as well as AMCAF.

 5 
 on: February 16, 2018, 07:14:39 PM 
Started by Volvo_0ne - Last post by SamuraiCrow
Use an extension to bump the task priority to maximum and lose the keyboard handler or call the equivalent function using exec call.

 6 
 on: February 16, 2018, 06:50:39 PM 
Started by Volvo_0ne - Last post by Volvo_0ne
Is it possible to make AMOS claim all the processing power of a system from (say) a floppy boot?
Any hints/tips much appreciated

TIA
V1

 7 
 on: February 14, 2018, 08:51:50 AM 
Started by jimwon - Last post by jimwon
OK - logged into both locations as jimwon now. Sorry for mix up.

 8 
 on: February 14, 2018, 08:50:00 AM 
Started by jimwon - Last post by jimwon
Posting from phone...

 9 
 on: February 14, 2018, 08:48:31 AM 
Started by jimwon - Last post by jimwon2016
Hmmmm. I have no idea I had two accounts. I'm guessing one is on my phone and the other on my desktop.

 10 
 on: February 13, 2018, 09:50:35 PM 
Started by jimwon - Last post by SamuraiCrow
@JimWon and @JimWon2016
You're welcome!  If you need a password reset or something, let me or another moderator know so we can fix it.  Why else would you have 2 accounts open?

Pages: [1] 2 3 ... 10