summaryrefslogtreecommitdiff
path: root/v2.0/source/INCOMP.txt
blob: 6c187b625246e356308f778df8173f9b9505f09f (plain) (blame)
ofshex dumpascii
0000 0d 0a 41 72 65 61 73 20 77 68 65 72 65 20 32 2e 30 20 69 73 20 6e 6f 74 20 63 6f 6d 70 61 74 69 ..Areas.where.2.0.is.not.compati
0020 62 6c 65 20 77 69 74 68 20 20 70 72 65 76 69 6f 75 73 20 20 76 65 72 73 69 6f 6e 73 20 20 6f 66 ble.with..previous..versions..of
0040 0d 0a 74 68 65 20 44 4f 53 2e 0d 0a 0d 0a 2b 20 44 69 72 65 63 74 20 63 61 6c 6c 73 20 74 6f 20 ..the.DOS.....+.Direct.calls.to.
0060 74 68 65 20 42 49 4f 53 0d 0a 20 20 20 20 20 20 20 20 41 6e 79 20 70 72 6f 67 72 61 6d 20 77 68 the.BIOS..........Any.program.wh
0080 69 63 68 20 6a 75 6d 70 65 64 20 64 69 72 65 63 74 6c 79 20 74 6f 20 74 68 65 20 42 49 4f 53 20 ich.jumped.directly.to.the.BIOS.
00a0 20 62 79 20 20 77 61 79 0d 0a 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 6a 75 6d 70 20 74 61 .by..way..........of.the.jump.ta
00c0 62 6c 65 20 61 74 20 34 30 3a 30 20 77 69 6c 6c 20 6e 6f 20 6c 6f 6e 67 65 72 20 77 6f 72 6b 2e ble.at.40:0.will.no.longer.work.
00e0 0d 0a 0d 0a 2b 20 46 41 54 20 70 6f 69 6e 74 65 72 20 63 61 6c 6c 73 0d 0a 20 20 20 20 20 20 20 ....+.FAT.pointer.calls.........
0100 20 50 72 6f 67 72 61 6d 73 20 77 68 69 63 68 20 75 73 65 64 20 73 79 73 74 65 6d 20 63 61 6c 6c .Programs.which.used.system.call
0120 73 20 32 37 20 61 6e 64 20 32 38 20 20 74 6f 20 20 67 65 74 20 20 61 0d 0a 20 20 20 20 20 20 20 s.27.and.28..to..get..a.........
0140 20 70 6f 69 6e 74 65 72 20 20 74 6f 20 20 74 68 65 20 46 41 54 20 77 69 6c 6c 20 6e 6f 20 6c 6f .pointer..to..the.FAT.will.no.lo
0160 6e 67 65 72 20 77 6f 72 6b 2e 20 20 42 65 63 61 75 73 65 20 74 68 65 0d 0a 20 20 20 20 20 20 20 nger.work...Because.the.........
0180 20 46 41 54 20 69 73 20 6e 6f 77 20 63 61 63 68 65 64 20 77 69 74 68 20 6f 74 68 65 72 20 64 69 .FAT.is.now.cached.with.other.di
01a0 73 6b 20 72 65 73 6f 75 72 63 65 73 2c 20 74 68 65 72 65 20 20 69 73 0d 0a 20 20 20 20 20 20 20 sk.resources,.there..is.........
01c0 20 6e 6f 20 20 66 69 78 65 64 20 20 6c 6f 63 61 74 69 6f 6e 20 20 69 6e 20 6d 65 6d 6f 72 79 20 .no..fixed..location..in.memory.
01e0 74 6f 20 70 61 73 73 20 74 68 65 20 61 64 64 72 65 73 73 20 6f 66 2e 0d 0a 20 20 20 20 20 20 20 to.pass.the.address.of..........
0200 20 54 68 65 20 63 61 6c 6c 73 20 73 74 69 6c 6c 20 65 78 69 73 74 2c 20 20 68 6f 77 65 76 65 72 .The.calls.still.exist,..however
0220 2c 20 20 61 6e 64 20 20 68 61 76 65 20 20 74 68 65 20 20 73 61 6d 65 0d 0a 20 20 20 20 20 20 20 ,..and..have..the..same.........
0240 20 66 6f 72 6d 61 74 2e 20 20 54 48 45 59 20 43 41 4e 20 4f 4e 4c 59 20 42 45 20 55 53 45 44 20 .format...THEY.CAN.ONLY.BE.USED.
0260 54 4f 20 47 45 54 20 54 48 45 20 46 41 54 20 49 44 20 42 59 54 45 2e 0d 0a 20 20 20 20 20 20 20 TO.GET.THE.FAT.ID.BYTE..........
0280 20 4f 6e 20 72 65 74 75 72 6e 20 45 53 3a 42 58 20 70 6f 69 6e 74 73 20 74 6f 20 61 20 46 41 54 .On.return.ES:BX.points.to.a.FAT
02a0 20 49 44 20 42 59 54 45 20 66 6f 72 20 74 68 65 20 44 72 69 76 65 2e 0d 0a 20 20 20 20 20 20 20 .ID.BYTE.for.the.Drive..........
02c0 20 44 6f 69 6e 67 20 20 61 6e 79 74 68 69 6e 67 20 20 65 78 63 65 70 74 20 20 52 45 41 44 69 6e .Doing..anything..except..READin
02e0 67 20 20 74 68 69 73 20 20 4f 4e 45 20 20 62 79 74 65 20 77 69 6c 6c 0d 0a 20 20 20 20 20 20 20 g..this..ONE..byte.will.........
0300 20 70 72 6f 62 61 62 6c 79 20 63 72 61 73 68 20 74 68 65 20 73 79 73 74 65 6d 2e 20 20 49 6e 20 .probably.crash.the.system...In.
0320 6f 72 64 65 72 20 20 74 6f 20 20 67 65 74 20 20 61 74 20 20 74 68 65 0d 0a 20 20 20 20 20 20 20 order..to..get..at..the.........
0340 20 46 41 54 2c 20 20 70 72 6f 67 72 61 6d 73 20 20 77 69 6c 6c 20 20 66 69 72 73 74 20 63 61 6c .FAT,..programs..will..first.cal
0360 6c 20 44 53 4b 52 45 53 45 54 20 28 63 61 6c 6c 20 31 33 29 20 74 6f 0d 0a 20 20 20 20 20 20 20 l.DSKRESET.(call.13).to.........
0380 20 66 6c 75 73 68 20 6f 75 74 20 61 6e 79 20 64 69 72 74 79 20 62 75 66 66 65 72 73 2c 20 61 6e .flush.out.any.dirty.buffers,.an
03a0 64 20 74 68 65 6e 20 20 6d 61 6b 65 20 20 61 20 20 47 45 54 44 50 42 0d 0a 20 20 20 20 20 20 20 d.then..make..a..GETDPB.........
03c0 20 63 61 6c 6c 20 20 28 63 61 6c 6c 20 20 33 31 20 6f 72 20 35 30 29 20 74 6f 20 66 69 6e 64 20 .call..(call..31.or.50).to.find.
03e0 6f 75 74 20 77 68 69 63 68 20 73 65 63 74 6f 72 20 6f 6e 20 74 68 65 0d 0a 20 20 20 20 20 20 20 out.which.sector.on.the.........
0400 20 64 69 73 6b 20 74 68 65 20 46 41 54 20 73 74 61 72 74 73 20 61 74 2c 20 68 6f 77 20 62 69 67 .disk.the.FAT.starts.at,.how.big
0420 20 69 74 20 69 73 2c 20 20 61 6e 64 20 20 68 6f 77 20 20 6d 61 6e 79 0d 0a 20 20 20 20 20 20 20 .it.is,..and..how..many.........
0440 20 63 6f 70 69 65 73 20 6f 66 20 20 69 74 20 74 68 65 72 65 20 61 72 65 2e 20 20 54 68 65 6e 20 .copies.of..it.there.are...Then.
0460 49 4e 54 20 32 35 48 20 61 6e 64 20 49 4e 54 20 32 36 48 20 63 61 6e 0d 0a 20 20 20 20 20 20 20 INT.25H.and.INT.26H.can.........
0480 20 62 65 20 75 73 65 64 20 74 6f 20 74 72 61 6e 73 66 65 72 20 74 68 65 20 46 41 54 20 69 6e 20 .be.used.to.transfer.the.FAT.in.
04a0 61 6e 64 20 6f 75 74 20 6f 66 20 74 68 65 20 70 72 6f 67 72 61 6d 73 0d 0a 20 20 20 20 20 20 20 and.out.of.the.programs.........
04c0 20 6d 65 6d 6f 72 79 20 73 70 61 63 65 2e 0d 0a 0d 0a 2b 20 49 4e 54 20 32 35 48 20 61 6e 64 20 .memory.space.....+.INT.25H.and.
04e0 49 4e 54 20 32 36 48 0d 0a 20 20 20 20 20 20 20 20 49 6e 20 6f 72 64 65 72 20 66 6f 72 20 74 68 INT.26H..........In.order.for.th
0500 65 20 20 61 62 6f 76 65 20 20 74 6f 20 20 77 6f 72 6b 2c 20 20 61 6e 64 20 20 69 6e 20 20 6f 72 e..above..to..work,..and..in..or
0520 64 65 72 20 20 74 6f 0d 0a 20 20 20 20 20 20 20 20 6d 61 69 6e 74 61 69 6e 20 20 73 6f 6d 65 20 der..to..........maintain..some.
0540 20 6f 72 64 65 72 20 20 69 6e 20 20 74 68 65 20 20 77 6f 72 6c 64 20 6f 66 20 6d 75 6c 74 69 2d .order..in..the..world.of.multi-
0560 73 75 72 66 61 63 65 0d 0a 20 20 20 20 20 20 20 20 64 69 73 6b 73 2c 20 69 74 20 69 73 20 72 65 surface..........disks,.it.is.re
0580 71 75 69 72 65 64 20 74 68 61 74 20 49 4e 54 20 32 35 48 20 20 61 6e 64 20 20 32 36 48 20 20 75 quired.that.INT.25H..and..26H..u
05a0 73 65 20 20 74 68 65 0d 0a 20 20 20 20 20 20 20 20 4d 53 44 4f 53 20 73 65 63 74 6f 72 20 6d 61 se..the..........MSDOS.sector.ma
05c0 70 70 69 6e 67 20 72 61 74 68 65 72 20 74 68 61 6e 20 73 6f 6d 65 20 72 61 74 68 65 72 20 61 72 pping.rather.than.some.rather.ar
05e0 62 69 74 72 61 72 79 0d 0a 20 20 20 20 20 20 20 20 68 65 61 64 2d 63 79 6c 69 6e 64 65 72 2d 73 bitrary..........head-cylinder-s
0600 65 63 74 6f 72 20 6d 61 70 70 69 6e 67 2e 0d 0a 0d 0a 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 ector.mapping.....The.following.
0620 73 75 62 72 6f 75 74 69 6e 65 20 77 69 6c 6c 20 72 65 61 64 20 74 68 65 20 66 61 74 20 69 6e 74 subroutine.will.read.the.fat.int
0640 6f 20 20 74 68 65 20 20 61 72 65 61 20 20 6f 66 0d 0a 6d 65 6d 6f 72 79 20 73 70 65 63 69 66 69 o..the..area..of..memory.specifi
0660 65 64 20 62 79 20 44 53 3a 42 58 2e 20 20 44 4c 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 64 72 ed.by.DS:BX...DL.contains.the.dr
0680 69 76 65 20 6e 75 6d 62 65 72 2c 20 44 4c 3d 30 0d 0a 6d 65 61 6e 73 20 72 65 61 64 20 74 68 65 ive.number,.DL=0..means.read.the
06a0 20 66 61 74 20 66 72 6f 6d 20 74 68 65 20 64 65 66 61 75 6c 74 20 64 72 69 76 65 2c 20 44 4c 3d .fat.from.the.default.drive,.DL=
06c0 31 20 69 6e 64 69 63 61 74 65 73 20 72 65 61 64 0d 0a 66 72 6f 6d 20 64 72 69 76 65 20 41 3a 2c 1.indicates.read..from.drive.A:,
06e0 20 61 6e 64 20 73 6f 20 6f 6e 2e 0d 0a 0d 0a 67 65 74 66 61 74 3a 0d 0a 20 20 20 20 20 20 20 20 .and.so.on.....getfat:..........
0700 70 75 73 68 20 20 20 20 62 78 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 20 73 61 76 65 20 70 push....bx..............;.save.p
0720 6f 69 6e 74 65 72 20 74 6f 20 66 61 74 20 61 72 65 61 0d 0a 20 20 20 20 20 20 20 20 70 75 73 68 ointer.to.fat.area..........push
0740 20 20 20 20 64 73 0d 0a 20 20 20 20 20 20 20 20 6d 6f 76 20 20 20 20 20 61 68 2c 35 30 20 20 20 ....ds..........mov.....ah,50...
0760 20 20 20 20 20 20 20 20 3b 20 72 65 71 75 65 73 74 20 74 68 65 20 64 70 62 0d 0a 20 20 20 20 20 ........;.request.the.dpb.......
0780 20 20 20 69 6e 74 20 20 20 20 20 32 31 68 0d 0a 20 20 20 20 20 20 20 20 6d 6f 76 20 20 20 20 20 ...int.....21h..........mov.....
07a0 63 78 2c 5b 62 78 2b 31 35 5d 20 20 20 20 20 20 3b 20 67 65 74 20 66 61 74 20 73 65 63 74 6f 72 cx,[bx+15]......;.get.fat.sector
07c0 20 63 6f 75 6e 74 0d 0a 20 20 20 20 20 20 20 20 6d 6f 76 20 20 20 20 20 64 78 2c 5b 62 78 2b 36 .count..........mov.....dx,[bx+6
07e0 5d 20 20 20 20 20 20 20 3b 20 66 69 72 73 74 20 73 65 63 74 6f 72 20 6f 66 20 66 61 74 0d 0a 20 ].......;.first.sector.of.fat...
0800 20 20 20 20 20 20 20 70 6f 70 20 20 20 20 20 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b .......pop.....ds..............;
0820 20 72 65 73 74 6f 72 65 20 66 61 74 20 61 72 65 61 20 70 6f 69 6e 74 65 72 0d 0a 20 20 20 20 20 .restore.fat.area.pointer.......
0840 20 20 20 70 6f 70 20 20 20 20 20 62 78 0d 0a 20 20 20 20 20 20 20 20 6d 6f 76 20 20 20 20 20 61 ...pop.....bx..........mov.....a
0860 6c 2c 64 6c 20 20 20 20 20 20 20 20 20 20 20 3b 20 69 73 20 69 74 20 74 68 65 20 64 65 66 61 75 l,dl...........;.is.it.the.defau
0880 6c 74 20 64 72 69 76 65 3f 0d 0a 20 20 20 20 20 20 20 20 6f 72 20 20 20 20 20 20 61 6c 2c 61 6c lt.drive?..........or......al,al
08a0 0d 0a 20 20 20 20 20 20 20 20 6a 6e 7a 20 20 20 20 20 64 72 69 76 65 6f 6b 20 20 20 20 20 20 20 ..........jnz.....driveok.......
08c0 20 20 3b 20 69 66 20 6e 6f 74 2c 20 6c 6f 61 64 20 66 61 74 0d 0a 0d 0a 20 20 20 20 20 20 20 20 ..;.if.not,.load.fat............
08e0 6d 6f 76 20 20 20 20 20 61 68 2c 31 39 68 20 20 20 20 20 20 20 20 20 20 3b 20 61 73 6b 20 66 6f mov.....ah,19h..........;.ask.fo
0900 72 20 64 65 66 61 75 6c 74 20 64 72 69 76 65 0d 0a 20 20 20 20 20 20 20 20 69 6e 74 20 20 20 20 r.default.drive..........int....
0920 20 32 31 68 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 20 67 65 74 20 74 68 65 20 64 65 66 61 75 .21h.............;.get.the.defau
0940 6c 74 20 64 72 69 76 65 0d 0a 20 20 20 20 20 20 20 20 69 6e 63 20 20 20 20 20 61 6c 20 20 20 20 lt.drive..........inc.....al....
0960 20 20 20 20 20 20 20 20 20 20 3b 20 6d 61 70 20 61 3d 30 20 74 6f 20 61 3d 31 0d 0a 64 72 69 76 ..........;.map.a=0.to.a=1..driv
0980 65 6f 6b 3a 0d 0a 20 20 20 20 20 20 20 20 64 65 63 20 20 20 20 20 61 6c 20 20 20 20 20 20 20 20 eok:..........dec.....al........
09a0 20 20 20 20 20 20 3b 20 6d 61 70 20 61 3d 31 20 74 6f 20 61 3d 30 0d 0a 20 20 20 20 20 20 20 20 ......;.map.a=1.to.a=0..........
09c0 69 6e 74 20 20 20 20 20 32 35 68 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 20 72 65 61 64 20 74 int.....25h.............;.read.t
09e0 68 65 20 66 61 74 20 69 6e 74 6f 20 44 53 3a 42 58 0d 0a 20 20 20 20 20 20 20 20 70 6f 70 20 20 he.fat.into.DS:BX..........pop..
0a00 20 20 20 61 78 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3b 20 63 6c 65 61 6e 20 75 70 20 74 68 ...ax..............;.clean.up.th
0a20 65 20 73 74 61 63 6b 0d 0a 20 20 20 20 20 20 20 20 72 65 74 0d 0a 00 00 00 00 00 00 00 00 00 00 e.stack..........ret............
0a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................