Searching \ for 'C-source serial input (only) ?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/serials.htm?key=serial
Search entire site for: 'C-source serial input (only) ?'.

Truncated match.
PICList Thread
'C-source serial input (only) ?'
1997\08\26@095806 by Martin R. Green

picon face
The Arizona Microchip web site has ASM source for both interrupt and
non-interrupt serial routines that will work on all PIC devices (of course
the interrupt driven routines need a PIC with interrupts).

Non-interrupt:
  http://www.microchip2.com/lit/appnote/00510e.pdf

Interrupt:
  http://www.microchip2.com/lit/appnote/00555c.pdf

Although these are in assembler, you might be able to translate them into
C, especially if the Hi-Tech compiler allows inline assembler.


CIAO - Martin R. Green
spam_OUTelimarTakeThisOuTspambigfoot.com

----------
From:   Michael Coop[SMTP:.....mcoopKILLspamspam@spam@POP.JARING.MY]
Sent:   Tuesday, August 26, 1997 6:03 AM
To:     PICLISTspamKILLspammitvma.mit.edu
Subject:        [Q]: C-source serial input (only)  ?

I know, I know...it's been discussed a thousand times - but when it's
posted I didn't need it ! <g>

I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
bad really, I think I'll buy it when the gate comes crashing down)... but
in the meantime, here's what I'd like to find - to save me some sleep
hours...

What I'm looking for is the simplest bare bones serial 8N1 (interrupt
driven) input routine that anyone has 'laying around'.
Currently on a 16C84, but will move off to another series as the project
gets closer.

If there's nothing coded in C, perhaps a good strong pointer to the 'best'
way to approach this would be very helpful.

Regards, and thanks in advance.
MC

.....mcoopKILLspamspam.....pop.jaring.my

1997\08\26@100313 by Michael Coop

flavicon
face
Yup... thanks - I had already considered these, and they will be my starting
point -
I may even use them 'as is' and link them manually into my C code...

(I was just being lazy - hoping someone has already down the bit bashing for me
!)

Thanks again
MC

{Original Message removed}

1997\08\26@112117 by Alan G. Smith

flavicon
face
If you look at the samples that come with the Hi-Tech C compiler, there is
a file called serial.C which sounds like almost exactly what you need.

