Skip to navigation

Aviator on the BBC Micro

3D geometry: SetObjectCoords (Part 11 of 11)

Name: SetObjectCoords (Part 11 of 11) [Show more] Type: Subroutine Category: 3D geometry Summary: Update the object status and return from the subroutine Deep dive: 3D objects
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
.objc12 LDA #%01000000 \ Set A = %01000000 to set bit 6 of the object's status \ byte, to denote that the object has had its \ coordinates calculated .objc13 ORA objectStatus,Y \ Set the bits of the object's status byte as per the STA objectStatus,Y \ value in A RTS \ Return from the subroutine