Der Luchs Posted June 21, 2013 Share Posted June 21, 2013 Hi Folks, Now I'm here too here's my short "Test-Track" for the Atari XL/XE ^^ Some one here who codes XL/XE Games and needs Music? Is .XEX the right export File? http://www.atari-lynx.de/mp3s/RMT.mp3 1 Quote Link to comment Share on other sites More sharing options...
snicklin Posted June 22, 2013 Share Posted June 22, 2013 Herzlich Wilkommen! Nice track there, how did you produce the song? Did you use CMC or RMT to produce it? If so, you could export it in it's native format, then somebody could use the track. .xex is good for a lot of people who just want to listen to the music, but not edit it or use it in a program. Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted June 22, 2013 Share Posted June 22, 2013 I know Grevle was looking for someone to help with his abbuc game. I would be interested too but would need assistance on getting something working; Perhaps snicklin and yourself can teach? [i am using MAC/65 cart on my 130XE/1050 drive] Thanks Quote Link to comment Share on other sites More sharing options...
snicklin Posted June 22, 2013 Share Posted June 22, 2013 Not trying to get out of anything here, but I'm not experienced enough to be teaching anyone much! Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted June 23, 2013 Share Posted June 23, 2013 I suspect it's a similar code to what I am using to code music for PacManPlus's 7800 Bentley Bear game ... it's basically assembly code which plays notes according to frequency and duration. It may be possible to convert this to some usable format (such as RMT or SAP) if you could post the original assembly code you used. Quote Link to comment Share on other sites More sharing options...
ThomSW Posted June 23, 2013 Share Posted June 23, 2013 Not bad for a beginning, but also not as catchy as Ce-Pumpkin's ones. Try a bit harder, boy! Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 (edited) @snicklin: Danke BTW: For all who don't know me: I only make music for coders who CAN'T do it by themselfes. So that they DON'T need to take a Mod from "Somewhere" or pay someone for making the music for a game. Yeah, all Music is for Free! No Deals, No Tricks, No Payment.(Ask the Coders i've already worked with) I'm not interessted of making Music for a MP3 - Compilation or just for my Ego. If you need Music for your Game, just PM me If I understand it right, then .XEX is the Rom export right? Can some one listen to the .XEX and tell me, does it sound like this? http://www.atari-music.de/FreakyXL.mp3 FreakyXL.xex Edited June 23, 2013 by Der Luchs 1 Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted June 23, 2013 Share Posted June 23, 2013 I guess what I'm looking for is a tune data and the assembler 'player' code to plug into my game - either for the tile screen or in game (if catchy enough). I could also do with some little sound effects and short 'ditties' to use in game. I haven't really got this far yet as I still have to get the game running!!! Quote Link to comment Share on other sites More sharing options...
TMR Posted June 23, 2013 Share Posted June 23, 2013 I guess what I'm looking for is a tune data and the assembler 'player' code to plug into my game - either for the tile screen or in game (if catchy enough). I could also do with some little sound effects and short 'ditties' to use in game. I haven't really got this far yet as I still have to get the game running!!! These tunes are built in Raster Music Tracker so that's pretty much what you're looking for, at least for the title screen. You can experiment with integrating music using the XEX above; include the binary at $3400 (leave everything from $3000 to the end of the binary clear, some space is taken up with work labels). During your set-up code, add this to initialise the driver (the X and Y are low and high byte of the data): lda #$00 ldx #$00 ldy #$40 jsr $3400 During the vertical blank or any DLI that's only called once per frame: jsr $3403 1 Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 Yeah, it is RMT, sorry forgot to post it ^^ I'm not a coder, so you need to tell me what export you want/need Quote Link to comment Share on other sites More sharing options...
TMR Posted June 23, 2013 Share Posted June 23, 2013 I'm not a coder, so you need to tell me what export you want/need Straight XEX export should work for most people, it only gets tricky if there's more than one tune required but (for the coders reading) X and Y before the init jsr contain the low/high byte of the music data so it's just a case of ripping the music data out of a group of XEX files, merging them with one copy of the driver and setting X and Y to whichever tune is required before the call. Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 Ok, thanks So, now we can start here too Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted June 23, 2013 Share Posted June 23, 2013 RMT format will work for most coders as well as a straight XEX. If you are doing several tunes though, I think RMT works better. I need to mess around with that program myself. Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 RMT is really easy to handle, you can make little Jingles in about 10min without any stress ^^ Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 Found an Emulator, sound cool on it ^^ Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 23, 2013 Author Share Posted June 23, 2013 Does some one have an "Instrument-Collection" for the RMT? Quote Link to comment Share on other sites More sharing options...
19rsn007 Posted June 24, 2013 Share Posted June 24, 2013 The first one is awesome!! Really has the authentic POKEY sound.... I like it. Reminds me of the "gets-stuck-in-your-head" song from that demo DRUNKEN CHESSBOARD. Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 26, 2013 Author Share Posted June 26, 2013 Thanks.. Don't Know that Song ^^ Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted June 27, 2013 Share Posted June 27, 2013 These tunes are built in Raster Music Tracker so that's pretty much what you're looking for, at least for the title screen. You can experiment with integrating music using the XEX above; include the binary at $3400 (leave everything from $3000 to the end of the binary clear, some space is taken up with work labels). During your set-up code, add this to initialise the driver (the X and Y are low and high byte of the data): lda #$00 ldx #$00 ldy #$40 jsr $3400 During the vertical blank or any DLI that's only called once per frame: jsr $3403 Thanks for this info, I will give it a try I was thinking I would have to work out all the audio control settings but sounds like this is all taken care of... if I wanted to have music 'in game' how does this effect my use of sounds effects - can I keep a channel available at the cost of a simpler tune using 3 channels? Thanks to Der Luchs for the mail too Quote Link to comment Share on other sites More sharing options...
Xuel Posted June 27, 2013 Share Posted June 27, 2013 (edited) You can limit the music to three channels, create instruments for your sound effects, and then let the player deal with playing them by calling the play note interface. Check out the asm_src/sfx/sfx.xex demo in the RMT zip package for an example. It plays a tune and then you can press 1-8 to play different sound effects over it. Relevant excerpt: vbi ; lda sfx_effect bmi lab2 asl @ ; * 2 tay ;Y = 2,4,..,16 instrument number * 2 (0,2,4,..,126) ldx #3 ;X = 3 channel (0..3 or 0..7 for stereo module) lda #12 ;A = 12 note (0..60) jsr RASTERMUSICTRACKER+15 ;RMT_SFX start tone (It works only if FEAT_SFX is enabled !!!) ; lda #$ff sta sfx_effect ;reinit value ; lab2 jsr RASTERMUSICTRACKER+3 ;1 play ; jmp $e462 ;end vbi ; I used the same technique in my tiles demo but using TMC2 instead of RMT (see coin code). Edited June 27, 2013 by Xuel Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted June 28, 2013 Share Posted June 28, 2013 [trbb opens can of worms] Thanks Xuel that sounds a good solution (I could then flag up which sound effect to play) if I can get the player code too? MAC/65 doesn't support xex file inclusion. Does anyone know what settings Der Luchs should use for the file export from RMT? He sent me an ".ASM" file (below) but I can only get it into MAC/65 by 1st changing the EOF markers in memopad.xex, then loading with (enter) and then manually (syntax) fixing each line [the dtas have an inverse control I prefix and are not locatable by find/replace]. If you look at it in memopad.xex you can see the funny squares (tabs perhaps). At a push I can get this across though. This is only the music data?! I don't have enough time to investigate RMT etc as I have to get the game working/finished, has anyone already done this from PC-Atari? >>> ;ASM notation source XXX equ $FF ;empty note value MUSIC_data ;Song column L1 MUSIC_columnL1 ;Song line $00 Track $00 MUSIC_columnL1_line00 dta $24,$24,XXX,XXX,$23,XXX,XXX,$21,$23,XXX,$1F,XXX,XXX,XXX,XXX,XXX dta $21,XXX,$23,$23,XXX,$21,XXX,$1F,$21,XXX,$21,$21,XXX,XXX,XXX,XXX dta $24,$24,XXX,XXX,$23,XXX,XXX,$21,$23,XXX,$1F,XXX,XXX,XXX,XXX,XXX dta $1C,XXX,$1C,XXX,$1D,$1D,XXX,$1F,$21,XXX,$23,XXX,$24,$26,XXX,XXX ;Song line $01 Go to line $00 ;Song column L2 MUSIC_columnL2 ;Song line $00 Track $01 MUSIC_columnL2_line00 dta $0C,XXX,$18,XXX,$0C,XXX,$18,XXX,$10,XXX,$1C,XXX,$10,XXX,$1C,XXX dta $0E,XXX,$1A,XXX,$0E,XXX,$1A,XXX,$10,XXX,$1C,XXX,$1C,XXX,$28,XXX dta $0C,XXX,$18,XXX,$0C,XXX,$18,XXX,$10,XXX,$1C,XXX,$10,XXX,$1C,XXX dta $0E,XXX,$1A,XXX,$0E,XXX,$1A,XXX,$10,XXX,$1C,XXX,$1C,XXX,$28,XXX ;Song line $01 Go to line $00 ;Song column L3 MUSIC_columnL3 ;Song line $00 Track $02 MUSIC_columnL3_line00 dta $0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,$0C,$0C,$0C,$0C,XXX dta $0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,$0C,$0C,$0C,$0C,XXX dta $0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,$0C,$0C,$0C,$0C,XXX dta $0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,XXX,$0C,$0C,$0C,$0C,$0C,XXX ;Song line $01 Go to line $00 ;Song column L4 MUSIC_columnL4 ;Song line $00 Track -- MUSIC_columnL4_line00 dta XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX dta XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX dta XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX dta XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX ;Song line $01 Go to line $00 <<< Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 28, 2013 Author Share Posted June 28, 2013 Here are the Export settings: Quote Link to comment Share on other sites More sharing options...
TMR Posted June 28, 2013 Share Posted June 28, 2013 That's just the sound, track and sequence data in source code form. Source for the music driver (in various flavours) is provided in the asm_src directory shipped with RMT itself. That said, getting over thirteen hundred lines of source code with some conditionals in there over to MAC/65 and assembling is probably going to be tricky and time consuming. Quote Link to comment Share on other sites More sharing options...
Der Luchs Posted June 30, 2013 Author Share Posted June 30, 2013 Soooo, it doesn't work with MAC/65? Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted June 30, 2013 Share Posted June 30, 2013 Soooo, it doesn't work with MAC/65? not easily by the looks of it. I can perhaps still use the note data as I can get it across to the Atari (just about) - would need to figure out the correct settings for each sound channel - and the audctl settings can you see this in RMT? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.