Skip to navigation


Maths (Geometry): SCALEY

[BBC Master version]

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

This routine (and the related SCALEY2 and SCALEX 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. The original source contains the comment "SCALE Scans by 3/4 to fit in".
.SCALEY LSR A \ Halve the value in A