nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: Code for CodeWarrior nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210:
nico@210: Code for CodeWarrior nico@210:
nico@210: void unlock (void) nico@210:
nico@210: { nico@210:
nico@210: nico@210:
nico@210: __asm(cli); nico@210:
nico@210: } nico@210:
nico@210: void lock (void) nico@210:
nico@210: { nico@210:
nico@210: short mask; nico@210:
nico@210: nico@210:
nico@210: __asm nico@210:
nico@210: { nico@210:
nico@210: :tsei:=d(mask); nico@210:
nico@210: } nico@210:
nico@210: }
nico@210: nico@210:

nico@210:


nico@210:
nico@210: epimerde nico@210: 2007-06-05 nico@210:
nico@210: nico@210: