Jeśli chcesz wziąć udział w dyskusjach na forum - zaloguj się. Jeżeli nie masz loginu - poproś o członkostwo.
Vanilla 1.1.4 jest produktem Lussumo. Więcej informacji: Dokumentacja, Forum.
tebe:
przy LZSS to problem jaki widzę, przekraczenie granicy banku 8K, 16K, jeśli spakowana muzyka przekracza te granicetebe:
muzyka, program i wszystko może być "bezkosztowe" jeśli piszesz w języku wysokiego poziomu, masz mnóstwo pamięci i "nieograniczoną" moc obliczeniowąjhusak:
@mono - nawet nie wiedziałem :) Dobre rzeczy się wielokrotnie wymyśla.jhusak:
Jednak PSG2 jest zupełnie inny - i na Yamahę, a ona ma więcej rejestrów.Cutted from RDOSPLAY documentation
->link<- (Http site in Prague, CZE)
<FA> PSG
This is log file produced by X128 (ZX Spectrum emulator) and fMSX (MSX
emulator). Every access to the AY 3-891x (Yamaha's soundchip) is stored in this
file. It's much like RAW format for adlib.
format1: [0]=db 'PSG',1ah ... file identifier
[4]=db data ... AY data
data: command or parameter command==0-15,byte ... next byte is data for
this AY register
command==0fdh ... eom (end of music)
command==0feh,byte ... multiple eoi
command==0ffh ... eoi (end of interrupt,
current data will be
send to ay-emulator)
You can also use utility PSG2.EXE to convert PSG music to another format:
format2: [0]=db 'PSG2' ... file identifier
[4]=struct data ... AY data
data: change_map (word) ... bit-map specifying which regs will be
changed in this interrupt. Order: L->R
(when 0ffffh, end of music)
map_size (byte) ... specifies how many times currently
defined map will be used (ie. how many
times will be data send in this form)
data (bytes) ... data for registers, reg. 0 comes first
After receiving all changes for current
interrupt, data are sent to ay-emu.
Map_size is decremented and when not 0,
next interrupt use same change_map as
previous one.
; Zapis SST39SF040
lda #$AA
sta $D502
sta $B555 ; 1st AA->5555
lda #$55
sta $D501
sta $AAAA ; 2nd 55->2AAA
lda #$A0
sta $D502
sta $B555 ; 3rd A0->5555
sta $D509 ; <- NUMER BANKU przykład 9
lda #$12 ; <- CO ZAPISUJEMY
sta $A000 ; <- GDZIE czyli przykład do $A000
;--------
; poczekajmy aż się zapisze
sta WSYNC ; 4 x 6.24us
sta WSYNC
sta WSYNC
sta WSYNC

