small optimization - 2 bytes saved

This commit is contained in:
FeralChild64 committed 2019-10-04 00:09:33 +02:00
1 parent 4be1f222a9
commit ef0ef3162e
8 files changed
+15 -14

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+12 -12
View File
@@ -17,28 +17,28 @@ __kernal_messages_start:
__kernal_message_searching_for:
.byte $0D
.text "SEARCHING FOR "
.byte 0
.text "SEARCHING FOR"
.byte $80 + $20 // end of string mark + space
__kernal_message_loading:
.byte $0D
.text "LOADING"
.byte 0
.text "LOADIN"
.byte $80 + $47 // end of string mark + 'G'
__kernal_message_verifying:
.byte $0D
.text "VERIFYING"
.byte 0
.text "VERIFYIN"
.byte $80 + $47 // end of string mark + 'G'
__kernal_message_saving:
.byte $0D
.text "SAVING"
.byte 0
.text "SAVIN"
.byte $80 + $47 // end of string mark + 'G'
__kernal_message_from_hex:
.text " FROM $"
.byte 0
.text " FROM "
.byte $80 + $24 // end of string mark + '$'
__kernal_message_to_hex:
.text " TO $"
.byte 0
.text " TO "
.byte $80 + $24 // end of string mark + '$'
+3 -2
View File
@@ -10,5 +10,6 @@
print_kernal_message:
lda __kernal_messages_start, x
bne !- // 0 marks end of string
rts
bpl !- // 0 marks end of string
and #$7F
jmp JCHROUT