mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2025-02-17 10:30:34 +00:00
finish cda box.
This commit is contained in:
parent
26ceb7aa50
commit
5a1f0f6ffc
53
vt100.cda.S
53
vt100.cda.S
@ -145,9 +145,48 @@ box
|
|||||||
bpl ]loop
|
bpl ]loop
|
||||||
|
|
||||||
|
|
||||||
|
rep #$20
|
||||||
|
|
||||||
|
* title
|
||||||
|
ldx #36
|
||||||
|
]loop lda :title,x
|
||||||
|
sta |$0480+1,x
|
||||||
|
dex
|
||||||
|
dex
|
||||||
|
bpl ]loop
|
||||||
|
|
||||||
|
lda #'LL'
|
||||||
|
ldx #36
|
||||||
|
]loop sta |$0500+1,x
|
||||||
|
dex
|
||||||
|
dex
|
||||||
|
bpl ]loop
|
||||||
|
|
||||||
|
* bottom instructions
|
||||||
|
ldx #:instr_len-2
|
||||||
|
]loop lda :instr,x
|
||||||
|
sta |$0750+1,x
|
||||||
|
dex
|
||||||
|
dex
|
||||||
|
bpl ]loop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
plp
|
plp
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
:instr
|
||||||
|
asc " Select: ",'H'," ",'U'," ",'J'," ",'K'
|
||||||
|
asc " Cancel:Esc Save: ",'M'," "
|
||||||
|
:instr_len equ *-:instr
|
||||||
|
err :instr_len&1
|
||||||
|
|
||||||
|
|
||||||
|
:title
|
||||||
|
asc " Virtual Terminal "
|
||||||
|
ds 38-18,' '
|
||||||
|
|
||||||
|
|
||||||
text
|
text
|
||||||
dw $0400
|
dw $0400
|
||||||
dw $0480
|
dw $0480
|
||||||
@ -174,18 +213,6 @@ text
|
|||||||
dw $0750
|
dw $0750
|
||||||
dw $07d0
|
dw $07d0
|
||||||
|
|
||||||
*box
|
|
||||||
* asc " ______________________________________ "
|
|
||||||
* asc da," Terminal ",' ',df
|
|
||||||
* db $da
|
|
||||||
* ds 38,$cc
|
|
||||||
* db $df
|
|
||||||
|
|
||||||
|
|
||||||
* asc da," Select: ",c8,df,ca,cb," Cancel: Esc Save: ",cd,df
|
sav vt100.cda.L
|
||||||
* asc " "
|
|
||||||
* ds 38,$cc
|
|
||||||
* asc " "
|
|
||||||
|
|
||||||
|
|
||||||
sav vt100.cda.L
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user