mirror of
https://github.com/Pecusx/no_internet.git
synced 2026-05-20 22:33:43 +02:00
ReadMe updt
This commit is contained in:
@@ -1 +1,12 @@
|
|||||||
# no_internet
|
# no_internet
|
||||||
|
The Atari 8-bit game created for Wapniak'2018 party. Not released in time for reasons.
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
[] perpetual drawing of ground
|
||||||
|
[] jumping dino
|
||||||
|
[] dino collisions
|
||||||
|
[] points
|
||||||
|
[] game over msg
|
||||||
|
[] bird
|
||||||
|
[] clouds
|
||||||
|
[] fix ground gfx
|
||||||
@@ -3,8 +3,9 @@
|
|||||||
icl 'macro.asm'
|
icl 'macro.asm'
|
||||||
|
|
||||||
.zpvar tmp, tmp0, tmp1, tmp2, tmp3 .word
|
.zpvar tmp, tmp0, tmp1, tmp2, tmp3 .word
|
||||||
sw = $80 ;screen width in bytes
|
sw = $80 ;physical screen width in bytes (distance between beginnings of consecutive lines)
|
||||||
sh = 128 ; screen height in lines
|
sw_log = 48 ;logical screen width
|
||||||
|
sh = 128 ;screen height in lines
|
||||||
screen = $4000
|
screen = $4000
|
||||||
pmgraph = $9000
|
pmgraph = $9000
|
||||||
org $2000
|
org $2000
|
||||||
|
|||||||
@@ -342,6 +342,8 @@ dino_save_pm_y_prev .by 0
|
|||||||
.proc move_dl ;screen window one byte right
|
.proc move_dl ;screen window one byte right
|
||||||
;uses: AXY
|
;uses: AXY
|
||||||
|
|
||||||
|
inc:lda x_scr_offset
|
||||||
|
cmp #sw_l
|
||||||
mwa #dl_addrs+1 incr+1 ;self mod
|
mwa #dl_addrs+1 incr+1 ;self mod
|
||||||
ldx #sh
|
ldx #sh
|
||||||
incr inc $ffff
|
incr inc $ffff
|
||||||
@@ -350,6 +352,7 @@ incr inc $ffff
|
|||||||
bne incr
|
bne incr
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
|
x_scr_offset .by 0 ;where is the beginning of the screen
|
||||||
|
|
||||||
.proc move_scr ;screen window one step (1/4 th of byte) right
|
.proc move_scr ;screen window one step (1/4 th of byte) right
|
||||||
dec:lda hscr_state
|
dec:lda hscr_state
|
||||||
|
|||||||
Reference in New Issue
Block a user