mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
pt3: move note vars to zero page
since we're being crazy
This commit is contained in:
parent
dd978592b8
commit
d328d28ffa
@ -27,6 +27,7 @@ Code Optimization
|
|||||||
Qkumba#3+vmw 2816 ?? 1C.22 28s 171s 16.3%
|
Qkumba#3+vmw 2816 ?? 1C.22 28s 171s 16.3%
|
||||||
Fixes,zero init 2776 ?? 1C.10 28s 171s 16.3%
|
Fixes,zero init 2776 ?? 1C.10 28s 171s 16.3%
|
||||||
Qkumba-SuperSMC 2739 ?? 1B.15 27s 171s 15.8%
|
Qkumba-SuperSMC 2739 ?? 1B.15 27s 171s 15.8%
|
||||||
|
MoveNoteToZP 2650 ?? 1A.23 26s 171s 15.2%
|
||||||
|
|
||||||
Times: Validated
|
Times: Validated
|
||||||
BH.PT3: 10.0B 16 1:33 93 17.2%
|
BH.PT3: 10.0B 16 1:33 93 17.2%
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
10 PRINT "PT3 PLAYER V0.9"
|
10 PRINT "PT3 PLAYER V1.0"
|
||||||
100 PRINT CHR$ (4)"BRUN PT3_PLAYER"
|
100 PRINT CHR$ (4)"BRUN PT3_PLAYER"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
; + 2828 bytes -- fix some correctness issues
|
; + 2828 bytes -- fix some correctness issues
|
||||||
; + 2776 bytes -- init vars with loop (slower, but more correct and smaller)
|
; + 2776 bytes -- init vars with loop (slower, but more correct and smaller)
|
||||||
; + 2739 bytes -- qkumba's crazy SMC everywhere patch
|
; + 2739 bytes -- qkumba's crazy SMC everywhere patch
|
||||||
|
; + 2430+120 = 2650 bytes -- move NOTE structs to page0
|
||||||
|
|
||||||
; TODO
|
; TODO
|
||||||
; move some of these flags to be bits rather than bytes?
|
; move some of these flags to be bits rather than bytes?
|
||||||
@ -87,9 +88,18 @@ NOTE_TONE_SLIDE_TO_STEP =39
|
|||||||
|
|
||||||
NOTE_STRUCT_SIZE=40
|
NOTE_STRUCT_SIZE=40
|
||||||
|
|
||||||
|
note_a = $80
|
||||||
|
note_b = $80+(NOTE_STRUCT_SIZE*1)
|
||||||
|
note_c = $80+(NOTE_STRUCT_SIZE*2)
|
||||||
|
|
||||||
|
begin_vars=$80
|
||||||
|
end_vars=$80+(NOTE_STRUCT_SIZE*3)
|
||||||
|
|
||||||
|
.if 0
|
||||||
begin_vars:
|
begin_vars:
|
||||||
|
|
||||||
note_a: ; reset?
|
note_a: ; reset?
|
||||||
|
|
||||||
.byte $0 ; NOTE_VOLUME ; 0 ; Y
|
.byte $0 ; NOTE_VOLUME ; 0 ; Y
|
||||||
.byte $0 ; NOTE_TONE_SLIDING_L ; 1 ; Y
|
.byte $0 ; NOTE_TONE_SLIDING_L ; 1 ; Y
|
||||||
.byte $0 ; NOTE_TONE_SLIDING_H ; 2 ; Y
|
.byte $0 ; NOTE_TONE_SLIDING_H ; 2 ; Y
|
||||||
@ -215,6 +225,7 @@ note_c:
|
|||||||
.byte $0 ; NOTE_TONE_DELTA_H
|
.byte $0 ; NOTE_TONE_DELTA_H
|
||||||
.byte $0 ; NOTE_TONE_SLIDE_TO_STEP
|
.byte $0 ; NOTE_TONE_SLIDE_TO_STEP
|
||||||
end_vars:
|
end_vars:
|
||||||
|
.endif
|
||||||
|
|
||||||
load_ornament0_sample1:
|
load_ornament0_sample1:
|
||||||
lda #0 ; 2
|
lda #0 ; 2
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user