-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWave_MenuPlot.s
More file actions
59 lines (55 loc) · 980 Bytes
/
Wave_MenuPlot.s
File metadata and controls
59 lines (55 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
;Wave_MenuPlot.s
MenuCursorPlot
ldx MenuCursorX
lda MenuID
.(
bne skip1
ldy Menu1CursorX2ScreenIndex,x
lda Menu1CursorX2FieldLength,x
jmp skip2
skip1 ldy Menu2CursorX2ScreenIndex,x
lda Menu2CursorX2FieldLength,x
skip2 tax
loop1 lda $BB81,y
and #127
sta $BB81,y
iny
dex
bne loop1
.)
rts
MenuPlot
lda MenuID
.(
bne skip1
ldx #37
loop1 lda MenuText1,x
ora #128
sta $BB80,x
dex
bpl loop1
rts
skip1 ldx #37
loop2 lda MenuText2,x
ora #128
sta $BB80,x
dex
bpl loop2
.)
rts
MenuText1
.byt 131,"FILE",8,"LIST",8,"PATT",8,"EFFE",8,"ORNA",8,"SAMP",8,"TM"
MenuEmbeddedTempoText
.byt "10",8,127,"<"
;FILE LIST PATT EFFE ORNA SAMP HELP s<
;EDIT LOAD SAVE UPDATE DIR MAIN-MENU
MenuText2
.byt 134,"EDIT",8,"LOAD",8,"SAVE",8,"UPDATE",8,"DIR",8,"NEW",8,"MMENU",8,8
Menu1CursorX2ScreenIndex
.byt 0,5,10,15,20,25,30,35,36
Menu1CursorX2FieldLength
.byt 4,4,4,4,4,4,4,1,1
Menu2CursorX2ScreenIndex
.byt 0,5,10,15,22,26,30
Menu2CursorX2FieldLength
.byt 4,4,4,6,3,3,5