embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: custom colors?

From: Ron Oliver <roliver_at_openesque.com>
Date: Sat, 11 Jan 2003 22:56:09 -0500 (EST)

How to reply: Use your email client's "Reply All" function to reply to the
entire list (preferred). Use "Reply" for a private reply to the sender.
--------------------------------------------------------------------------

On Sat, 11 Jan 2003, Rick VanNorman wrote:

> The colors are managed from a table in memory. This entry in this
> table contains a color reference, which may be a palette index or
> an rgb value. The default is palette indexes. The first eight values
> in it are probably the ones of interest to you:
>
> CREATE COLOR-TABLE
> \ TEXT BACKGROUND
> BLACK , WHITE , \ normal
> WHITE , BLACK , \ inverse
> RED , WHITE , \ bright
> BLUE , WHITE , \ bold
>
> Replace the colors you want with your eye-tuned values, execute
>
> COLOR-TABLE SET-COLORS
>
> and the colors will be used. I'm not sure if your configuration
> of SwiftX will allow you to save a disk image of the executable
> to permanently change the values. You could patch the executable,
> at your own risk.
>
> Hope this helps,
> Rick

It does. Thanks.

I don't know if I can save a disk image either (probably not, since
I don't have SwiftForth.) Loading a file with my custom table
satisfies my needs.

Noted that RGB byte ordering is as follows:
$FF = red; $FF00 = green; $FF0000 = blue.

-- 
Ron Oliver <roliver_at_openesque.com>
----------------------------------------------------------------------
swiftx_at_forth.com          The SwiftX programming discussion email list
To unsubscribe,  send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS!  Send bug reports to support_at_forth.com.
Received on Sat Jan 11 2003 - 19:55:05 PST

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:21 PST