Skip to navigation

Aviator on the BBC Micro

Source code statistics

Here's a statistical breakdown of the source code for Aviator. Click on the table headers to sort by that statistic. Some notes:

  • The instruction count does not include EQUB, EQUW, EQUD, EQUS or SKIP operatives used in declaring variables.
  • Each part of a multi-part subroutine counts as an individual subroutine.
CategoryInstructionsSubroutinesVariables
3D geometry838  (13.1%)28 (11.2%)23   (6.0%)
Dashboard635   (9.9%)29 (11.6%)19   (4.9%)
Drawing lines1180 (18.4%)33 (13.2%)12   (3.1%)
Flight model1001 (15.6%)36 (14.4%)6    (1.6%)
Graphics252   (3.9%)16  (6.4%)4    (1.0%)
Keyboard99    (1.5%)6   (2.4%)6    (1.6%)
Main loop172   (2.7%)15  (6.0%)2    (0.5%)
Maths596   (9.3%)17  (6.8%)17   (4.4%)
Scoring201   (3.1%)11  (4.4%)8    (2.1%)
Setup240   (3.7%)7   (2.8%)3    (0.8%)
Sound78    (1.2%)7   (2.8%)3    (0.8%)
The Theme533   (8.3%)17  (6.8%)14   (3.6%)
Utility routines82    (1.3%)8   (3.2%)1    (0.3%)
Visibility498   (7.8%)20  (8.0%)2    (0.5%)
Workspaces0     (0.0%)0   (0.0%)266 (68.9%)
Totals6405250386