Skip to navigation

Revs on the BBC Micro

Source code statistics

Here's a statistical breakdown of the source code for Revs. 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 objects679   (7.2%)19   (4.5%)18   (2.1%)
Car geometry457   (4.9%)20   (4.7%)15   (1.8%)
Dashboard407   (4.3%)12   (2.8%)26   (3.1%)
Drawing objects677   (7.2%)16   (3.8%)1    (0.1%)
Drawing pixels23    (0.2%)1    (0.2%)9    (1.1%)
Drawing the track825   (8.8%)22   (5.2%)9    (1.1%)
Drivers399   (4.2%)16   (3.8%)14   (1.7%)
Driving model822   (8.7%)32   (7.6%)47   (5.5%)
Extra tracks1665 (17.7%)124 (29.4%)195 (23.0%)
Keyboard422   (4.5%)18   (4.3%)6    (0.7%)
Main Loop89    (0.9%)2    (0.5%)0    (0.0%)
Main loop305   (3.2%)14   (3.3%)1    (0.1%)
Maths (Arithmetic)250   (2.7%)12   (2.8%)0    (0.0%)
Maths (Geometry)185   (2.0%)14   (3.3%)2    (0.2%)
Screen buffer433   (4.6%)20   (4.7%)53   (6.2%)
Screen mode179   (1.9%)5    (1.2%)10   (1.2%)
Setup112   (1.2%)6    (1.4%)7    (0.8%)
Sound101   (1.1%)6    (1.4%)4    (0.5%)
Tactics304   (3.2%)7    (1.7%)1    (0.1%)
Text411   (4.4%)25   (5.9%)73   (8.6%)
Track data3     (0.0%)1    (0.2%)48   (5.7%)
Track geometry651   (6.9%)30   (7.1%)19   (2.2%)
Workspaces0     (0.0%)0    (0.0%)290 (34.2%)
Totals9399422848