mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-24 23:25:28 +00:00
credits: the music repeats now
This commit is contained in:
parent
6662fc6f4d
commit
55a377965c
@ -9,7 +9,7 @@ int main(int argc, char **argv) {
|
|||||||
// desired=5196;
|
// desired=5196;
|
||||||
// desired=4547;
|
// desired=4547;
|
||||||
// desired=9685;
|
// desired=9685;
|
||||||
desired=4704;
|
desired=4680;
|
||||||
|
|
||||||
|
|
||||||
printf("You want %d cycles\n",desired);
|
printf("You want %d cycles\n",desired);
|
||||||
|
@ -526,23 +526,51 @@ loop4:
|
|||||||
;=============
|
;=============
|
||||||
; 21
|
; 21
|
||||||
|
|
||||||
|
; 2=2 not loop
|
||||||
|
; 2+7+3= 12 = last page
|
||||||
|
; 2+7+15=24 = loop
|
||||||
|
|
||||||
|
cmp #>music+5 ; 2
|
||||||
|
bne waste_7 ;
|
||||||
|
; 2
|
||||||
|
lda MBOFFSET ; 3
|
||||||
|
cmp #16 ; 2
|
||||||
|
bne waste_12 ;
|
||||||
|
; 2
|
||||||
|
lda #>music ; 2
|
||||||
|
sta MBASE ; 3
|
||||||
|
lda #0 ; 2
|
||||||
|
sta MBOFFSET ; 3
|
||||||
|
jmp not_ready_to_loop ; 3
|
||||||
|
waste_7:
|
||||||
|
lda #0 ; 2
|
||||||
|
inc BLARGH ; 5
|
||||||
|
waste_12:
|
||||||
|
; 3
|
||||||
|
lda #0 ; 2
|
||||||
|
inc BLARGH ; 5
|
||||||
|
inc BLARGH ; 5
|
||||||
|
|
||||||
|
not_ready_to_loop:
|
||||||
|
|
||||||
; lores want 5200
|
; lores want 5200
|
||||||
; mockingboard -492
|
; mockingboard -492
|
||||||
|
; wrap -24
|
||||||
; softswitch -4
|
; softswitch -4
|
||||||
;===================
|
;===================
|
||||||
; 4704 cycles
|
; 4680 cycles
|
||||||
|
|
||||||
; Try X=133 Y=7 cycles=4698 R6
|
; Try X=7 Y=114 cycles=4675 R5
|
||||||
|
|
||||||
|
inc BLARGH ; 5
|
||||||
lda #0 ; 2
|
; lda #0 ; 2
|
||||||
lda #0 ; 2
|
; lda #0 ; 2
|
||||||
lda #0 ; 2
|
; lda #0 ; 2
|
||||||
; lda #0 ; 2
|
; lda #0 ; 2
|
||||||
|
|
||||||
ldy #7 ; 2
|
ldy #114 ; 2
|
||||||
loop5:
|
loop5:
|
||||||
ldx #133 ; 2
|
ldx #7 ; 2
|
||||||
loop6:
|
loop6:
|
||||||
dex ; 2
|
dex ; 2
|
||||||
bne loop6 ; 2nt/3
|
bne loop6 ; 2nt/3
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user