Re: Fixed jtable (was: Re: Re: New lib module - 'libjtable.fs')
Samuel Tardieu <[email protected]> 09 Nov 2004 08:53:27 +0100
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Organization | Avian Carrier & Friends |
| Message-ID | <[email protected]> |
>>>>> "David" == David McNab <[email protected]> writes: David> As a side note - it would appear that the standard 'ftable' David> (from which I ripped code for jtable) also suffers from this David> limitation. Might be worth looking at having 'ftable' also David> adjust PCLATH. After looking at the code, I do not think this is needed. Such tables are always fully included in only one page (end-ftable checks that). It is composed of: TABLE: ADDWF PCL,F RETLW CHOICE0 RETLW CHOICE1 ... It means that to be able to call TABLE, one needs to have the PCLATH set to this page already. The situation in your jump tables is different, because you call other words from there, which is not the case in data tables. Sam -- Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam