Category : Utilities for DOS and Windows Machines
Archive   : FILLDISK.ZIP
Filename : DSPACE.LST

 
Output of file : DSPACE.LST contained in archive : FILLDISK.ZIP
 Microsoft MACRO Assembler Version 3.00 Page 1-1
D S P A C E . A S M (SUBROUTINE TO FILLDISK.SRC) 10-10-86


1 PAGE 57,132
2 TITLE D S P A C E . A S M (SUBROUTINE TO FILLDISK.SRC)
3 ;
4 ; DSPACE DISKSPACE VIA INT 33, FUNCTION 54
5 ;
6 ; IN PARM 1, STACK DRIVE NUMBER
7 ;
8 ; OUT PARM 2, " AX SECTORS PER CLUSTER
9 ; PARM 3, " CX BYTES PER SECTOR
10 ; PARM 4, " BX NUMBER OF AVAILABLE CLUSTERS
11
12 PARM STRUC
13
14 0000 0000 SAVEBP DW 0
15 0002 0000 RETOFF DW 0
16 0004 0000 RETSEG DW 0
17 0006 0000 PARM4 DW 0
18 0008 0000 PARM3 DW 0
19 000A 0000 PARM2 DW 0
20 000C 0000 PARM1 DW 0
21
22 000E PARM ENDS
23
24 = PARMSIZE EQU OFFSET PARM1 - OFFSET RETSEG
25
26
27 0000 CODE SEGMENT BYTE PUBLIC 'CODE'
28 ASSUME CS:CODE
29
30 0000 DSPACE PROC FAR
31 PUBLIC DSPACE
32
33 0000 55 PUSH BP
34 0001 8B EC MOV BP, SP
35 0003 8B 76 0C MOV SI, [BP].PARM1
36 0006 8A 14 MOV DL, [SI]
37
38 0008 B4 36 MOV AH, 54
39 000A CD 21 INT 33
40
41 000C 8B 7E 0A MOV DI, [BP].PARM2
42 000F 89 05 MOV [DI], AX
43 0011 8B 7E 08 MOV DI, [BP].PARM3
44 0014 89 0D MOV [DI], CX
45 0016 8B 7E 06 MOV DI, [BP].PARM4
46 0019 89 1D MOV [DI], BX
47
48 001B 5D POP BP
49
50 001C CA 0008 RET PARMSIZE
51
52 001F DSPACE ENDP
53 001F CODE ENDS
 Microsoft MACRO Assembler Version 3.00 Page 1-2
D S P A C E . A S M (SUBROUTINE TO FILLDISK.SRC) 10-10-86


54 END

 Microsoft MACRO Assembler Version 3.00 Page Symbols-1
D S P A C E . A S M (SUBROUTINE TO FILLDISK.SRC) 10-10-86


Structures and records:

N a m e Width # fields
Shift Width Mask Initial

PARM . . . . . . . . . . . . . . 000E 0007
SAVEBP . . . . . . . . . . . . . 0000
RETOFF . . . . . . . . . . . . . 0002
RETSEG . . . . . . . . . . . . . 0004
PARM4. . . . . . . . . . . . . . 0006
PARM3. . . . . . . . . . . . . . 0008
PARM2. . . . . . . . . . . . . . 000A
PARM1. . . . . . . . . . . . . . 000C

Segments and Groups:

N a m e Size Align Combine Class

CODE . . . . . . . . . . . . . . 001F BYTE PUBLIC 'CODE'

Symbols:

N a m e Type Value Attr

DSPACE . . . . . . . . . . . . . F PROC 0000 CODE Global Length =001F
PARMSIZE . . . . . . . . . . . . Text OFFSET PARM1 - OFFSET RETSEG

49694 Bytes free

Warning Severe
Errors Errors
0 0


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : FILLDISK.ZIP
Filename : DSPACE.LST

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/