Skip to navigation


Maths (Geometry): SCALEX

[BBC Master version]

Name: SCALEX [Show more] Type: Subroutine Category: Maths (Geometry) Summary: Scale the x-coordinate in A
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * TT103 calls SCALEX * TT14 calls SCALEX * TT22 calls SCALEX

This routine (and the related SCALEY and SCALEY2 routines) are called from various places in the code to scale the value in A. This code is different in the Apple II and BBC Master versions, and allows coordinates to be scaled correctly on different platforms.
.SCALEX RTS \ Return from the subroutine