(You can download it off their web site.  http://www.htsoft.com

Good luck!

-Alan

+---------------
| Alan G. Smith
| EraseMEagsspam_OUTspamTakeThisOuTpoboxes.com
| http://www.innovatus.com/ags

1997\08\26@125545 by Michael Coop

flavicon
face
Alan,
Thanks for the tip... but - I've had a browse around the HT-SOFT web & ftp
sites, but cannot find the serial.c file... ?
Any ideas where it went !  Do you have a copy that you downloaded ?

Thanks
MC

{Original Message removed}

1997\08\26@131946 by Andy Kunz

flavicon
face
At 12:53 AM 8/27/97 +0800, you wrote:
>Alan,
>Thanks for the tip... but - I've had a browse around the HT-SOFT web & ftp
> sites, but cannot find the serial.c file... ?
>Any ideas where it went !  Do you have a copy that you downloaded ?

It's part of the gamma CD, I don't know if it came with the beta software.

It's just a simple bit-bopper, not interrupt driven.

Andy

==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================

1997\08\27@181410 by Andrew G Williams

picon face
>I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
>bad really, I think I'll buy it when the gate comes crashing down)...

I wonder how many of us will be setting the system clock back to August to
keep using the demo.  I've already written a batch file to automate the
process ....
(restores the date afterwards and re-dates any files produced). Sad I know,
but when I've got a few hundred quid to spare I'll buy a copy!

1997\08\27@190824 by WF AUTOMA‚̀O

flavicon
face
Andrew G Williams wrote:
>
> >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
> >bad really, I think I'll buy it when the gate comes crashing down)...
>
> I wonder how many of us will be setting the system clock back to August to
> keep using the demo.  I've already written a batch file to automate the
> process ....
> (restores the date afterwards and re-dates any files produced). Sad I know,
> but when I've got a few hundred quid to spare I'll buy a copy!

HOOO GOD!

1997\08\28@015940 by Jacques Vrey

flavicon
face
> >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
> >bad really, I think I'll buy it when the gate comes crashing down)...
>
> I wonder how many of us will be setting the system clock back to August to
> keep using the demo.  I've already written a batch file to automate the
> process ....
> (restores the date afterwards and re-dates any files produced). Sad I know,
> but when I've got a few hundred quid to spare I'll buy a copy!
>

Just an observation I would like to share:
I noticed that in the HPDPIC.INI on the second last line there is an
entry EXPIRY=MMM DD, YYYY under [DEMO]. Ive changed this and
Hi-Tech's intro screen's date also changes. Whether this truly has
LONG LASTING effects, I'm not sure. Like I said, just an
observation.

Jacques Vrey
Iscor Profile Products Newcastle
Tel:27-(0)3431-48759
jvreyspamspam_OUTit.new.iscorltd.co.za

1997\08\28@041747 by Mayes uk

flavicon
picon face
In message  <@spam@970827180329_-1569701773KILLspamspamemout07.mail.aol.com>> KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU writes:
> >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
> >bad really, I think I'll buy it when the gate comes crashing down)...
>
> I wonder how many of us will be setting the system clock back to August to
> keep using the demo.  I've already written a batch file to automate the
> process ....
> (restores the date afterwards and re-dates any files produced). Sad I know,
> but when I've got a few hundred quid to spare I'll buy a copy!
>

Hmm. If the programmers have done their job properly they won't be
relying on the system clock to determine the date.

Regards,

Mike Watson

1997\08\28@092843 by Andy Kunz

flavicon
face
At 08:59 AM 8/28/97 GMT, you wrote:
>In message  <RemoveME970827180329_-1569701773TakeThisOuTspamemout07.mail.aol.com>> > spamBeGonePICLISTspamBeGonespamMITVMA.MIT.EDU writes:
>> >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
>> >bad really, I think I'll buy it when the gate comes crashing down)...
>>
>> I wonder how many of us will be setting the system clock back to August to
>> keep using the demo.  I've already written a batch file to automate the
>> process ....
>> (restores the date afterwards and re-dates any files produced). Sad I know,
>> but when I've got a few hundred quid to spare I'll buy a copy!
>>
>
>Hmm. If the programmers have done their job properly they won't be
>relying on the system clock to determine the date.

You clowns need to read some ethics books, or a Bible, and put it to practice.

Andy

==================================================================
Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865
         Hardware & Software for Industry & R/C Hobbies
       "Go fast, turn right, and keep the wet side down!"
==================================================================

1997\08\28@102405 by mikesmith_oz

flavicon
face
On 28 Aug 97 at 8:59, Mayes uk wrote:

> In message  <TakeThisOuT970827180329_-1569701773EraseMEspamspam_OUTemout07.mail.aol.com>> >  RemoveMEPICLISTspamTakeThisOuTMITVMA.MIT.EDU writes:
> > >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
> > >bad really, I think I'll buy it when the gate comes crashing down)...
> >
> > I wonder how many of us will be setting the system clock back to August to
> > keep using the demo.  I've already written a batch file to automate the
> > process ....
> > (restores the date afterwards and re-dates any files produced). Sad I know,
> > but when I've got a few hundred quid to spare I'll buy a copy!
> >
>
> Hmm. If the programmers have done their job properly they won't be
> relying on the system clock to determine the date.
>

Clyde seems very quiet on the subject - 'giving PICLIST members
enough rope to hang themselves' is the phrase I'm thinking of... <g>

Your right though Mike, just relying on sysclock alone is rarely
used.
MikeS
<mikesmith_ozEraseMEspam.....relaymail.net>

1997\08\28@133737 by Michael Coop

flavicon
face
As the originator of the request for C-code (above), which has gone so far
off the track that I can't imagine why it still has the same subject
line...  <g>, I would like to formally propose the following abbreviations
for off topic wanderings...

 ROT   Really Off Topic
 WOT   Way Off Topic
 GOT   Generally Off Topic
 POT   Practically Off Topic
 BOT   Beginning Of Tape (sorry this one just snuck in there)
 COT   Could be Off Topic
 DOT   Small round thing
 FOT   Far Off Topic
 HOT   Opposite to cold
 JOT   Just Off Topic
 NOT   Not Off Topic - (quite useful for continuing the original thread)
 OOT   Object-Oriented Topic
 TOT   Totally Off Topic

The idea is that you will spend so much time thinking which prefix to use
that your modem will drop off line, and you'll decide to trash the mail
send anyway.  Saves bandwidth both ways... neat huh ?

--   --   --   --   --   --   --   --   --   --   --   --   --   --   --
 --
I have no idea how it works, I just know how to use it.
--   --   --   --   --   --   --   --   --   --   --   --   --   --   --
 --



{Original Message removed}

1997\08\28@181901 by engelec

picon face
Andrew G Williams wrote:
>
> >I'm using the evaluation version of the Hi-Tech C compiler for PICs, (not
> >bad really, I think I'll buy it when the gate comes crashing down)...
>
> I wonder how many of us will be setting the system clock back to August to
> keep using the demo.  I've already written a batch file to automate the
> process ....
> (restores the date afterwards and re-dates any files produced). Sad I know,
> but when I've got a few hundred quid to spare I'll buy a copy!

I use an other method for demos.
before I install the software I change the time ahead like 1999 that
will
extant an other 2 years. when ever I install the software it will look
at my PC clock and add an other 30 days.But my method I do not have to
even
buy the software.

hope this helps

Andre

1997\08\28@192121 by Dave Mullenix

flavicon
face
>As the originator of the request for C-code (above), which has gone so far
>off the track that I can't imagine why it still has the same subject
>line...  <g>, I would like to formally propose the following abbreviations
>for off topic wanderings...

(list deleted)

Don't forget

 LOT   Little Off Topic or maybe Lot Off Topic, if that's not redundant

Dave, N9LTD

1997\08\31@072741 by paulb

flavicon
face
Jacques Vrey wrote:

> Just an observation I would like to share:
 ... etc., describing how to "crack" the demo expiry date on a certain
product.

 Frankly, I think that's just a trifle RUDE!

 Over and above the current thread regarding morality of software
piracy, with particular reference to "beta" or "demonstrator" software,
Glen Benson <EraseMEbensonspamBENSONASSOC.COM> has indicated that a "cracked demo"
or "easily cracked demo" is quite a good advertisement, being a sort of
de-facto shareware, and he also indicated that technical people such as
ourselves might well be expected to "crack" such protection.

 If I read that correctly, then the "crackable" aspect is to be
considered a competency test for the trial user.  Blabbing the details
in this case however is far more of an insult to the author than the
user who having done the "cracking" himself, develops an affinity for
the software and if he finds it worthwile to use (i.e., uses it to his
own profit), proceeds to purchase it.  The author having offered the
software under certain "demo" conditions and in the knowledge that it
CAN and WILL be "cracked" (well, .INI files are a pretty easy
challenge!) has been exceedingly generous, which generosity is abused
by the trivialisation of someone broadcasting the answer!

 Very un-sportsmanlike!

 Cheers,
       Paul B.


'C-source serial input (only) ?'
1997\09\06@181350 by ags
flavicon
face
part 0 1477 bytes content-type:application/octet-stream; name="Serial.c" (decoded 7bit)

+---------------------------------------------------------
| Alan G. Smith
| RemoveMEagsEraseMEspamEraseMEpoboxes.com
| http://www.innovatus.com/ags

----------
{Quote hidden}

> {Original Message removed}

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...