-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: introduce OSLinkTxQueueUsed (ROM call 0x4F4) #17
base: next
Are you sure you want to change the base?
Conversation
OSLinkTxQueueUsed is the inverse of OsLinkTxQueueInquire: rather than returning the amount of free space in the tx buffer, it returns the space used. The routine is only used by AMS as a boolean in OSLinkOpen to determine if link flushing is needed. I cannot find any other use of it in AMS, nor think of any other possible use not covered by OSLinkTxQueueInquire.
I went through special effort to keep the CRLF line endings to minimise the diff, but git appears to have changed at least |
Thanks for your contribution :) If you're finding it weird that TI left out this function, and in fact more than half of these 31 functions, from the public header files (the old ROM_CALL name file, later tiams.h in TIFS), or why a number of internal functions hard to use externally were exported in the ROM_CALL table - you're not alone :) Usually, git mangles files less than svn does, so isn't it a bit odd that some EOLs got changed ? |
I'll be honest, I just made up the name I'm also not too familiar with the history of the rom call documentation process, so your background is very interesting to me. Is there any real reason that these 14 rom calls with existing background never got documented in tigcclib? I have no clue about the EOL mangling. I was able to keep the diffs as small as possible on my machine, so the conversion is happening between my machine and github. I did notice the reordering in After a brief search, I can't find any versions of VTI by Julien Muchembled. Do you happen to have/know where to find the header file included in the emulator? Cheers, |
4F4 may indeed have been a miss of mine, but I think that on average, the 14 ROM_CALLs which were never integrated in GCC4TI:
Nope, besides my computers / backups, I don't know for sure where to find a copy of JM's modified versions of VTI, either the slightly older one which does not support rc68k.h, or the one which does but has a bug with breakpoints and savestates. |
OSLinkTxQueueUsed is the inverse of OsLinkTxQueueInquire: rather than returning the amount of free space in the tx buffer, it returns the space used.
The routine is only used by AMS as a boolean in OSLinkOpen to determine if link flushing is needed. I cannot find any other use of it in AMS, nor think of any other possible use not covered by OSLinkTxQueueInquire.