[OpenBIOS] [PATCH 2/2] implement convert_to_ints()
programmingkidx at gmail.com
Sun Sep 25 17:07:49 CEST 2016
On Sep 25, 2016, at 11:03 AM, Tarl Neustaedter wrote:
> On 2016-Sep-25 10:45 , G 3 wrote:
>>>>>> +void convert_to_ints(void)
>>>>> Since almost everything here just calls Forth words, can't you
>>>>> it in actual Forth instead? ">number" is your friend.
>>>> ...but Forth is not. C is a lot easier to me to use than Forth.
>>> Then learn to use it better! :-)
>> The convert_to_ints() function is just too complex for me to write it
>> in Forth.
>> C is so much nicer.
> See section 184.108.40.206 of IEEE 1275.
> $number ( addr len -- true | n false ) Convert a string to a
> But aside from that, I'm not sure what the hesitation to use ascii
> strings in drivers comes from. It's standard practice. Video
> drivers are
> usually specified with device strings like "/pci at xx/
> display at 1:1040x1024"
> or something like that, with the option argument being parsed at
> (often it's a straight string comparison, but sometimes it needs more
> detailed parsing).
More information about the OpenBIOS