Skip to content

Commit 3fd3dd6

Browse files
committed
small edit to fix usage document, ensure only 8086 compatible instructions used
git-svn-id: http://svn.code.sf.net/p/fdos/code/trunk@143 d9247ac3-808d-4053-b241-f1a6b6229609
1 parent 6cffa68 commit 3fd3dd6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

devload.asm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
; Version 3.25 05/8/2011 - Jeremy: fix bug where initial CDS not checked,
196196
; adjust return codes to account for char devices
197197

198+
CPU 8086 ; ensure only 8086 compatible instructions
198199
; .............................IMPROVEMENT IDEAS.............................
199200

200201

@@ -2029,8 +2030,8 @@ quiet: or byte [cs:ModeFlag],QuietFlag
20292030

20302031
; Set initial drive letter to assign device to (or 1st available after this one)
20312032
driveletter:
2032-
lodsb ; get drive letter, spaces before it are not supported e.g. /DS
2033-
sub al,65 ; convert letter to 0 based #, cmd line upcased above so -'A'
2033+
lodsb ; get drive letter, spaces before it are not supported e.g. /DS
2034+
sub al,65 ; convert letter to 0 based #, cmd line upcased above so -'A'
20342035
mov [CS:LastDrUsed], al
20352036
jmp short switchloop
20362037

devload.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@
7777
to a value between 0 and 26, where 0 is returned for character
7878
devices and for block devices the first assigned drive is
7979
returned (where 1=A:, 2=B:, 3=C:, ... 26=Z:). On any error
80-
or is device is not loaded then 255 is returned. [Future
80+
or if device is not loaded then 255 is returned. [Future
8181
versions may provide unique values depending on the error.]
82-
is returned as the exit code, where A:=0, ... Z:=25.
8382

8483
Examples:
8584

0 commit comments

Comments
 (0)