|
From: Miro K. <mir...@gm...> - 2018-06-04 19:44:33
|
On 4 June 2018 at 19:09, Gerhard Stoll <ger...@gm...> wrote: > I have one question: Is there somewhere the source code from TOS <= > Version 4.04 ? I saw that the MilanTOS have a type = 5. At the moment I > don't know what it do. > >From the TOS 4.x source I have it gives this description: ************************************************************************* * * * EXTENDED RBP BIOS MOUSE INIT CALL * * * * entry: * * * * void initmous(type,param,intvec) * * word type * * long param,intvec * * * * type - key/abs/rel/off mouse function requested * * 4/ 2/ 1/ 0 value * * param - address of parameter block * * intvec - mouse interrupt vector * * * * * * parameter block definition: * * * * byte 0 - y=0 at top/bottom; if non-zero then y=0 at bottom * * otherwise y=0 at top * * byte 1 - parameter for set mouse buttons command * * byte 2 - x threshold/scale/delta parameter * * byte 3 - y threshold/scale/delta parameter * * * * the following bytes are required for the absolute mouse only * * * * byte 4 - xmsb for absolute mouse maximum position * * byte 5 - xlsb for absolute mouse maximum position * * byte 6 - ymsb for absolute mouse maximum position * * byte 7 - ylsb for absolute mouse maximum position * * byte 8 - xmsb for absolute mouse initial position * * byte 9 - xlsb for absolute mouse initial position * * byte a - ymsb for absolute mouse initial position * * byte b - ylsb for absolute mouse initial position * * * ************************************************************************* -- MiKRO / Mystic Bytes http://mikro.atari.org |