PickBASIC / FlashBASIC

u014a user exit

.md

The u014a user exit reads an absolute disk sector.

Syntax

result = oconv(read.command, ’u014a’)

Parameter(s)

result Status code indicating:
00 Successful.
xx Failed, where xx is any nonzero code.

read.command is a dynamic array that contains:

read.command<1> = drive.num, <vm>, block.num

where

drive.num 1 Drive A:
2 Drive B:
3 Drive C:
4 Drive D:
<vm> Value mark.
block.num Logical disk block number to read.

read.command<2> = mode, <vm>, table1, <vm>, table2

where

mode 1 Convert ASCII to hexadecimal.
2 Transform and prefix character.
3 Translate and delete character.
4 Transform, prefix and drop Most Significant Bit.
5 Transform, delete and drop Most Significant Bit.
<vm> Value mark.
table1 Contains one or more hexadecimal characters to scan for on input. If there is more than one entry, then they are separated by subvalue marks.
<vm> Value mark.
table2 Contains one or more hexadecimal characters to replace the corresponding characters from table1. If there is more than one entry, then they are separated by subvalue marks.

See also