Last active
August 29, 2015 14:18
-
-
Save MagerValp/fcf47ebe597af1a3424a to your computer and use it in GitHub Desktop.
Ultima IV board command disassembly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.C:4769 A5 1E LDA $1E | |
.C:476b C9 1F CMP #$1F | |
.C:476d F0 0F BEQ $477E | |
.C:476f 20 21 08 JSR $0821 | |
>C:4772 c2 ef e1 f2 e4 a0 bc ad 00 | |
.C:477b 4C 89 41 JMP $4189 | |
.C:477e A5 48 LDA $48 | |
.C:4780 C9 14 CMP #$14 | |
.C:4782 F0 56 BEQ $47DA | |
.C:4784 C9 15 CMP #$15 | |
.C:4786 F0 52 BEQ $47DA | |
.C:4788 20 21 08 JSR $0821 | |
>C:478b c2 ef e1 f2 e4 a0 00 | |
.C:4792 A5 48 LDA $48 | |
.C:4794 C9 10 CMP #$10 | |
.C:4796 F0 16 BEQ $47AE | |
.C:4798 C9 11 CMP #$11 | |
.C:479a F0 12 BEQ $47AE | |
.C:479c C9 12 CMP #$12 | |
.C:479e F0 0E BEQ $47AE | |
.C:47a0 C9 13 CMP #$13 | |
.C:47a2 F0 0A BEQ $47AE | |
.C:47a4 C9 18 CMP #$18 | |
.C:47a6 D0 03 BNE $47AB | |
.C:47a8 4C F3 47 JMP $47F3 | |
.C:47ab 4C DD F3 JMP $F3DD | |
.C:47ae A9 10 LDA #$10 | |
.C:47b0 20 0B 48 JSR $480B | |
.C:47b3 20 21 08 JSR $0821 | |
>C:47b6 e6 f2 e9 e7 e1 f4 e5 a1 8d 00 | |
.C:47c0 A5 10 LDA $10 | |
.C:47c2 CD D8 47 CMP $47D8 | |
.C:47c5 D0 0A BNE $47D1 | |
.C:47c7 A5 11 LDA $11 | |
.C:47c9 CD D9 47 CMP $47D9 | |
.C:47cc D0 03 BNE $47D1 | |
.C:47ce 4C 1E 62 JMP $621E | |
.C:47d1 A9 50 LDA #$50 | |
.C:47d3 85 2B STA $2B | |
.C:47d5 4C 1E 62 JMP $621E | |
.C:480b 85 58 STA $58 | |
.C:480d A2 1F LDX #$1F | |
.C:480f BD 60 AC LDA $AC60,X | |
.C:4812 29 FC AND #$FC | |
.C:4814 C5 58 CMP $58 | |
.C:4816 D0 0E BNE $4826 | |
.C:4818 BD 20 AC LDA $AC20,X | |
.C:481b C5 10 CMP $10 | |
.C:481d D0 07 BNE $4826 | |
.C:481f BD 40 AC LDA $AC40,X | |
.C:4822 C5 11 CMP $11 | |
.C:4824 F0 07 BEQ $482D | |
.C:4826 CA DEX | |
.C:4827 E0 08 CPX #$08 | |
.C:4829 B0 E4 BCS $480F | |
.C:482b 90 08 BCC $4835 | |
.C:482d A9 00 LDA #$00 | |
.C:482f 9D 60 AC STA $AC60,X | |
.C:4832 9D 00 AC STA $AC00,X | |
.C:4835 A5 48 LDA $48 | |
.C:4837 85 1E STA $1E | |
.C:4839 60 RTS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment