OSLib bug fixes (various)
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Mon Jan 15 14:27:57 GMT 2001
On Sun, 14 Jan 2001, at 18:43:29, Timothy Baldwin
<csyteb at comp.leeds.ac.uk> wrote on the subject "OSLib bug fixes
(various)":
>On Fri, 12 Jan 2001, Daniel Ellis wrote:
>> On Fri 12 Jan, Tony van der Hoff wrote:
>
>> > >+ os_int_on() and os_int_off() added as these can be called from user
>> > > and 32 bit modes.
>> > Really? With valid APCS - this was the reason they weren't included in
>> > the first place.
>
>In USR26 and USR32 modes fhe I flag can't be written to, there it's state
>won't be restore on function exit, also APCS32 does not restore the flags so
>the I flag will remain as set by os_int_on() or os_int_off().
>
If I understand you correctly, you're saying that in 26-bit privileged
modes, these are effectively no-ops, but they work in all other modes.
Fair enough, that can be documented.
I certainly have no objection to enabling these modes, if that's what
people want...
>>
>> > >+ DefMod checks SWI numbers with |xos_swi_number_from_string|.
>>
>> Surely this will error if the module supplying the SWI isn't resident?
>
>In which case the SWI number is assumed to be valid.
>
I think this is quite a good idea, but it should throw a warning, not an
error. I haven't looked that closely at the patch, Timothy, what does it
actually do?
--
Tony van der Hoff | mailto:OSLib at mk-net.demon.co.uk
Buckinghamshire, England | http://www.mk-net.demon.co.uk/oslib/
----------------------------------------------------------------
More information about the oslib-user
mailing list