junglejourney

changeset 24:082f2b5864bd

Moved the playing area down two lines to try and avoid flickering when repainting close to the top of the screen.
author David Boddie <david@boddie.org.uk>
date Mon Aug 15 00:35:34 2011 +0200
parents 774827fce02a
children 0ec66e647153
files mapcode.oph
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line diff
     1.1 --- a/mapcode.oph	Mon Aug 15 00:34:23 2011 +0200
     1.2 +++ b/mapcode.oph	Mon Aug 15 00:35:34 2011 +0200
     1.3 @@ -505,9 +505,9 @@
     1.4      lda $33f3
     1.5      sta $79
     1.6  
     1.7 -    lda #$00
     1.8 +    lda #$80
     1.9      sta $72
    1.10 -    lda #$58
    1.11 +    lda #$5a
    1.12      sta $73         ; $72,$73 = screen position
    1.13  
    1.14      jsr make_room
    1.15 @@ -546,7 +546,7 @@
    1.16          adc #$02
    1.17          sta $73
    1.18          clc
    1.19 -        cmp #$7d
    1.20 +        cmp #$80
    1.21          beq end_rows
    1.22  
    1.23          jmp row_loop
    1.24 @@ -812,8 +812,8 @@
    1.25  player_direction_chars_low: .byte $00,$30,$60,$90,$c0,$f0,$20,$50
    1.26  player_direction_chars_high: .byte $34,$34,$34,$34,$34,$34,$35,$35
    1.27  
    1.28 -screen_rows_low: .byte $00,$c0,$80,$40,$00,$c0,$80,$40,$00,$c0
    1.29 -screen_rows_high: .byte $58,$5b,$5f,$63,$67,$6a,$6e,$72,$76,$79
    1.30 +screen_rows_low: .byte $80,$40,$00,$c0,$80,$40,$00,$c0,$80,$40
    1.31 +screen_rows_high: .byte $5a,$5e,$62,$65,$69,$6d,$71,$74,$78,$7c
    1.32  screen_subrows_low: .byte $00,$04,$40,$44,$80,$84
    1.33  screen_subrows_high: .byte $00,$00,$01,$01,$02,$02
    1.34