Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/coolgirl-multicart/coolgirl-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-12-28 16:31:18 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2020-12-28 16:31:18 +0300
commitcff47bf685ec183ce6c26adcff4f0fe6c2271f02 (patch)
tree8d9b2a03c4fc789a2f8116f383e36ab5e9b0cd7b /menu.asm
parent15bbdb067c5cc35a49a85602e1b4e71488fc1d73 (diff)
Refactoring drawing
Diffstat (limited to 'menu.asm')
-rw-r--r--menu.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/menu.asm b/menu.asm
index f586de7..0a1d1df 100644
--- a/menu.asm
+++ b/menu.asm
@@ -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