mirror of
https://github.com/fumiama/c64-snake.git
synced 2026-06-28 16:00:34 +08:00
框架构建完成
This commit is contained in:
24
hint.asm
Normal file
24
hint.asm
Normal file
@@ -0,0 +1,24 @@
|
||||
printhint:
|
||||
clc
|
||||
ldx #20 ; 光标来到正确位置
|
||||
ldy #8
|
||||
jsr plot
|
||||
`print starthint
|
||||
rts
|
||||
printfail:
|
||||
clc
|
||||
ldx #20 ; 光标来到正确位置
|
||||
ldy #8
|
||||
jsr plot
|
||||
`print failhint
|
||||
rts
|
||||
erasehint:
|
||||
ldy #25
|
||||
lda #csps
|
||||
* sta [title+20*40+8-1], y
|
||||
dey
|
||||
bne -
|
||||
rts
|
||||
|
||||
starthint: .byte "PRESS ANY KEY TO START", 0
|
||||
failhint: .byte "FAILED:PRESS TO RETURN", 0
|
||||
Reference in New Issue
Block a user