HS_pushFIFONode Function (ROM Call 0x246)

homescr.h

void HS_pushFIFONode (HANDLE Node);

Inserts a new filled FIFO node into the history.

HS_pushFIFONode inserts the entry/answer pair identified by Node into the linked list of FIFO nodes. Node must contain a handle to a FIFO_NODE structure, which needs to be filled completely except for the Prev and Next fields. It should have been allocated using HS_newFIFONode.

This function calls HS_chopFIFO to remove the last history pair if needed. It may throw an error if inserting the node was not possible.


Uses: HS_chopFIFO, ROM Call 0x5DD
Used by: HomeExecute, HomePushEStack, HS_pushEmptyFIFONode


See also: HS_pushEmptyFIFONode, HomeStorePair