Jump to content
IGNORED

SimpleStereo v3 and IO-Board


candle

Recommended Posts

don't expect much

player just plays once every 3 frames, so 3 times slower than usual atari sound player, plus it just basic proof of concept, doesn't handle volume, doesn't handle envelope, just notes on and off

the song is sometihng i have as ingame.sa2 and it was an adlib tune i've took two patterns out

instruments were mapped as triangle, saw and noise for percusion

just something i could write in a hour just to test some concepts and tuning

hardsynth.mp3

Link to comment
Share on other sites

Ken, but it does DMA :P

it has 16 slots for 256 bytes long samples inside, 8 channels for playback (despite 2 pokey chips) and hardware envelope generators

all you need to play nice tunes with screen on and loads of time for cpu to do something else rather than babysit soundcard (or covox)

  • Like 1
Link to comment
Share on other sites

Ok.. When it has at least 512k of dedicated SRAM that can be loaded up with 8bit samples and waveforms, and played 100% independantly of the CPU, I'll take one...

 

Oh, and use a decent quality DAC (if you arent already), not those crappy resistor arrays that the covox used..

Edited by MEtalGuy66
Link to comment
Share on other sites

and the same tune with hardware ADSR generator

player got shorter btw

 

SS_ChannelNo    equ    0xD283
SS_Reset    equ    0xD284
SS_Flags    equ    0xD290
SS_Freq        equ    0xD291
SS_Len        equ    0xD293
SS_Rep        equ    0xD294
SS_AttDec    equ    0xD295
SS_SusRel    equ    0xD296
SS_Vol        equ    0xD297
SS_Waveform    equ    0xD298

   org    $2000
   opt    f+
main:    sta    SS_Reset
   ldx    #0x00
   ldy    #0x00
l0:    sty    SS_ChannelNo
   lda    Instruments,x
   sta    SS_AttDec
   lda    Instruments+1,x
   sta    SS_SusRel
   lda    Instruments+2,x
   sta    SS_Waveform
   inx
   inx
   inx
   iny
   cpy    #6
   bne    L0
   ldx    #0x00
l1:    jsr    Wait_For_Sync
   lda    #0x00
   sta    SS_ChannelNo
   lda    MusicP1,x
   sta    SS_Freq
   lda    MusicP1+1,x
   sta    SS_Freq+1
   lda    #0xF2
   sta    SS_Flags
   
ch_1:    lda    #0x01
   sta    SS_ChannelNo
   lda    MusicP2,x
   sta    SS_Freq
   lda    MusicP2+1,x
   sta    SS_Freq+1
   lda    #0xF1
   sta    SS_Flags
   
ch_2:    lda    #0x02
   sta    SS_ChannelNo
   lda    MusicP3,x
   sta    SS_Freq
   lda    MusicP3+1,x
   sta    SS_Freq+1
   lda    #0xF3
   sta    SS_Flags
ch_3:    lda    #0x03
   sta    SS_ChannelNo
   lda    MusicP4,x
   sta    SS_Freq
   lda    MusicP4+1,x
   sta    SS_Freq+1
   lda    #0xF2
   sta    SS_Flags
ch_4:    lda    #0x04
   sta    SS_ChannelNo
   lda    MusicP5,x
   sta    SS_Freq
   lda    MusicP5+1,x
   sta    SS_Freq+1
   lda    #0xF2
   sta    SS_Flags
ch_5:
   ldy    #0x03
L2:    jsr    Wait_For_Sync
   dey
   bne    L2
   ldy    #0x05
   lda    #0xB0
L3:    sty    SS_ChannelNo
   sta    SS_Flags
   dey
   bpl    L3
   ldy    #2
L4:    jsr    Wait_For_Sync
   dey
   bne    L4

   inx
   inx
   jne    l1
   ldx    #0x00
   jmp    l1
   
Wait_For_Sync:
   lda    $d40b
   rne                 ;repeat last instruction if not equal
   lda    $d40b
   req                ;repeat last instruction if equal
   rts
   
Instruments:    .byte    0x36,0x9D,2
       .byte    0x06,0x8F,1
       .byte    0x00,0x0F,3
       .byte    0x37,0x8C,2
       .byte    0x38,0x7B,2
       .byte    0x00,0x00,0
;---------------------------------
MusicP1:    .word    g4,0,g4,0,g4,0,g4,0,a4,0,a4,0,a4,0,a4,0,h4,0,h4,0,h4,0,h4,0,a4,0,a4,0,a4,0,a4,0,g4,0,g4,0,g4,0,g4,0,a4,0,a4,0,a4,0,a4,0,h4,0,h4,0,h4,0,h4,0,a4,0,a4,0,a4,0,a4,0
       .word    g4,0,g4,0,g4,0,g4,0,a4,0,a4,0,a4,0,a4,0,h4,0,h4,0,h4,0,h4,0,a4,0,a4,0,a4,0,a4,0,g4,0,g4,0,g4,0,g4,0,a4,0,a4,0,a4,0,a4,0,h4,0,h4,0,h4,0,h4,0,a4,0,a4,0,a4,0,a4,0
MusicP4:    .word    e4,0,e4,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,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,f4,f4,f6
       .word    f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,0,f6,f6,f6,f4,f4,f6
; notes
c4    equ    5891
d4    equ    6612
e4    equ    7422
f4    equ    7863
g4    equ    8826
a4    equ    9907
h4    equ    11120
c5    equ    11782
d5    equ    13225
e5    equ    14844
f6    equ    31454

   run    main

hardsynth-adsr.mp3

Edited by candle
  • Like 1
Link to comment
Share on other sites

since hardware isn't worth much without software that uses it, i was writing tracker past two days, here is what i came up so far

 

WIP tracker for SSv3 hardsynth module

 

not much, but it's just two days of my spare time work, so eventually i'll get there

any comments on layout, or feature requests are welcome

  • Like 1
Link to comment
Share on other sites

since hardware isn't worth much without software that uses it, i was writing tracker past two days, here is what i came up so far

 

WIP tracker for SSv3 hardsynth module

 

not much, but it's just two days of my spare time work, so eventually i'll get there

any comments on layout, or feature requests are welcome

 

Any credibility to this report?? You're not trying to annihilate us all, are you ;)

 

post-15627-0-56540400-1361935511_thumb.jpg

 

I guess you are not, looks like they don't know you at Symantec yet Candle, gotta build some reputation :grin:

Edited by atari8warez
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...