View Single Post
Old 21 June 2021, 13:36   #314
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
Quote:
Originally Posted by Thomas Richter View Post
Do you really run byte output over Write()? This is not advisable, Write() makes a context switch for every single call. Please see FPutC/Printf/FPrintf or related *buffered* calls from the dos.library that are much more efficient for single-character output.
Code called between "; DMA off" text and "; DMA on" text is optimised for speed.
Code called before "; DMA off" and after "; DMA on" is optimised for size only/mostly.
Single character write is not efficient, i know. In my previous version i want to use only one write for full end text, but this text (time value) must be at first reversed. I dont see short enough routine to reverse time value. If any Amiga dos.library routine can display text in reverse order then code can be changed. But i dont think that end text code will be shortest if other dos.library routine will be used.
Don_Adan is offline  
 
Page generated in 0.04657 seconds with 11 queries