ds: blurgh doesn't work real hardware

sound envelope goes crazy second half
This commit is contained in:
Vince Weaver 2019-11-16 12:11:00 -05:00
parent 39f59dfda2
commit b558a8fa3a
3 changed files with 63 additions and 16 deletions

View File

@ -0,0 +1,47 @@
appleII_low: .byte $28 ; ysize=48
.byte $A0,$F7,$00, $CC, $A0,$26,$00, $CC,$CC, $A0,$23,$00, $C0, $CC
.byte $C0, $0C, $A3,$C0, $AF,$00, $FF, $A7,$00, $FF,$FF
.byte $00, $FF,$FF, $A4,$00, $A8,$DD, $00, $A3,$F0, $00
.byte $A4,$F0, $00, $A4,$F0, $00, $FF, $00,$00, $A4,$F0
.byte $00,$00, $FF, $00, $FF, $A4,$00, $A8,$DD, $0D
.byte $FF,$FF, $0F, $FF, $00, $FF, $0F, $FF,$FF
.byte $00, $FF, $0F, $FF,$FF, $00, $FF, $00
.byte $F0, $FF, $0F,$0F, $FF, $00,$00, $FF, $00
.byte $FF, $A4,$00, $A8,$99, $00, $FF, $00,$00, $FF
.byte $00, $FF, $00,$00, $FF, $00, $FF, $00,$00
.byte $FF, $00, $FF, $00, $FF,$FF, $00, $FF
.byte $0F, $00,$00, $FF, $00, $FF, $A4,$00, $A8,$19
.byte $00, $FF, $F0, $00, $FF, $00, $FF
.byte $00, $F0, $FF, $00, $FF, $00, $F0
.byte $FF, $00, $FF, $00, $FF,$FF, $A3,$F0, $00
.byte $F0, $FF, $00, $FF, $F0, $A3,$00, $A9,$11
.byte $0F, $FF, $00, $FF, $00, $FF, $00
.byte $FF, $0F, $00, $FF, $00, $FF, $0F
.byte $00, $FF, $00,$00, $0F, $A3,$FF, $00, $FF,$FF
.byte $00, $FF,$FF, $A4,$00, $A8,$22, $A5,$00, $FF, $A4,$00
.byte $FF, $A0,$15,$00, $A8,$62, $A0,$20,$00, $06, $A6,$66, $06
.byte $A0,$21,$00, $06,$06, $00,$00, $06,$06, $A0,$FF,$00, $A0,$10,$00
.byte $A1
appleII_high: .byte $28 ; ysize=48
.byte $A0,$F7,$00, $CC, $A0,$26,$00, $C0, $CC, $A0,$23,$00, $C0,$C0
.byte $00, $CC, $00, $C0, $A0,$10,$00, $F0, $A7,$00
.byte $FF,$FF, $00, $FF,$FF, $A4,$00, $A8,$DC, $00, $A3,$F0
.byte $00, $A3,$F0, $00,$00, $A3,$F0, $00,$00, $FF, $00,$00
.byte $A4,$F0, $00, $0F, $FF, $00, $FF, $0F
.byte $A3,$00, $D0, $A7,$DD, $0D, $A4,$FF, $00, $A4,$FF
.byte $00, $A4,$FF, $00, $FF, $00, $F0, $A4,$FF
.byte $00,$00, $FF, $00, $FF, $A4,$00, $A8,$99, $00
.byte $FF, $00,$00, $FF, $00, $FF, $00,$00, $FF
.byte $00, $FF, $00,$00, $FF, $00, $FF, $00
.byte $FF,$FF, $00, $F0, $0F, $00,$00, $FF, $00
.byte $FF, $A4,$00, $A8,$19, $00, $FF, $00,$00, $FF
.byte $00, $FF, $00,$00, $FF, $00, $FF, $00,$00
.byte $FF, $00, $FF, $00, $FF,$FF, $00, $0F
.byte $A3,$00, $FF, $00, $FF, $A4,$00, $A9,$11, $FF,$FF
.byte $00, $FF, $00, $FF, $00, $FF,$FF, $00
.byte $FF, $00, $FF,$FF, $00, $FF, $00,$00, $A4,$FF
.byte $00, $FF,$FF, $00, $FF,$FF, $A4,$00, $A8,$21, $A5,$00
.byte $FF, $A4,$00, $FF, $A0,$15,$00, $A8,$22, $A5,$00, $0F
.byte $A4,$00, $0F, $A0,$15,$00, $A8,$66, $A0,$21,$00, $06,$06, $00,$00
.byte $06,$06, $A0,$FF,$00, $A0,$10,$00
.byte $A1

View File

@ -11,7 +11,7 @@ demosplash2019:
; shouldn't have to do this, but uninit memory bugs
;==================================================
lda #0
ldy #128
ldy #$20
zp_clear_loop:
sta $0,y
iny

View File

@ -2,34 +2,34 @@
;; LZ4 addresses
LZ4_SRC = $00
LZ4_DST = $02
LZ4_END = $04
WHICH_LOAD = $05
COUNT = $06
DELTA = $08
;LZ4_SRC = $00
;LZ4_DST = $02
;LZ4_END = $04
;WHICH_LOAD = $05
;COUNT = $06
;DELTA = $08
;; Zero page monitor routines addresses
WNDLFT = $20
WNDWDTH = $21
WNDTOP = $22
WNDBTM = $23
;WNDLFT = $20
;WNDWDTH = $21
;WNDTOP = $22
;WNDBTM = $23
CH = $24
CV = $25
GBASL = $26
GBASH = $27
BASL = $28
BASH = $29
H2 = $2C
V2 = $2D
;H2 = $2C
;V2 = $2D
MASK = $2E
COLOR_MASK = $2F
;COLOR_MASK = $2F
COLOR = $30
SEEDL = $4e
SEEDH = $4f
;SEEDL = $4e
;SEEDH = $4f
XMAX = $50
; escape