Skip to navigation

Elite on the BBC Micro

Utility routines: OSB [Cassette 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: * DOMOVE calls OSB * Elite loader (Part 2 of 6) 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)