tb0008.pp 373 B

1234567891011121314151617
  1. { Old file: tbs0011.pp }
  2. { tests div/mod bugs, where edx is scrambled, if a called procedure does a div/mod OK 0.9.2 }
  3. {$message don't know how to make a test from bug0011 (PM)}
  4. var
  5. vga : array[0..320*200-1] of byte;
  6. procedure test(x,y : longint);
  7. begin
  8. vga[x+y mod 320]:=random(256);
  9. vga[x+y mod 320]:=random(256);
  10. end;
  11. begin
  12. end.