Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  TAP_Print Execution Time

Page 1 of 1
EMJB
Posted: Sun Aug 07, 2011 9:54 am Reply with quote
Frequent contributor Joined: 08 Jul 2005 Posts: 3639 Location: Maldon Essex
It would help me optimise he speed of my SerialTransfer TAP if I understood the execution time of the TAP_Print function. It seems to me that there are 3 broad possibilities:

(1) It puts the resulting string into some pseudo-infinite buffer, and then exits immediately, leaving lower level activities to transfer data out to the hardware as the latter needs it.

(2) It keeps a short (8 byte?) hardware buffer full as the data is transmitted, and only exits when the last character has been put it that buffer.

(3) It only exits as the last character is being transmitted.

My suspicion is that either 2 or 3 is correct, but does anyone know?

TIA,

EMJB
View user's profile Send private message
R2-D2
Posted: Sun Aug 07, 2011 4:06 pm Reply with quote
Frequent contributor Joined: 18 Dec 2006 Posts: 12148
Sends each character individually by waiting for the EMMA2 hardware register Trans. Holding Reg Empty to be asserted (in a very tight loop) then writes the character to the EMMA2 data register.

_________________
Troubleshooting -- User Manual -- Dark Side of the Matrix: Firmwares and Patches
View user's profile Send private message Visit poster's website
EMJB
Posted: Mon Aug 08, 2011 5:13 pm Reply with quote
Frequent contributor Joined: 08 Jul 2005 Posts: 3639 Location: Maldon Essex
Thanks R2-D2 - that's what I feared,

EMJB
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum