diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2020-12-28 16:31:18 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2020-12-28 16:31:18 +0300 |
commit | cff47bf685ec183ce6c26adcff4f0fe6c2271f02 (patch) | |
tree | 8d9b2a03c4fc789a2f8116f383e36ab5e9b0cd7b /menu.asm | |
parent | 15bbdb067c5cc35a49a85602e1b4e71488fc1d73 (diff) |
Refactoring drawing
Diffstat (limited to 'menu.asm')
-rw-r--r-- | menu.asm | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -147,13 +147,13 @@ Start: lda <TMP+1 bne .do_init_modulo lda <TMP - cmp #LINES_PER_SCREEN + cmp #LINES_PER_SCREEN * 2 bcs .do_init_modulo jmp .init_modulo_end .do_init_modulo: lda <TMP sec - sbc #LINES_PER_SCREEN + sbc #LINES_PER_SCREEN * 2 sta <TMP lda <TMP+1 sbc #0 @@ -240,7 +240,7 @@ Start: .not_crc: ; printing game names - ldx #15 + ldx #LINES_PER_SCREEN jsr print_last_name .print_next_game_at_start: inc <LAST_LINE_GAME @@ -250,7 +250,7 @@ Start: .last_line_ok: inc <LAST_LINE_MODULO lda <LAST_LINE_MODULO - cmp #LINES_PER_SCREEN + cmp #LINES_PER_SCREEN * 2 bne .modulo_ok lda #0 sta <LAST_LINE_MODULO |