I'll start off with a couple wishes,
Multiline array and table definitions, unless I've missed something here in the forums. This coming from trying to format a GLCD. Naturally it could be done with multiple array definitions, so as to keep the data within view on the editor page. Tables aren't too bad because they are at the end of the program. But it would be nice to format like below:
Page0() = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,
And an integrated signed integers and math ability. I tried the 'dim myVar as integer', but didn't get lift off, if I recollect correctly.
I'm using some routines for signed integers, i added to my include/system.h, perhaps you want try them.
I tested in the previous version, and added the routines to the latest update (11/09), not tested this one, but if there isn't any copy/paste error i think they should work the same.
There is also an absolute value function:
dim intvar as integer
dim absvar as word
absvar = abs( intvar )
You have the file here (system.h): http://piclinux.svn.sourceforge.net/viewvc/piclinux/GcBasic/include/lowlevel/system.h?revision=125
Well sorry for that, had to delete the last message, because when I tried to make a bad joke, the syntax of using a filename-dot-xxx ended up turning into a hyperlink to nowhere. Oh well, here is original message without the dot in the file name:
Thank you very much for sharing the library.
Gave a quick try and came up with a couple of syntax errors with the new build. Haven't had a chance to dig into it, or try with an older build yet. Will get back with observations soon.
Was looking in my Python directory when pulling up the array format, and saw a file that caught my eye "GCBasic_Cow_py", very catchy….haha:-). Not sure if that translates or not for everyone.
Forgot the new code tags on the array or table format, hope this one comes thru. The interest is for a 128x64 GLCD which has eight pages of 128 bytes, and the need/luxury of a more compact form. Meant for it to look like:
Hi all, Well since next Christams isa long way off, how about USB support. Thanks, Ed.
How about the option to create tables without any access code and a means of getting the base address of such tables into a word variable so you could roll you're own table reading code. Allow this type of table to be any length as well.
Maybe the syntax fontptr = @font1 would produce the pic assembly code
movlw LOW font1
movlw HIGH font1
Why do you want signed int code. What are the advanteges of having signed integer compared
to the usage of signed number and unsigned math.
Log in to post a comment.