FemtoBASIC_COLOR Updated with cursor/string support
Oldbitcollector (Jeff)
Posts: 8,091
FEMTOBASIC_COLOR V2 with AIGENRICcf
Continued modification of FemtoBASIC which incorporates the AiGenericCF_Text_Driver for 40x23 color text.
Changes with this update..
*Friendly, flashing cursor
*Limited string variable support
A,B, & C can now store/manipulate a string type data.
{Added commands, <PRINT A> <IFA="STRING"> <A="STRING"><INPUT"QUERY";A}
Thanks to Mike Green for helping me better understand how the Propeller handles temporary data!
I've about pushed the memory limits of Femto to the wall! Bring on PropII...
-- Continued from the previous version -- (minor change to SYNTH)
FONT "font.64c" Loads a .64c font from the SD card
REDEFINE Redefine the look of a character bit-by-bit
NORMAL Load the "normal.64c" font from the SD Card
SYNTH <Freq>,<duration> Sound command
COLOR <#> Text Color 1-16
NES NES Variable for reading NES controller 0
LOCATE X,Y Locate Command (*fixed to row,col)
This version completes the "COLOR BASIC" modification of FemtoBASIC.
Theres enough here for simple BASIC gaming. <grin>
Included in the .zip are a couple .BAS demos and a few fonts.
Copy them to your SD before launching.
I've left the NOV 2007 version attached for those who would prefer the older version.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Post Edited (Oldbitcollector) : 4/22/2008 5:04:17 AM GMT
Continued modification of FemtoBASIC which incorporates the AiGenericCF_Text_Driver for 40x23 color text.
Changes with this update..
*Friendly, flashing cursor
*Limited string variable support
A,B, & C can now store/manipulate a string type data.
{Added commands, <PRINT A> <IFA="STRING"> <A="STRING"><INPUT"QUERY";A}
Thanks to Mike Green for helping me better understand how the Propeller handles temporary data!
I've about pushed the memory limits of Femto to the wall! Bring on PropII...
-- Continued from the previous version -- (minor change to SYNTH)
FONT "font.64c" Loads a .64c font from the SD card
REDEFINE Redefine the look of a character bit-by-bit
NORMAL Load the "normal.64c" font from the SD Card
SYNTH <Freq>,<duration> Sound command
COLOR <#> Text Color 1-16
NES NES Variable for reading NES controller 0
LOCATE X,Y Locate Command (*fixed to row,col)
This version completes the "COLOR BASIC" modification of FemtoBASIC.
Theres enough here for simple BASIC gaming. <grin>
Included in the .zip are a couple .BAS demos and a few fonts.
Copy them to your SD before launching.
I've left the NOV 2007 version attached for those who would prefer the older version.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Post Edited (Oldbitcollector) : 4/22/2008 5:04:17 AM GMT
Comments
Thank to Baggers for helping debug the .64 font stuff.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Thanks to Mike for both a fun way to learn spin. {mutilating his program}
and for continued help understanding SPIN code and answering questions.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
I'll give it a try later tonight.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Share the knowledge: propeller.wikispaces.com
Lets make some music: www.andrewarsenault.com/hss
Baggers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
If I port this to the PropGFX lite, how much graphics overhead (memory) do the required
video drivers take? I'm betting on I'll get a lot of my memory back for additional graphics functions.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
if you have a charmap, it also depends if you keep a local copy of the display? if you have it all on Lite, you'll get pretty much it all back, as the coms takes probably less space than the tv driver uses. and if you store the graphics + fonts on SD, it'll be even less [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Is there a VGA version somewhere?
Thanks,
Doug
I will look into that. I was really excited to get it working last night. Hopefully I will have a package that my son can program soon.
Can you tell me where to get the latest version including source and binaries? Is 3.006 the latest? OBC's version is 2.004 but has a later date of 20080422
Thanks,
Doug
This version is a folk off 2.004. I've seriously considered updating this with a
VGA driver, but I haven't gotten around to it. Like Mike said, there are bound be
be a few sacrifices.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS