home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / Programowanie / PPC / wosdb_src.lzx / newRunPPC.asm < prev    next >
Encoding:
Assembly Source File  |  1999-05-05  |  237 b   |  18 lines

  1.     mc68040
  2.  
  3.     section    newRunPPC,code
  4.  
  5.     xref    _oldRunPPC
  6.  
  7.  
  8.     xdef    _newRunPPC
  9. _newRunPPC:
  10. ; a0 = PPCArgs
  11. ; a6 = PowerPCBase
  12.     move.l    a0,-(sp)
  13.     or.b    #4,11(a0)    ; PP_Flags |= PPF_THROW
  14.     jsr    ([_oldRunPPC.l])
  15.     move.l    (sp)+,a0
  16.     and.b    #$fb,11(a0)
  17.     rts
  18.