
stryd_one
Frequent Writer-
Posts
8,840 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Blogs
Gallery
Everything posted by stryd_one
-
Man that looks nice. is that the back-painted and etched acrylic?
-
Wow man... I see how your concept works but I tell ya what, SDCC really made a total dog's breakfast out of your code. I would definitely look into pointers. Especially where that switch statement has the for loop on every case... In ASM that is not looking good. You might get away with the timings now but I suspect that when you scale the seq up to the full track count you may have some real problems :( I'm curious... Do the sequences need to be const char? try declaring them as unsigned char, I noticed this: ustat_pic18f452_00 udata 0x000f80 data 0x000005 ustat_pic18f452_01 udata 0x000f89 data 0x000005 ustat_pic18f452_02 udata 0x000f92 data 0x000005 ustat_pic18f452_03 udata 0x000f9d data 0x000006 ustat_pic18f452_04 udata 0x000fa6 data 0x000004 ustat_pic18f452_05 udata 0x000fab data 0x000005 ustat_pic18f452_06 udata 0x000fb1 data 0x000003 ustat_pic18f452_07 udata 0x000fba data 0x000006 ustat_pic18f452_08 udata 0x000fc1 data 0x000013 ustat_pic18f452_09 udata 0x000fd5 data 0x00002b Note the last one... fd5+2b = 0x1000. FFF is the last available ram. ACCESSBANK NAME=accesssfr START=0xF80 END=0xFFF PROTECTED You used one byte too many. There's plenty of ram free to just put them there. GL!
-
Spill it :) 9V is a maximum you should need and can safely use. If it won't power up, more amps, but never more volts.
-
You could always marry me :-* :o ::) ;D
-
Thanks man!
-
Loading one of many arrays via a function?
stryd_one replied to sneakthief's topic in MIOS programming (C)
Heh never tried one :) Ignore my comment about the ram, I dunno what I was thinking ? -
sneak, can you upload or PM me the ./output/(filename).asm file? The answer may be in ASM land :(
-
Well you'll be welcome here bro. There are quite large Serbian communities in .au :) But it is really hard to get a visa here, or worse still a citizenship :( You should look into work in the mining industry, a lot of guys do that, and the money is good... So long as you aren't claustrophobic!
-
Sneakthief's seq seems like it's a kind of (dual) linear phrase sequencer, so the seqv3 is a different beast :) The multidimensional arrays are working OK provided that you don't reserve more space than required in the linker, so I would certainly recommend that. I'd be interested to see the output of that switch statement....
-
Definitely call your local customs and airline, tell them you will have electronic devices which are static and temperature sensitive, fragile, and custom made so look like they might be suspicious, and you want to make sure that you will have a smooth trip through customs without our gear getting busted up or you being mistaken for one of them nasty terrorists ;) They'll give you some tips.
-
Loading one of many arrays via a function?
stryd_one replied to sneakthief's topic in MIOS programming (C)
Do you have a 4620? Anyhow here's some code: edit: Darn I lost some text OK... just rename the txt file to .lkr. write these files over a skeleton, compile and upload. Edit2: Oh yeh. What you'll see is a bunch of sysex messages, with bytes in pairs, incrementing from 1-64 (decimal)+number of the row (the offset is so I could be sure they were all different), separated by 0x32 (just for me to have something to 'search and replace' when I was checking) You can see where I've remarked out the SECTION in the linker and the #pragma in the main.c. If you unremthose, you can force it to use certain memory banks. All work OK :) project.txt main.c project.txt main.c -
Loading one of many arrays via a function?
stryd_one replied to sneakthief's topic in MIOS programming (C)
Ahh I don't think so bud :) I just made array[512], filled it with bytes >0 in the init loop, and then dumpd it via sysex to make sure it was all correct, and it was. If you like I'll attach the code but it's just a few for loops, nothing special. Just tried it with array[8][64] too and it's sweet as. Give it a go :D -
Sweeet!
-
14V > OK :( That should be enough normally, but maybe not, with all those LED's. Maybe someone better with hardware could advise you, but they'll need to know the specs of the LEDs and LCD
-
You set the ID of the bankstick IC using the first 3 pins. On the BankStick page you can see in the 8x bankstick schematic how the 3 pins are either tied to ground or 5V. This is a binary representation of the ID. Hope that helps!
-
OK now I'm with ya, thanks bro! :D Serbia ain't all bad - it has a friendly midiboxer, so it's automatically cool ;D
-
Thanks for testing that mate, that makes it clearer... The resistors are fine :) It seems that the data lines from DIN#2 are not connecting properly. First off, try it with the cables swapped over. If that is no good,do you have a multimeter? If so, test for a connection between the same pins on either end (J1 and J2) of the DIN #2. SI is the only one that should be open (no flow of electricity). If that is the case, check the circuit between QH and SER pins on the IC's. Good luck!
-
You really are quite the craftsman hey sasha! I love the coaster artwork :D I feel like I've seen it before somewhere, weird. Thanks for the tip mate. I know that you have mentioned a few times that there is a type of store that all have an engraver... But I can't seem to find any stores by those names... For example, I googled "express stamp making service" but just found lots of unusual stuff that didn't seem right. Do you know if they go by another name?
-
OK it's like this now: Core - DIN#1 - DIN#2 If you do it like this: (Change the cables over as well as the PCBs) Core - DIN#2 - DIN#1 Which one works?
-
Loading one of many arrays via a function?
stryd_one replied to sneakthief's topic in MIOS programming (C)
Yup, works like a charm. Try it :) I even got the array to start on 0x0FF (bad) and end at 0x300 (bad) and it still works like a charm. I can't seem to break it any more :D You're going to want to grab sdcc snapshot 4732. You freaks on Mac on *nix can grab yours from http://sdcc.sourceforge.net/snapshots/ :) -
Loading one of many arrays via a function?
stryd_one replied to sneakthief's topic in MIOS programming (C)
Well maybe you're not a dumbass after all... SDCC should have converted your switch statement into a jumptable, just like TK does it in ASM ;) That said, I haven't seen them, TK's implementation may be more optimised (probably, knowing TK) so maybe you could use inline ASM and use his jumptable macros. 50 elements is a lot though, it'll be a long table of course. Did you actually try the multidimensional arrays? I tell ya what, I'd really like to finish this once and for all. When today's snapshot build of SDCC is released, I'm gonna make a bare app that just boots, populates a 512k multidimensional array, and then dumps it via sysex. Let's find out what's up with this :) -
What J1 and J2 of DIN stand for!
stryd_one replied to ris8_allo_zen0's topic in MIDIbox Documentation Project
From the DIN Module page at ucapps.de: d'oh! -
Ahh, I think you forgot to mention what the problem is :)
-
Good luck with it mate, keep us posted!
-
What's the amperage on the 9V PSU? Don't read the box, get your meter out :)