Changeset 6057 for trunk/src


Ignore:
Timestamp:
Jun 21, 2001, 6:18:24 PM (24 years ago)
Author:
bird
Message:

The three io_* functions don't changed ebx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/new/iccio1.asm

    r3345 r6057  
    230230
    231231        ; now use this function to raise the IOPL
     232  PUSH  EBX                             ; bird fix
    232233  MOV  EBX,13    ; special function code
    233234  CALL  FWORD PTR [ioentry]  ; CALL intersegment indirect 16:32
     235  POP   EBX                             ; bird fix
    234236
    235237  ; thread should now be running at IOPL=3
     
    251253
    252254        ; now use this function to raise the IOPL
     255  PUSH  EBX                             ; bird fix
    253256  MOV  EBX,13    ; special function code
    254257  CALL  FWORD PTR [ioentry]  ; CALL intersegment indirect 16:32
     258  POP   EBX                             ; bird fix
    255259
    256260  XOR  EAX, EAX  ; return code = 0
     
    269273        ; through this mechanism
    270274
     275  PUSH  EBX                             ; bird fix
    271276  MOV  EBX, 14    ; function code to disable iopl
    272277  CALL  FWORD PTR [ioentry]  ; call intersegment indirect 16:32
     278  POP   EBX                             ; bird fix
    273279
    274280  ; process should now be at IOPL=3 again
Note: See TracChangeset for help on using the changeset viewer.