[OpenBIOS] Adding to a definition

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Fri Apr 13 17:53:33 CEST 2012


On 22/03/12 12:16, Stephen Ehring wrote:

>> On 2012-Mar-22 00:09 , Programmingkid wrote:
>>> Is there a way to add words to the end of a definition? If my word is declared like this:
>>>
>>> : myword
>>> 	firstWord
>>> 	secondWord
>>> ;
>>>
>>> is there a way to append a word to the end of this word so it looks like this:
>>>
>>> : myword
>>> 	firstWord
>>> 	secondWord	
>>> 	thirdWord
>>> ;
>>
>> The usual way I'd do something like that if I had to patch a live system would be as follows:
>>
>> ok : anotherWord secondWord thirdWord ;
>> ok patch anotherWord secondWord myword
>> ok
>>
>
> You can also use (patch) with the XT's if the words are not externally visible.
>
> Steve

I'm fairly sure that OpenBIOS don't implement either patch or (patch) at 
the moment. If it's just a case of replacing one XT with another within 
a word definition, then it shouldn't be too hard - or does it do 
something more clever?


ATB,

Mark.



More information about the OpenBIOS mailing list