cf files identical

View: New views
5 Messages — Rating Filter:   Alert me  

cf files identical

by John Comeau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has anyone noticed that OkadWork.cf and QuertyOkadWork.cf are
identical? I mean down to every exact byte; the sha1sums match.

I was going to see what the difference was between them, and was
surprised to find that.

I'm not running Windows, but I'd guess that, if their behavior is
different, it's only because CF2.exe triggers on the filename to
decide which keyboard layout to make default.
--
John Comeau <jc@...> http://jc.unternet.net/
"A place for everything, and everything
all over the place"

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@...
For additional commands, e-mail: colorforth-help@...
Main web page - http://www.colorforth.com


Re: cf files identical

by Albert van der Horst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Mar 06, 2009 at 07:00:35PM -0700, John Comeau wrote:

> Has anyone noticed that OkadWork.cf and QuertyOkadWork.cf are
> identical? I mean down to every exact byte; the sha1sums match.
>
> I was going to see what the difference was between them, and was
> surprised to find that.
>
> I'm not running Windows, but I'd guess that, if their behavior is
> different, it's only because CF2.exe triggers on the filename to
> decide which keyboard layout to make default.
> --
> John Comeau <jc@...> http://jc.unternet.net/
> "A place for everything, and everything
> all over the place"

I have been playing with the Okad.cf file.

The following (in combination with tools from the colorforth
stuff on my ftp site) has had some success in extracting
labels like X_erase from the Huffman tables.

It is clear to me that the code actually executes at
address 20,0000 and is copied.
Because everything is relative the crawling works out.
(Crawling starts at addresses in the ForthHuff-src table.)

We should start with figuring out the sections in the source
file. Please note that in the color tools, I mistakenly
have used the name SEGMENT for sections.
(Hope to fix that in a future release.)
In the future the
\ HEADER X_erase
is to be replaced by
HEADER X_erase
where HEADER generates stuff in both tables.
(Such as I have done in the original color.com).

--------------------SNIP------------------

0020,2C6C EQU ForthHuff-src
0020,2DD4 EQU ForthHuffXT

: >O   0020,0000 - ;

\ Use COLORNAME to label ADDRESS.
: LABEL-COLOR   SWAP CN>X_ASC  LABELED ;

CREATE TEXTBUF 30 ALLOT

CREATE $HEADER 30 ALLOT         \ Contains "HEADER"/"MHEADER"
"\ HEADER " $HEADER $!

\ Add a directive for COLORNAME at label ADDRESS to give a Forth header.
: LABEL-DIRECTIVE   >R   $HEADER $@ TEXTBUF $!   BL TEXTBUF $C+
    CN>ASC TEXTBUF $+!  TEXTBUF $@ R> DIRECTIVE ;

\ Add information about word with addresses in dictionary HUFF and XT ,
\ This means crawl from the xt-address and add the xt-address with a
\ name derived from the huff-address.
\ Leave incremented HUFF and XT.
: CRAWL-ONE-C  DUP L@ >O >R 4 + SWAP   DUP L@ >R 4 + SWAP
    R> R>   2DUP LABEL-COLOR   DUP CRAWL   LABEL-DIRECTIVE ;

\ Add information about a dictionary corresponding HUFFTABLE and XTTABLE .
\ Heuristically we have found how xttable ends, by an out of table address.
\ Leave HUFF and XT at end of table.
: CRAWL-0 BEGIN DUP L@ .S WHILE CRAWL-ONE-C REPEAT ;

ForthHuff-src >O  ForthHuffXT >O   CRAWL-0

--------------------SNIP------------------

--
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- like all pyramid schemes -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@...
For additional commands, e-mail: colorforth-help@...
Main web page - http://www.colorforth.com


Re: cf files identical

by Ray St. Marie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Mar 6, 2009 at 8:00 PM, John Comeau <jc@...> wrote:
> Has anyone noticed that OkadWork.cf and QuertyOkadWork.cf are
> identical? I mean down to every exact byte; the sha1sums match.

they are infact the same file renamed. you may notice that one is set
up to come up qwerty and the other cf keyboards. This is achieved by
turning the white ( or yellow ) word 'qwerty' from one to the other
color. rename one or the other to OkadWork.cf for that one to come up
as the template file.

The thing I did was to associate all '*.cf' files with the cf2.exe and
now when I click on any .cf it loads as the template. I've got several
of those little gems in windows. Cool bats files to do all kinds of
things.


I've got about 15 minutes here at the library and I just wish to say
that i miss you all and am still working in colorforth on a regular
basis.
I have been doing much with graphics and have an entire suite of lines
words, turtle graphics, circles, many approaches on general line
drawing, some games and lots of little doco's that describe little
parts of the system. I've been working thru a description of the USB
processes and the boot processes associated, hoping to be helpful to
Nick one day, when I can get back on line on a regular basis.

I don't have many resources, so please be patient with me. I hope to
be back again at the end of the year.

I see that Colorforth.com is gone...  I have an older copy, if needed.
Sorry to see Chuck's troubles. Much luck to you sir!

Someone has contacted me about the old name colorforth.info, but
unless that person gets this list I'm not going to get a chance to
answer that person. Yes, I'd like that name, obviously. Someday I hope
to fullfill my promises. This is a great time for me as I have
absolutely nothing to do and with the change to digital tv, even that
has broken down for me. I've got nothing but colorforth time anymore.

I will in fact be loosing all of my domain names. the only left are
the FOLENDAR.??? ( 4 in all) and the colorforthray.info.



My time is up here. I don't know when I can return. Best of luck to
you all and again I hope to see you near the end of the year.

Ray
--
Raymond St. Marie ii,
public E-mail Ray.stmarie@...
a quickstart guide http://colorforthray.info
Community Blog http://colorForth.net
Community Wiki http://ForthWorks.com/c4th

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@...
For additional commands, e-mail: colorforth-help@...
Main web page - http://www.colorforth.com


Re: cf files identical

by Roger Ivie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 13 May 2009, Ray St. Marie wrote:
> I see that Colorforth.com is gone...  I have an older copy, if needed.

Still comes up for me.
--
roger ivie
rivie@...

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@...
For additional commands, e-mail: colorforth-help@...
Main web page - http://www.colorforth.com


Re: cf files identical

by vaded :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ray,

I sincerely hope all is well for you.  You are missed, and thanks for
your contributions.  

On Wed, 13 May 2009 19:03:29 -0600, "Ray St. Marie"
<ray.stmarie@...> said:

> On Fri, Mar 6, 2009 at 8:00 PM, John Comeau <jc@...> wrote:
> > Has anyone noticed that OkadWork.cf and QuertyOkadWork.cf are
> > identical? I mean down to every exact byte; the sha1sums match.
>
> they are infact the same file renamed. you may notice that one is set
> up to come up qwerty and the other cf keyboards. This is achieved by
> turning the white ( or yellow ) word 'qwerty' from one to the other
> color. rename one or the other to OkadWork.cf for that one to come up
> as the template file.
>
> The thing I did was to associate all '*.cf' files with the cf2.exe and
> now when I click on any .cf it loads as the template. I've got several
> of those little gems in windows. Cool bats files to do all kinds of
> things.
>
>
> I've got about 15 minutes here at the library and I just wish to say
> that i miss you all and am still working in colorforth on a regular
> basis.
> I have been doing much with graphics and have an entire suite of lines
> words, turtle graphics, circles, many approaches on general line
> drawing, some games and lots of little doco's that describe little
> parts of the system. I've been working thru a description of the USB
> processes and the boot processes associated, hoping to be helpful to
> Nick one day, when I can get back on line on a regular basis.
>
> I don't have many resources, so please be patient with me. I hope to
> be back again at the end of the year.
>
> I see that Colorforth.com is gone...  I have an older copy, if needed.
> Sorry to see Chuck's troubles. Much luck to you sir!
>
> Someone has contacted me about the old name colorforth.info, but
> unless that person gets this list I'm not going to get a chance to
> answer that person. Yes, I'd like that name, obviously. Someday I hope
> to fullfill my promises. This is a great time for me as I have
> absolutely nothing to do and with the change to digital tv, even that
> has broken down for me. I've got nothing but colorforth time anymore.
>
> I will in fact be loosing all of my domain names. the only left are
> the FOLENDAR.??? ( 4 in all) and the colorforthray.info.
>
>
>
> My time is up here. I don't know when I can return. Best of luck to
> you all and again I hope to see you near the end of the year.
>
> Ray
> --
> Raymond St. Marie ii,
> public E-mail Ray.stmarie@...
> a quickstart guide http://colorforthray.info
> Community Blog http://colorForth.net
> Community Wiki http://ForthWorks.com/c4th
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: colorforth-unsubscribe@...
> For additional commands, e-mail: colorforth-help@...
> Main web page - http://www.colorforth.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@...
For additional commands, e-mail: colorforth-help@...
Main web page - http://www.colorforth.com