Cartridge self-checking: Difference between revisions
Jump to navigation
Jump to search
(Created page with "From samsho4, done for all 4 banks in $200000~$2FFFFF: <pre> move #$0FFF,d7 ;Number of times to test until error LAB_0057: move #$0001,$2FFFF0 ;Set P bank 1 cmpi #$0001,...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
From | From [[Samurai Shodown IV - Amakusa's Revenge]], done for all 4 banks in $200000~$2FFFFF: | ||
<pre> | <pre> | ||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
Also see [[ | Also see [[slot check security]]. | ||
[[Category:Cartridge systems]] | |||
[[Category:Code]] |
Latest revision as of 04:55, 12 October 2016
From Samurai Shodown IV - Amakusa's Revenge, done for all 4 banks in $200000~$2FFFFF:
move #$0FFF,d7 ;Number of times to test until error LAB_0057: move #$0001,$2FFFF0 ;Set P bank 1 cmpi #$0001,$2FFFF0 ;Check if ($2FFFF0) = 1 beq LAB_0058 ;Pass dbf d7,LAB_0057 ;Or loop move #$0048,EXT_0574 ;Fail move.b #$FF,2066(a5) ;Set RAM jmp EXT_01A0 ;Write "WARNING BANK ERROR" and lock LAB_0058:
Also see slot check security.