Skip to content

Commit 6be72cd

Browse files
committed
Whitespace
1 parent 67df8b0 commit 6be72cd

File tree

17 files changed

+96
-96
lines changed

17 files changed

+96
-96
lines changed

src/atari/common/paging/page_cache_get_pagegroup.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ copy_to_cache:
161161
beq exit_error ; exit if there were none
162162

163163
sta num_pgs ; save the count of page groups in this block
164-
164+
165165
; Add Y to ptr1 to point to start of first pagegroup
166166
tya
167167
sec ; adding 1 more as we are still pointing to num_pgs, but want to skip over that byte

src/atari/common/paging/page_cache_init.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
lda _cache+page_cache::bank_size
2323
ora _cache+page_cache::bank_size+1
2424
bne bank_size_set ; Skip if already initialized
25-
25+
2626
; Set default bank size
2727
lda #<BANK_SIZE_DEFAULT
2828
sta _cache+page_cache::bank_size

src/atari/full/modules/mod_files/common/mf_kb_cb.s

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ mf_kb_cb:
2424
; Get pre-calculated filename length
2525
ldx mf_selected
2626
lda mf_filename_lengths,x
27-
27+
2828
; Check if animation is needed (length > screen width)
2929
cmp #SCR_WID_NB-2 ; -2 for space + border on right side
3030
bcs need_animation ; animation needed, save more and continue
31-
31+
3232
; No animation needed - restore minimal registers and exit
3333
pla
3434
tax
@@ -40,7 +40,7 @@ need_animation:
4040
sta filename_len ; save filename length
4141
tya
4242
pha
43-
43+
4444
; Save zero page variables we'll use
4545
mwa ptr1, saved_ptr1
4646
mwa tmp9, saved_tmp9
@@ -66,12 +66,12 @@ need_animation:
6666
; Update animation index
6767
lda anim_direction
6868
beq move_right
69-
69+
7070
move_left:
7171
; Moving left (decreasing index)
7272
lda anim_index
7373
bne continue_left ; Not at left boundary yet
74-
74+
7575
; At left boundary - pause then reverse to right
7676
lda #0 ; new direction = right
7777
beq handle_boundary_pause
@@ -89,11 +89,11 @@ move_right:
8989
sbc #SCR_WID_NB-2 ; filename_len - display_width (space + border on right)
9090
cmp anim_index
9191
bne continue_right ; Not at right boundary yet
92-
92+
9393
; At right boundary - pause then reverse to left
9494
lda #1 ; new direction = left
9595
bne handle_boundary_pause
96-
96+
9797
continue_right:
9898
inc anim_index
9999
bne done ; will always branch
@@ -117,7 +117,7 @@ done:
117117
; Restore zero page variables
118118
mwa saved_ptr1, ptr1
119119
mwa saved_tmp9, tmp9
120-
120+
121121
; Restore registers
122122
pla
123123
tay

src/atari/full/modules/mod_files/mod_files.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
; Choose between simple and paging version based on available banked RAM
1212
lda _bank_count
1313
beq use_simple ; No banks available - use simple version
14-
14+
1515
; Banks available - use paging version with cache
1616
jmp mfp_main
17-
17+
1818
use_simple:
1919
; No banked RAM - use simple version
2020
jmp mfs_main

src/atari/full/modules/mod_files/pages/mfp_main.s

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ init_ok:
6262
lda #$00
6363
sta _get_pagegroup_params+page_cache_get_pagegroup_params::fetching_cb
6464
sta _get_pagegroup_params+page_cache_get_pagegroup_params::fetching_cb+1
65-
65+
6666
; Set up selection changed callback for updating timestamp/filesize display
6767
mwa #mfp_update_selection_display, kb_selection_changed_cb
6868

@@ -111,18 +111,18 @@ exit_mfp:
111111
lda mf_selected
112112
cmp mf_prev_selected
113113
beq skip_repaint ; Same selection, no need to repaint
114-
114+
115115
; Repaint previous filename from beginning
116116
ldx mf_prev_selected
117117
cpx #$ff ; Check if previous selection is valid
118118
beq skip_repaint ; Invalid previous selection
119-
119+
120120
; Get pointer to previous filename from cache
121121
txa
122122
asl ; multiply by 2 for pointer array
123123
tay
124124
mywa {mfp_filename_cache, y}, ptr1
125-
125+
126126
; Repaint previous filename at original position
127127
put_s #$01, mf_prev_selected, ptr1, mf_y_offset
128128

@@ -133,7 +133,7 @@ skip_repaint:
133133

134134
; Reset filename scrolling animation
135135
jsr mf_kb_cb_reset_anim
136-
136+
137137
; Calculate offset into timestamp cache: mf_selected * 17
138138
lda mf_selected
139139
asl a ; * 2
@@ -148,7 +148,7 @@ skip_repaint:
148148
lda #>mfp_timestamp_cache
149149
adc #0 ; add carry
150150
sta ptr1+1
151-
151+
152152
; Print timestamp at position (1, 21)
153153
put_s #01, #21, ptr1
154154

@@ -177,7 +177,7 @@ show_size:
177177
lda #>mfp_filesize_cache
178178
adc #0 ; add carry
179179
sta ptr1+1
180-
180+
181181
; Print filesize at position (27, 21)
182182
put_s #27, #21, ptr1
183183
rts

src/atari/full/modules/mod_files/pages/mfp_new_page.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
; -----------------------------------------------------
6464
; Check cache first - only call FujiNet if we need new data
65-
65+
6666
; Set up path hash for cache lookup
6767
mwa #fn_dir_path, _set_path_flt_params+page_cache_set_path_filter_params::path
6868
mwa #fn_dir_filter, _set_path_flt_params+page_cache_set_path_filter_params::filter

src/atari/full/modules/mod_files/pages/mfp_show_page.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ loop_entries:
126126
pushax #ts_output ; source
127127
lda #17 ; length including null
128128
jsr _fc_strncpy
129-
129+
130130
; Advance timestamp cache pointer by 17 (16 chars + null)
131131
adw mfp_ts_cache_ptr, #17
132132

@@ -182,7 +182,7 @@ loop_entries:
182182

183183
just_file:
184184
; ellipsize the name in ptr1
185-
185+
186186

187187
put_s #$01, mf_entry_index, ptr1, mf_y_offset
188188

src/atari/full/modules/mod_files/simple/mfs_main.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ exit_mfs:
5353
lda #$00
5454
sta kb_cb_function
5555
sta kb_cb_function+1
56-
56+
5757
; Clear selection changed callback
5858
sta kb_selection_changed_cb
5959
sta kb_selection_changed_cb+1

src/atari/full/modules/mod_info/mi_handle_input.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
mwa #mi_kbh, kb_mod_proc
3131

3232
jsr kb_global ; rts from this will drop out of module
33-
33+
3434
; Clear the selection callback when leaving this module
3535
mwa #$0000, kb_selection_changed_cb
36-
36+
3737
rts
3838
.endproc
3939

src/atari/full/modules/mod_info/mi_init_screen.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ mi_show_help:
8686
lda kb_current_line
8787
cmp #8 ; check bounds (0-7 for 8 preferences)
8888
bcs clear_help ; clear if out of bounds
89-
89+
9090
; Use lookup table to get help text address
9191
asl a ; multiply by 2 for word addresses
9292
tay
9393
lda help_text_table,y
9494
sta ptr1
9595
lda help_text_table+1,y
9696
sta ptr1+1
97-
97+
9898
; Display help text
9999
put_s #1, #19, ptr1
100100
rts

0 commit comments

Comments
 (0)