Re: [Sdcc-user] documentation & open source generally

2008-09-09 Thread Jean-Paul
Hello, it looks like you still have to discover Emacs and its frames, and Makefile. However, don't try it under Windoze, it looks ugly ! Jean-Paul On Mon, 08 Sep 2008 17:17:40 +0200, Richard Erlacher <[EMAIL PROTECTED]> wrote: > See below, please. > > regards,

Re: [Sdcc-user] In-application programming on p89v664

2009-01-20 Thread Jean-Paul
On Tue, 20 Jan 2009 21:13:45 +0100, Gudjon I. Gudjonsson wrote: > Hi >Thanks for the answers to the last question about the function call > to an > absolute address. I am trying to use the iap routines for the NXP p89v664 > device. The first test is just to get the manufacturers ID but i

Re: [Sdcc-user] Puts function not working correctly ?

2011-11-06 Thread Jean-Paul
Hello Jason, The 44780 driver has a RS (register select) line that tells whether the byte (or nibble) is a command or a data (0 = commands, 1 = data). Commands control the internal working of the chip, data are to be written in (or read from) data memory and displayed as characters. Your "lcd

Re: [Sdcc-user] Puts function not working correctly ?

2011-11-07 Thread Jean-Paul
You're right. I didn't read all the code. I just took "lcd_command" for a "command" function, but it actually is a general "write" function. Ten milliseconds still make a long E pulse. It's not the problem. Maybe I have not read all the code, but I don't see where (when) the address is written

Re: [Sdcc-user] Puts function not working correctly ?

2011-11-07 Thread Jean-Paul
Le Monday 07 November 2011, KHMan a écrit : > Well, he said puts_lcd() only outputs the first character. > Now, assume "Foobar !" works and we are seeing '~' only and the > final LED blinking works. LCD is still auto-incrementing. I don't > think setting the DDRAM is useful, for now. Don't you t

Re: [Sdcc-user] Using sdcc for arcade game development

2011-11-13 Thread Jean-Paul
You can use objcopy from GNU_binutils, *** in a script or command line, #!/bin/bash # hex to bin fichier=$1 objcopy -I ihex -O binary $1 ${fichier%.*}.bin *** or in your Makefile OBJCOPY= /your/path/to/objcopy ... bin: $(PRG).bin ... %.bin: %.elf $(OBJCOPY) -j .text -j .data

Re: [Sdcc-user] OSEG full but lots of xram

2006-10-02 Thread Jean-Paul
rectly?: There is no more overlay > space? I have plenty of xram where I would think variables could be > allocated. So, why not free some _data_ space (the default) by defining some variables as _xdata_ ? You'll have to do that yourself. Cheers Jean-Paul

Re: [Sdcc-user] [OT] - ADC Ideas

2007-03-08 Thread Jean-Paul
Hi, It looks like you don't think that the end-of-charge voltage is above the nominal voltage. On the schematics given in the link hereafter, it would be safer to put a zener diode across the lower resistor of the divider, to protect the controller. Le Jeudi 8 Mars 2007 21:51, Rod Boyce a écri

Re: [Sdcc-user] [OT] - ADC Ideas

2007-03-09 Thread Jean-Paul
le to detect the 10 mV delta Peak > > In the description of your circuit you mention an 84 mV delta peak. Is > that peak the result of Delta * Num of Cells? > > Regards > > Jean-Paul escribió: > > Hi, > > > > It looks like you don't think that the end

Re: [Sdcc-user] Some sdcc warnings

2007-03-21 Thread Jean-Paul
ey be ignored? It's up to you. Regards Jean-Paul > > > Best Regards, > Vineet. -- Never jump into a loop! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel an

Re: [Sdcc-user] Some sdcc warnings

2007-03-22 Thread Jean-Paul
Le Jeudi 22 Mars 2007 10:01, Vineet Golchha a écrit : > Aujourd'hui 10:01:43 >   > Hi there, >    My concern is this. >    For example: > > >   TR0 = 0;                    // reset the timer >   while( TR0 == 0 );       // wait for the flag to be set. >  i++;                           // get out

Re: [Sdcc-user] Compile error, memory models

2007-06-14 Thread Jean-Paul
Maarten is right. You have to reset the bit EXTRAM in the AUXR register (0xA0) (not bit addessable) in order to use internal "external" RAM. By the way, my thanks too for the nice software. Jean-Paul Le Jeudi 14 Juin 2007 15:42, Maarten Brock a écrit : > Aujourd'hui 15:42:

Re: [Sdcc-user] Compile error, memory models

2007-06-14 Thread Jean-Paul
Sorry, the address is 0x8E. Maarten is right. You have to reset the bit EXTRAM in the AUXR register (0xA0) (not bit addessable) in order to use internal "external" RAM. By the way, my thanks too for the nice software. Jean-Paul Le Jeudi 14 Juin 2007 15:42, Maarten Bro

Re: [Sdcc-user] A header file for NXP P89c66x microcontrollers

