FemtoBasic Color
Humanoido
Posts: 5,770
One thing leads to another, and while viewing the code, I see many statements involving color. Is there a color version FemtoBasic with operating manual and examples?
Note: Actually, I would be more happy if the Hydra VGA lines were removed because they need to be shut off anyway to work with the FemtoBasic SD card commands etc. as I understand from the manual.
Post Edited (humanoido) : 5/4/2009 11:40:46 AM GMT
Mike said...
There's no color version because the existing versions do color. Look again at the list of screen commands. You can set the color palette of each character in the TV version to one of 16 foreground / background pairs and each line in the VGA version. In the TV version, you can change the foreground and background color of any of the 16 palettes. In the VGA version, you set the foreground / background colors for each row of the display. This is a restriction of the VGA driver used. The DISPLAY statement makes it easy to handle these screen command sequences. It's possible to change to a different display driver. I've used Chip's 1024 x 768 pixel tile-based driver for example. It takes a little work to add it because the driver doesn't include much in the way of interface routines. FemtoBasic needs things like .dec / .bin / .hex / .str and ways to position the cursor, backspace, fiddle with color, etc. Post Edited (Mike Green) : 5/3/2009 8:55:39 PM GMT
OBC: I'm using a TV with NTSC standard. I'm very interested in learning about your FemtoBasic version that does color. How is it different from the one Mike is talking about? FemtoBasic.spin version 3.007OBC said...
Are you using a PAL or NTSC display? I did a AiGeneric mod of Femto that does color, etc but currently only works under NTSC. OBC
Note: Actually, I would be more happy if the Hydra VGA lines were removed because they need to be shut off anyway to work with the FemtoBasic SD card commands etc. as I understand from the manual.
Post Edited (humanoido) : 5/4/2009 11:40:46 AM GMT
Comments
Here's two different editions. The second uses mpark's editor progrm.
http://forums.parallax.com/showthread.php?p=690283
(Grab the second attachment)
http://forums.parallax.com/showthread.php?p=792542
Adjust the video/audio/etc lines for the Hydra
BTW: Here's a collection of toys you might enjoy..
www.warrantyvoid.us/tiki-index.php?page=Software
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Post Edited (Oldbitcollector) : 5/4/2009 12:10:06 PM GMT
to develop the HYDRA PROPELLER with FEMTOBASIC,
EDITOR, COLOR, ETC. Thanks!!!
humanoido
This was the version of Femto that I wanted.. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
but there is nothing on the screen.
Femto Basic 2.004 COLOR
Exactly what needs to be changed?
Change them to:
I don't own a Hydra, but I believe it is correct.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
Is this because I'm loading it into the 128K Game Card?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
It works great! Plus it works fine in the 128K expansion card.
One version can reside on the main board and the color version
can fit the card. There should be a soft switch that would give
a choice of running off the main board or the expansion card,
to eliminate the need for plugging/unplugging...