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: 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@215: 2007-06-08
nico@210:
nico@210:
nico@210: