Search found 129 matches

by PhilRanger
Sat Jan 12, 2013 8:15 pm
Forum: International VIC
Topic: ANY LANGUAGE OK!
Replies: 25
Views: 33077

Re: ANY LANGUAGE OK!

Automatic translation aren't perfect... Sensation librement à écrire en toute langue. La matière est limitée à l'ordinateur de commodore. A correct reverse translation would be: Feeling freely to write in all language. The matter is limited to the computer of the commodore. Nice that you tried though!
by PhilRanger
Tue Jan 08, 2013 8:26 pm
Forum: Hardware and Tech
Topic: Help - Relay switch design
Replies: 11
Views: 2294

I would think that without a resistor on the base you will destroy your user port, although I don't know in how much time. I don't think the capacitor is needed if you have a fast diode but it doesn't hurt. I also don't see the resistor you're talking about in the new diagram...
by PhilRanger
Fri Jan 04, 2013 1:33 pm
Forum: Hardware and Tech
Topic: Help - Relay switch design
Replies: 11
Views: 2294

5V coil relay: I have Resistors 2.2k and 220 ohm: I have Diode: use 1N4148 instead of 1N914 ? NPN small signal transistor: I have some 2N3904 that could be used instead of 2N2222 ? diode: good, they are both fast 2n3904:should work, may overheat with time depending on how much current the relay coi...
by PhilRanger
Sun Dec 30, 2012 8:52 am
Forum: Hardware and Tech
Topic: Help - Relay switch design
Replies: 11
Views: 2294

No Problem. By the way, the led is in the wrong direction and you need some resistor in series with it otherwise it will burn quickly (I suggest 220 Ohms) Using a PNP instead of a NPN might solve the inversion problem if it exists. A simple way to check is to put a voltmeter between the user port pi...
by PhilRanger
Sat Dec 29, 2012 8:45 pm
Forum: Hardware and Tech
Topic: Help - Relay switch design
Replies: 11
Views: 2294

Hi again... Someone can probably confirm or correct but: 1- Connecting to the NC of the relay means relay OFF = load ON (this one I'm sure) 2- If you connect to NO instead then relay on = load on BUT... I think by default when you'll switch the VIC on the relay will become "ON" until you s...
by PhilRanger
Sat Dec 29, 2012 8:41 pm
Forum: Hardware and Tech
Topic: Help - Relay switch design
Replies: 11
Views: 2294

Re: Help - Relay switch design

http://s1.postimage.org/8sdqwnigv/Untitled.png Hi! Disconnect the NC from the Vic's 5V and connect it to your power (I assume 120V or 220V?). Disconnect the other side of your load and connect it to the remaining side of your power. I think that with this setup, when the Vic is off, the load will b...
by PhilRanger
Mon Dec 24, 2012 8:54 am
Forum: Announcement Board
Topic: VIC-20 Software Releases of 2011
Replies: 16
Views: 49216

I know I should have put it here a long time ago, but better late than never I guess

"Don't eat the trees 2" for the unexpanded VIC 20 : http://www.box.net/shared/u398kj0nr0lkauzm1k67[/img]
by PhilRanger
Sat Dec 22, 2012 11:02 am
Forum: Programming
Topic: Rounding - eliminating decimals
Replies: 6
Views: 1370

the function int() rounds down
to round to the closest, you can add 0.5 to the number to be rounded
a=3.7
int(a)=3
int(a+0.5)=4
by PhilRanger
Tue Dec 18, 2012 6:40 pm
Forum: General Topics
Topic: Hi - new forum member from UK
Replies: 11
Views: 1938

Welcome!
by PhilRanger
Tue Dec 18, 2012 6:36 pm
Forum: Programming
Topic: New sounds
Replies: 17
Views: 4369

Thanks I'm thinking about trying PCM first (36878 full on then full off, controlling the duty cycle) [...] You are of course perfectly right, my fingers somehow disconnected from my brain. Should have been trying PWM first (I already did PCM before) You can combine both methods, sure - but before th...
by PhilRanger
Mon Dec 17, 2012 6:18 am
Forum: Programming
Topic: New sounds
Replies: 17
Views: 4369

[...]set the waveform so it always outputs ones[...] You could use two voices for this, which output the same frequency but are 180° off-phase. But this already works without resorting to the 'new' waveforms: you'd purge the LFSR of both voices first (to ensure a square wave is being output), enabl...
by PhilRanger
Sun Dec 16, 2012 8:49 pm
Forum: Programming
Topic: New sounds
Replies: 17
Views: 4369

I've spotted an error in the routine, anyway. The highest frequency for voice 3 clocks in at 1 MHz/32, i.e. one needs to wait 32 cycles before applying another MSB. The output of the voices comes from a 8-bit linear shift feedback register. Suppose Bit 0 is shifted out as output this works similar ...
by PhilRanger
Fri Jan 06, 2012 9:37 pm
Forum: Emulation and Cross Development
Topic: Getting started
Replies: 4
Views: 1855

For me, I really enjoy CBM programming studio. You can program in basic or assembly (I mainly do assembly though)
by PhilRanger
Sun Dec 18, 2011 4:25 pm
Forum: Emulation and Cross Development
Topic: CBM prg Studio
Replies: 239
Views: 160566

ajordison wrote:Don't eat too many sprouts!
Naaah, I want to try my teeth at a more ambitious project I have in mind.
by PhilRanger
Sun Dec 18, 2011 4:19 pm
Forum: Emulation and Cross Development
Topic: CBM prg Studio
Replies: 239
Views: 160566

I'll download later this week to play around during Christmas time!