diff --git a/asm/dictionary.asm b/asm/dictionary.asm index 865c9831..65f16925 100644 --- a/asm/dictionary.asm +++ b/asm/dictionary.asm @@ -86,7 +86,7 @@ parse_dictionary ; ldx dict_entries ; lda dict_entries + 1 ; jsr set_z_address -;- ; show the dictonary word +;- ; show the dictionary word ; jsr print_addr ; jsr newline ; ; skip the extra data bytes diff --git a/asm/ozmoo.asm b/asm/ozmoo.asm index f458d3a3..12f94eb6 100644 --- a/asm/ozmoo.asm +++ b/asm/ozmoo.asm @@ -2028,7 +2028,7 @@ deletable_init iny cpy #header_filelength + 4 ; Compare file length (2 bytes) + checksum (2 bytes) bcc - - ; Header values for file length and checksum are indentical + ; Header values for file length and checksum are identical lda .different_values beq .must_load_statmem ; All four bytes have the same value. Header can't be trusted. dec m65_x16_statmem_already_loaded ; Set it to $ff @@ -2105,7 +2105,7 @@ deletable_init inx cpz #header_filelength + 4 ; Compare file length (2 bytes) + checksum (2 bytes) bcc - - ; Header values for file length and checksum are indentical + ; Header values for file length and checksum are identical lda .different_values beq .must_load_statmem ; All four bytes have the same value. Header can't be trusted. dec m65_x16_statmem_already_loaded ; Set it to $ff diff --git a/asm/reu.asm b/asm/reu.asm index bf25e8a0..a431639c 100644 --- a/asm/reu.asm +++ b/asm/reu.asm @@ -76,7 +76,7 @@ x16_load_file_to_reu asl lda .x16_reu_load_address + 1 rol - sbc #0 ; Carry is already clear, so this substracts 1 + sbc #0 ; Carry is already clear, so this subtracts 1 sta 0 lda .x16_reu_load_address and #$1f @@ -399,7 +399,7 @@ check_reu_size ; used registers: !ifdef TARGET_X16 { - ; TODO: we know that at least 512 KB is available, but thei + ; TODO: we know that at least 512 KB is available, but their ; emulator wraps around, so we cannot test by writing to $a000 ; how large the memory actually is. Is there a better method? lda #8 ; 8 * 64 = 512 KB diff --git a/asm/screenkernal.asm b/asm/screenkernal.asm index 2658092b..a73dff82 100644 --- a/asm/screenkernal.asm +++ b/asm/screenkernal.asm @@ -69,7 +69,7 @@ vera_composite_colour !byte 0 .vera_temp !byte 0,0 .convert_screenline_y_to_vera_address - ; convert screenline,y to addres in VERA + ; convert screenline,y to address in VERA tya asl sta VERA_addr_low @@ -1500,7 +1500,7 @@ toggle_darkmode tay lda plus4_vic_colours,y } - sta .new_fg ; New foreground colour, tranformed for target platform + sta .new_fg ; New foreground colour, transformed for target platform !ifdef TARGET_MEGA65 { jsr colour2k } diff --git a/asm/scrollback.asm b/asm/scrollback.asm index c72b1bef..ee381f28 100644 --- a/asm/scrollback.asm +++ b/asm/scrollback.asm @@ -344,7 +344,7 @@ launch_scrollback .get_char jsr kernal_getchar ldx s_screen_height_minus_one - stx z_temp + 10 ; Counter for how many lines to scoll for PgUp/PgDown + stx z_temp + 10 ; Counter for how many lines to scroll for PgUp/PgDown ldx #0 stx z_temp + 11 ; Counter for how many lines were actually scrolled @@ -1266,7 +1266,7 @@ launch_scrollback .get_char jsr kernal_getchar ldx s_screen_height_minus_one - stx z_temp + 10 ; Counter for how many lines to scoll for PgUp/PgDown + stx z_temp + 10 ; Counter for how many lines to scroll for PgUp/PgDown ldx #0 stx z_temp + 11 ; Counter for how many lines were actually scrolled diff --git a/asm/sound-aiff.asm b/asm/sound-aiff.asm index f1c184f4..9d95a5dd 100644 --- a/asm/sound-aiff.asm +++ b/asm/sound-aiff.asm @@ -67,7 +67,7 @@ sta .sample_rate_big_endian + 2 lda #0 sta .sample_rate_big_endian - ; modfiy with exponent + ; modify with exponent lda .exponent sec sbc #7 ; we're shifting one byte diff --git a/asm/sound-wav.asm b/asm/sound-wav.asm index 314b15a8..9d17d335 100644 --- a/asm/sound-wav.asm +++ b/asm/sound-wav.asm @@ -70,7 +70,7 @@ ; unknown chunk .bad_parse_wav ; just returning without setting sample_address_start - ; will trigger an error messsage + ; will trigger an error message rts .next_chunk ldq sound_file_target diff --git a/asm/sound.asm b/asm/sound.asm index a702d1ef..67f86055 100644 --- a/asm/sound.asm +++ b/asm/sound.asm @@ -315,7 +315,7 @@ read_sound_files lda #0 sta reu_progress_bar_updates -; Load to adress 1024K and onward in Attic RAM +; Load to address 1024K and onward in Attic RAM ldx sound_next_page lda sound_next_page + 1 ldy .fx_number @@ -460,7 +460,7 @@ init_sound jsr .play_next_sound .sound_callback_done ; finish interrupt handling - asl $d019 ; acknowlege irq + asl $d019 ; acknowledge irq jmp $ea31 ; finish irq diff --git a/asm/text.asm b/asm/text.asm index d73d96c1..bc0b2038 100644 --- a/asm/text.asm +++ b/asm/text.asm @@ -822,7 +822,7 @@ find_word_in_dictionary stx .dictionary_address + 1 jsr set_z_address - ; show the dictonary word + ; show the dictionary word !ifdef TRACE_SHOW_DICT_ENTRIES { jsr dollar lda .dictionary_address diff --git a/asm/utilities.asm b/asm/utilities.asm index 010aaa55..fa5314c3 100644 --- a/asm/utilities.asm +++ b/asm/utilities.asm @@ -416,7 +416,7 @@ x16_prepare_bankmem asl lda mempointer + 1 rol - sbc #0 ; Carry is already clear, so this substracts 1 + sbc #0 ; Carry is already clear, so this subtracts 1 sta 0 lda mempointer and #$1f @@ -868,7 +868,7 @@ print_following_string bne .return_address inc .return_address + 2 .return_address - lda $0000 ; self-modifying code (aaarg! but oh, so efficent) + lda $0000 ; self-modifying code (aaarg! but oh, so efficient) beq + jsr streams_print_output jmp - @@ -1178,7 +1178,7 @@ divide16 rol remainder + 1 lda remainder sec - sbc divisor ;substract divisor to see if it fits in + sbc divisor ;subtract divisor to see if it fits in tay ;lb result -> Y, for we may need it later lda remainder + 1 sbc divisor+1