Patch:F10 M Cheat
Jump to navigation
Jump to search
The F10 + M or memory cheat in Keen Galaxy displays information about the current level's memory usage. This is useful for modders as it shows how much memory is free for use by more tiles, sprites or music. This is the original purpose of the cheat and it is of little value to players.
Notice that the text is set out so that the varying values can be inserted into it. This leads to some unusual arrangements.
Window
This is the cheat window and patches relating to it.
Keen 4
#F10 + M
%patch $6C68 [$0007W] #Height
%patch $6C6C [$0010W] #Width
%patch $6C78 [$03E2W] #Text called from (Memory...)
%patch $6C84 [$03EFW] #Text called from (----....)
%patch $6C90 [$03FCW] #Text called from (Total...)
%patch $6CCB [$0408W] #Text called from (k, Free...)
%patch $6CF4 [$0416W] #Text called from (k, With purge...)
%patch $6D1D [$0424W] #Text called from (k)
#Text
%patch $2F252 "Memory Usage" $00
%patch $2F25F "------------" $00
%patch $2F26C "Total :" $00
%patch $2F278 "k" $0A "Free :" $00
%patch $2F286 "k" $0A "With purge:" $00
%patch $2F294 "k" $0A "" $00
Keen 5
#F10 + M
%patch $6C1D [$0007W] #Height
%patch $6C21 [$0010W] #Width
%patch $6C2D [$0386W] #Text called from (Memory...)
%patch $6C39 [$0393W] #Text called from (----....)
%patch $6C45 [$03A0W] #Text called from (Total...)
%patch $6C80 [$03ACW] #Text called from (k, Free...)
%patch $6CA9 [$03BAW] #Text called from (k, With purge...)
%patch $6CD2 [$03C8W] #Text called from (k)
#Text
%patch $306C6 "Memory Usage" $00
%patch $306D3 "------------" $00
%patch $306E0 "Total :" $00
%patch $306EC "k" $0A "Free :" $00
%patch $306FA "k" $0A "With purge:" $00
%patch $30708 "k" $0A "" $00
Keen 6
#F10 + M
%patch $6A37 [$0007W] #Height
%patch $6A3B [$0010W] #Width
%patch $6A47 [$035AW] #Text called from (Memory...)
%patch $6A53 [$0367W] #Text called from (----....)
%patch $6A5F [$0374W] #Text called from (Total...)
%patch $6A9A [$0380W] #Text called from (k, Free...)
%patch $6AC3 [$038EW] #Text called from (k, With purge...)
%patch $6AEC [$039CW] #Text called from (k)
#Text
%patch $3108A "Memory Usage" $00
%patch $31097 "------------" $00
%patch $310A4 "Total :" $00
%patch $310B0 "k" $0A "Free :" $00
%patch $310BE "k" $0A "With purge:" $00
%patch $310CC "k" $0A "" $00
Key that activates cheat
This patch alters what keys activate the memory usage cheat. (See Patch:Scancodes.) By default this is 'm' Setting this to $C647, $BCAF or $C7D5 (in Keen 4, Keen 5 and Keen 6 respectively.) will disable the cheat .
Keen 4
#F10 + M key
%patch $75D8 {$C6ABW}
Keen 5
#F10 + M key
%patch $758D {$BD13W}
Keen 6
#F10 + M key
%patch $73AD {$C839W}
Disable
This patch disables the memory usage cheat entirely.
Keen 4
#Disable F10 + M key (Frees $6C5F-$6D38)
%patch $75DB $EB
Keen 5
#Disable F10 + M key (Frees $6C14-$6CED)
%patch $7590 $EB
Keen 6
#Disable F10 + M key (Frees $6A2E-$6B07)
%patch $73B0 $EB