Cycle counts and binary sizes across 6 released Reservoir Gods Atari ST games, measured against VBCC.
Overview
An 8 MHz 68000 gives you ~160,000 cycles per 50 Hz frame for everything. We measure rg-cc against VBCC across 256 steady-state gameplay frames in 6 released Reservoir Gods titles.
Faster in all 6 games: rg-cc cuts active gameplay cycles by 4% to 32% compared to VBCC.
Smaller code in every build: Release .text sizes drop by 12% to 17% across all 6 titles.
RG Games
Gameplay Cycles
Active C function cycles across 256 frames (excluding idle VBL waits and OS interrupts) on an 8 MHz ST:
Game
VBCC
rg-cc
Delta
Speedup
GodPey
30,309,692
20,611,408
−32.0%
9,698,284
SuperFly
25,660,144
20,833,828
−18.8%
4,826,316
ChuChu Rocket!
39,268,260
32,699,300
−16.7%
6,568,960
Clix
4,936,944
4,502,492
−8.8%
434,452
Clogged Up
34,420,120
32,376,548
−5.9%
2,043,572
Hotpot
22,243,296
21,433,948
−3.6%
809,348
Binary Size (.text)
Game
VBCC
rg-cc
Delta
%
GodPey
354,280 B
293,700 B
−60,580 B
−17.1%
Clix
319,760 B
265,084 B
−54,676 B
−17.1%
Clogged Up
326,080 B
275,382 B
−50,698 B
−15.5%
ChuChu Rocket!
379,620 B
333,856 B
−45,764 B
−12.1%
Hotpot
265,544 B
220,804 B
−44,740 B
−16.8%
SuperFly
295,588 B
260,374 B
−35,214 B
−11.9%
Game Breakdown
GodPey
GodPey
ST
Falling-block arcade puzzle
rg-cc cuts active gameplay execution by 32.0% (−9.7M cycles across the window) and trims 60.6 KB (−17.1%) from the release binary across board logic and tile rendering.
Memory-source ALU folding & post-increment base elision
Game_Input
256
84,210
48,120
−42.9%
Word-table jump table lowering (jmp (d,PC,Xn))
Game_RenderLogic
256
312,000
184,000
−41.0%
Fastcall ABI register-passing (no stack pushes)
SuperFly
SuperFly
ST
Horizontal scrolling cave flier
rg-cc reduces active gameplay cycles by 18.8% (−4.8M cycles) through faster collision and physics calculations and trims 35.2 KB (−11.9%) from the binary.
Metric (256 frames)
VBCC
rg-cc
Delta
%
Cycles
25,660,144 cyc
20,833,828 cyc
−4,826,316 cyc
−18.8%
Size (.text)
295,588 B
260,374 B
−35,214 B
−11.9%
Function
Calls
VBCC Cyc/Call
rg-cc Cyc/Call
Delta
Optimisation
GodPack_Rle_Decode_Asm
64
3,196,998
1,692,752
−47.1%
Long-word post-increment (An)+ unrolling
Clock_Update
1,024
284
100
−64.8%
16-bit sub-register narrowing on timer ticks
Kernel_Input_Update
256
823
401
−51.3%
Dead post-increment compensation elision
Map_Intersect
1,024
8,011
4,420
−44.8%
CISC displacement addressing folded directly into d8(An,Dn)
Fly_UpdatePhysics
256
3,840
2,190
−43.0%
16-bit coordinate math with zero sign-extension overhead
rg-cc saves over 6.5 million cycles (−16.7%) across intensive multi-agent pathfinding and cat AI routines, while shrinking the release executable by 45.8 KB (−12.1%).
rg-cc reduces dispatch and timer overhead across steady-state gameplay, achieving the largest release binary saving across the portfolio at −54.7 KB (−17.1%).
Metric (256 frames)
VBCC
rg-cc
Delta
%
Cycles
4,936,944 cyc
4,502,492 cyc
−434,452 cyc
−8.8%
Size (.text)
319,760 B
265,084 B
−54,676 B
−17.1%
Function
Calls
VBCC Cyc/Call
rg-cc Cyc/Call
Delta
Optimisation
Clock_Update
1,024
280
96
−65.7%
16-bit sub-register narrowing on timer ticks (no 32-bit staging)
Clix_CmdInit
32
11,200
4,890
−56.3%
Structure field zeroing with clr.l and frame LEA sinking
Kernel_Update
256
790
395
−50.0%
Task state machine dispatcher folded to PC-relative jump table