Skip to navigation

Elite on the BBC Micro and NES

Utility routines: OSB

[BBC Master version, Loader]

Name: OSB [Show more] Type: Subroutine Category: Utility routines Summary: A convenience routine for calling OSBYTE with Y = 0
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * Elite loader calls OSB
.OSB LDY #0 \ Call OSBYTE with Y = 0, returning from the subroutine JMP OSBYTE \ using a tail call (so we can call OSB to call OSBYTE \ for when we know we want Y set to 0)