2007-06-24 Thread Jean-Paul
to C. For each update, I start a 486 PC running MSDOS and tell myself it's the last time ;-) Thinking about retirement, I'll have to talk the customer into ordering the conversion from me, if he ever wants maintenance by younger people he's been hiring. Reagards Jean-Paul Le Dima

Re: [Sdcc-user] NXP P89LPC938 Programming

2007-08-07 Thread Jean-Paul
You can use Flash Magic, to be found at www.esacademy.com along with a lot of other interesting things. Have fun! Jean-Paul Le Mardi 7 Août 2007 10:36, Ori Idan a écrit : > This is not exactly a SDCC question but I guess people on this list might > help me. > I need a utility to

Re: [Sdcc-user] How to make SDCC for AVR such as ATMega8535

2007-09-13 Thread Jean-Paul
Hello Denny, You could have a look at avr-gcc for Linux and cdk4avr (although you look like using Windoze). Le Jeudi 13 Septembre 2007 11:57, soliton a écrit : > Hello Denny, > > You could use -mavr option switch to compile avr source, > > >sdcc -mavr source.c > > but according to the manual: >

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Jean-Paul
You are talking of problems I encounter when using Windows, be it with other applications: it is sometimes unpredictable. Are you sure you want to continue with Windows? Regards JP Le Mercredi 26 Septembre 2007 13:56, Dave Baxter a écrit : > Related to all this > > What is SDCC's support o

Re: [Sdcc-user] Interrupts for PIC16?

2008-01-29 Thread Jean-Paul
Hello Ivan, The task you are describing is as simple as RA1 = !RB0. To use interrupts in any controller (so in PICs too), you have several things to configure: - choose whether the interrupt routine will react to a state or to an edge; - choose that an ISR will react at all, i.e. allow interrupt

Re: [Sdcc-user] Interrupts for PIC16?

2008-01-30 Thread Jean-Paul
Hello Gonzalo, I'm using Flowcode (TM) for PIC's. With SDCC, I program only 51's. The purpose of my previous post was to give our friend Ivan, who says himself new in microcontrollers, a first view over the working of interrupts in general. Now, thanks to you and your link, he'll have a closer

Re: [Sdcc-user] ANNOUNCEMENT: GNU/Gtk BlowIT project under new management.

2008-02-09 Thread Jean-Paul
May I say that, although I'm using Gnome, I prefer portability by far? Jean-Paul Le Samedi 9 Février 2008 18:41, Dave McGuire a écrit : >    I missed the beginning of this thread, but...Yes, a dependency on   > the GNOME environment would exclude a great many users, myse

Re: [Sdcc-user] How to interface Ricoh RS5C372A RTC with 8051 using i2C

2008-07-02 Thread Jean-Paul
hardware? Jean-Paul Le Jeudi 3 Juillet 2008 07:54, dave jones a écrit : > Hi Dave, > > I want to read/set RTC date and time with 8051 via the i2c protocol. > I2C implementation protocol I used is > http://sdccokr.dl9sec.de/dld/top03_pac01.zip > Also, I found out there are no oupu

Re: [Sdcc-user] How to interface Ricoh RS5C372A RTC with 8051 using i2C

2008-07-03 Thread Jean-Paul
simple led-resistor loads on the totem-pole (20mA source and sink) outputs to check the physical bus. Jean-Paul Le Jeudi 3 Juillet 2008 07:54, dave jones a écrit : > Hi Dave, > > I want to read/set  RTC date and time with 8051 via the i2c protocol. > I2C implementation protocol I us

Re: [Sdcc-user] pic 18f4520 and array, some troubles

2008-07-08 Thread Jean-Paul
ter. You want to try lcdOut(str[i]) > > i try to change the stack size/position without any changement. > > > i'm sorry for my poor english, (Tu peux être désolé ;-) Jean-Paul -- Never jump into a loop!

Re: [Sdcc-user] pic14 16f628a sdcc 3.8.0 never ending loop - mis-compilation?

2008-08-07 Thread Jean-Paul
Hi, could it be that tmr has to be declared volatile? Worth a try. Regards JP On Thu, 07 Aug 2008 22:25:48 +0200, Arkadi Shishlov <[EMAIL PROTECTED]> wrote: > unsigned char start_timer(void) > { > unsigned char tmr; > T0IF = 0; > // here is a short window of TMR0 overflow

Re: [Sdcc-user] documentation & open source generally

2008-09-02 Thread Jean-Paul
Nor would I, should I happen to be a "hardcore technical" guy :-) Jean-Paul On Tue, 02 Sep 2008 17:02:19 +0200, Dave McGuire <[EMAIL PROTECTED]> wrote: > On Aug 31, 2008, at 5:38 PM, Bobby Garner wrote: >> A great many people who want to use SDCC would prefer to us

Re: [Sdcc-user] How to make SDCC for AVR such as ATMega8535

2007-09-13 Thread Jean-Paul Brodier
Hello Denny, You could have a look at avr-gcc for Linux and cdk4avr (although you look like using Windoze). Le Jeudi 13 Septembre 2007 11:57, soliton a écrit : > Hello Denny, > > You could use -mavr option switch to compile avr source, > > >sdcc -mavr source.c > > but according to the manual: >