Welcome to the Parallax Discussion Forums, sign-up to participate.
Peter Jakacki wrote: »
Although it is possible to add extra chips to do more wonderful things with the video I'd rather concentrate on getting the most out of the Prop itself and also so that when Prop II pops up I'm ready to port and play!
jmg wrote: »
With that pathway in mind, you could always develop using TWO Prop 1's ? - if your total 'equivalent' COG use is <=8, it would morph into a Prop 2 quite easily.
Brian Riley wrote: »
Is it a BST thing? Any hope for a Prop Tool compatible?
result := @HSSerialRx+4 ' Use cog image for serial buffer (skip 4 for control)
DAT org 0
HSSerialRx [COLOR="#FF0000"]add rxwr, par[/COLOR]
[COLOR="#FF0000"]add rxbuf, par[/COLOR]
rxpin long 0 ' mask of rx pin
[COLOR="#FF0000"]rxwr long 3 ' byte address of rxwr in hub
rxbuf long 4 ' pointer to rxbuf in hub memory
bitticks long 0
kuroneko wrote: »
Yes, it is. Try this:
: SEROUT ( data baud pin -- )
MASK DUP OUTSET ROT ( baud mask data )
$100 OR 2* ( baud mask data )
ROT #10 SWAP #80,000,000 SWAP / WAITCNT ( mask data )
FOR SHROUT 0 WAITCNT NEXT
\ Demo code
: >LCD ( char -- ) #9600 3 SEROUT ; \ transmit serial data to the LCD on P3
: CLD $0C >LCD ; \ clear LCD
: SETBIG 2 >LCD ; \ big digit mode
: ENDBIG 3 >LCD ;
: TYPELCD ( str -- ) BEGIN C@++ ?DUP WHILE >LCD REPEAT DROP ;
CLD SETBIG " 123" TYPELCD ENDBIG " DEMO" TYPELCD ;
D.P wrote: »
Can't seem to find word "uemit" in the line.
: CON 0 uemit W! ;
near the end of EXTEND.FTH
running kernel: Propeller .:.:--TACHYON--:.:. Forth V1.0 rev120803.1845
Did not find the "uemit" word in any of the posted files.
_Really like the BACKUP and AUTORUN words.
And just for fun the how about this link: http://www.inventio.co.uk/forthvsc.htm I've got my flame suit on so go ahead. I really like the part about if you don't understand the problem you shouldn't be writing software.
msrobots wrote: »
yes I stumbled over transmit already, nice. And - yes - this is a huge amount of work you are doing there. But at least you have ONE guy interessted in this - ME.
The style of commenting differs not much from what you are doing and you can keep your source where it is. But like Phil said anybody can (re)create the html-doc out of your source easy.
@Phil - I takes Parallax 2 Years to NOD?
msrobots wrote: »
yes, I would love to do that. As you can see the differences are small and it will not disturb your progress.
Still need to wrap my head around FORTH. But reading your source helps a lot Since in FORTH everything seems backwards for me understanding the Language by understanding its implementation in PASM seems to be logical to me, somehow...
PM me how to do that, and I gladly accept your offer.
I am currently building up my own (Silver?) Standard Library of those objects I really need often.(Serial,I2C,SD,TV,VGA). Documenting them and, well add some generic I/O methods. This is preatty rewarding in it self. As you said "What Phil has done looks very professional".
D.P wrote: »
Now I've got the uemit word in: Propeller .:.:--TACHYON--:.:. Forth V1.0 rev120804.0140 but now it seems BACKUP is not working nor is COLD sensing a hard restart as before?
I've been using a PROPBOE for testing.