SX/B running on a SX52
Forrest
Posts: 1,341
Just saw this posted on the XGameStation Forums
205.158.110.70/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=20&t=000272
Looks like the official Parallax version will be released in 2-3 weeks
205.158.110.70/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=20&t=000272
Looks like the official Parallax version will be released in 2-3 weeks
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Thanks
-dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
This is not a sig. This is a duck. Quack.
I don't understand your question on 12-bit word length. What are getting at?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
<practices happy dance in anticipation of SX/B on my 52 con Carne>
Thanks Jon!
-dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
This is not a sig. This is a duck. Quack.
-- SX48 and SX52 support
-- SUB declaration for automatic creation of subroutine jump table
-- page handling is automated
-- IF-THEN-ELSE construct
-- I2C (master) and 1-WIRE commands
I particularly like the SUB (subroutine) declaration and IF-THEN-ELSE additions. With SUB, a subroutine jump table is automatically created AND the compiler can check code for parameter errors (number of parameters expected). Declared subroutines don't need to use GOSUB, so it's like extending the language (and saves a bit of typing). IF-THEN-ELSE just makes decisions easier to code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Sheesh, a few more revs and the instruction set will have something close to parity with PBasic 2.5. You guys are really cooking.
-dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
This is not a sig. This is a duck. Quack.
I am currently doing a layout on a board using the SX52 for one of my customers. It would be really nice to do the coding in SXB...·· ...just how long before you expect the code to arrive?
Also, Any consideration been given to word length, or longer bit·math?· 32 would be really really nice...·· ...16 would make life easier...· ...the 32·stuff can still be done in asm...· ...16 bit mult,div, add,sub would be still be really really·nice.
-Dan
·
No consideration for 16-bit variables. The compiler is designed as a learning tool and 16- or 32-bit vars will just make things too tricky for beginners. You may want to consider a pro compiler for your project.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
http://www.sxlist.com/techref/ubicom/inst/macro.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
I just·like the idea of using the parallax tools, with ICD, and such.
-Dan
·
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·
I know, but I'm lazy. Too busy building hardware to want to code much. I prefer·4 layer
copper to coding. (I'm really a Magnetics/SMPS/Analog hardware geek)
I will have to play with the includes a little. I may just code the whole thing in ASM. I've got enough
16 and 32 bit stuff going on, and so little else it may not pay to try it in SX/B. However, if the 16 bit
functions were there, it would be a different story. The only thing that the SX/B is useful for would
be the comm and LCD links, but even they are pretty easy in ASM.
I will have to look into the includes, to see how time consuming the learning curve is. (I'm sure
it's easy, but my time gets billed to my customers)
-Dan
Dan: Too busy building hardware to learn the MACRO language...
·