Name:KS3[View in context] Type:Subroutine Category:Universe Summary:Set the SLSP ship heap pointer after shuffling ship slots
The final part of the KILLSHP routine, called after we have shuffled the ship
slots and sorted out our missiles. This simply sets SLSP to the new bottom of
the ship heap space.
Arguments:P(1 0)Points to the ship line heap of the ship in the lastoccupied slot (i.e. it points to the bottom of thedescending heap)
.KS3LDAP\ After shuffling the ship slots, P(1 0) will point toSTASLSP\ the new bottom of the ship heap, so store this inLDAP+1\ SLSP(1 0), which stores the bottom of the heapSTASLSP+1RTS\ Return from the subroutine