diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/INC/LOCK.INC | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/INC/LOCK.INC')
| -rw-r--r-- | v4.0/src/INC/LOCK.INC | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/v4.0/src/INC/LOCK.INC b/v4.0/src/INC/LOCK.INC new file mode 100644 index 0000000..469ce79 --- /dev/null +++ b/v4.0/src/INC/LOCK.INC | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | ; | ||
| 2 | ;Equates for LOCK | ||
| 3 | ; | ||
| 4 | ;LOCK functions | ||
| 5 | ; | ||
| 6 | Lock_all equ 0 | ||
| 7 | Unlock_all equ 1 | ||
| 8 | Lock_mul_range equ 2 | ||
| 9 | Unlock_mul_range equ 3 | ||
| 10 | Lock_read equ 4 | ||
| 11 | Write_unlock equ 5 | ||
| 12 | Lock_add equ 6 | ||
| 13 | |||
| 14 | ; | ||
| 15 | ;Structure for Lock buffer | ||
| 16 | |||
| 17 | LockBuf STRUC | ||
| 18 | |||
| 19 | Lock_position DD ? ; file position for LOCK | ||
| 20 | Lock_length DD ? ; number of bytes to LOCK | ||
| 21 | |||
| 22 | LockBuf ENDS | ||
| 23 | ; | ||
| 24 | \ No newline at end of file | ||