Skip to navigation

Elite on the BBC Micro and NES

Save and load: DOSVN

[6502 Second Processor version, I/O processor]

Name: DOSVN [Show more] Type: Subroutine Category: Save and load Summary: Implement the #DOSVN <flag> command (update the "save in progress" flag)
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * JMPTAB calls DOSVN

This routine is run when the parasite sends a #DOSVN <flag> command. It updates the "save in progress" flag in svn
Arguments: A The new value of the "save in progress" flag
.DOSVN STA svn \ Store the new "save in progress" flag in svn JMP PUTBACK \ Jump to PUTBACK to restore the USOSWRCH handler and \ return from the subroutine using a tail call