Skip to navigation

BBC Micro Elite

Workspaces: S%

Name: S% [View in context] Type: Workspace Address: &0F40 to &0F50 Category: Workspaces Summary: Vector addresses, compass colour and configuration settings
Contains addresses that are used by the loader to set up vectors, the current compass colour, and the game's configuration settings.
.S% EQUW TT170 \ The entry point for the main game; once the main code \ has been loaded, decrypted and moved to the right \ place by elite-loader.asm, the game is started by a \ JMP (S%) instruction, which jumps to the main entry \ point at TT170 via this location EQUW TT26 \ WRCHV is set to point here by elite-loader.asm EQUW IRQ1 \ IRQ1V is set to point here by elite-loader.asm EQUW BR1 \ BRKV is set to point here by elite-loader.asm .COMC EQUB 0 \ The colour of the dot on the compass \ \ * &F0 = the object in the compass is in front of us, \ so the dot is yellow/white \ \ * &FF = the object in the compass is behind us, so \ the dot is green/cyan .DNOIZ EQUB 0 \ Sound on/off configuration setting \ \ * 0 = sound is on (default) \ \ * &10 = sound is off \ \ Toggled by pressing "S" when paused, see the DK4 \ routine for details .DAMP EQUB 0 \ Keyboard damping configuration setting \ \ * 0 = damping is enabled (default) \ \ * &FF = damping is disabled \ \ Toggled by pressing Caps Lock when paused, see the \ DKS3 routine for details .DJD EQUB 0 \ Keyboard auto-recentre configuration setting \ \ * 0 = auto-recentre is enabled (default) \ \ * &FF = auto-recentre is disabled \ \ Toggled by pressing "A" when paused, see the DKS3 \ routine for details .PATG EQUB 0 \ Configuration setting to show the author names on the \ start-up screen and enable manual hyperspace mis-jumps \ \ * 0 = no author names or manual mis-jumps (default) \ \ * &FF = show author names and allow manual mis-jumps \ \ Toggled by pressing "X" when paused, see the DKS3 \ routine for details \ \ This needs to be turned on for manual mis-jumps to be \ possible. To do a manual mis-jump, first toggle the \ author display by pausing the game (COPY) and pressing \ "X", and during the next hyperspace, hold down CTRL to \ force a mis-jump. See routine ee5 for the "AND PATG" \ instruction that implements this logic .FLH EQUB 0 \ Flashing console bars configuration setting \ \ * 0 = static bars (default) \ \ * &FF = flashing bars \ \ Toggled by pressing "F" when paused, see the DKS3 \ routine for details .JSTGY EQUB 0 \ Reverse joystick Y-channel configuration setting \ \ * 0 = standard Y-channel (default) \ \ * &FF = reversed Y-channel \ \ Toggled by pressing "Y" when paused, see the DKS3 \ routine for details .JSTE EQUB 0 \ Reverse both joystick channels configuration setting \ \ * 0 = standard channels (default) \ \ * &FF = reversed channels \ \ Toggled by pressing "J" when paused, see the DKS3 \ routine for details .JSTK EQUB 0 \ Keyboard or joystick configuration setting \ \ * 0 = keyboard (default) \ \ * &FF = joystick \ \ Toggled by pressing "K" when paused, see the DKS3 \ routine for details