Skip to navigation

Lander on the Acorn Archimedes

Landscape: DrawLandscapeAndBuffers (Part 4 of 4)

Name: DrawLandscapeAndBuffers (Part 4 of 4) [Show more] Type: Subroutine Category: Landscape Summary: Draw the remaining graphics buffers Deep dive: Drawing the landscape Depth-sorting with the graphics buffers
Context: See this subroutine in context in the source code References: No direct references to this subroutine in this source file
.land5 MOV R0, #TILES_Z - 2 \ Draw the contents of the penultimate BL DrawGraphicsBuffer \ graphics buffer MOV R0, #TILES_Z - 1 \ Draw the contents of the last graphics BL DrawGraphicsBuffer \ buffer LDMFD R13!, {R5-R9, PC} \ Retrieve the registers that we stored on \ the stack and return from the subroutine