Int 13h: Disk Services Interrupt

The Int 13h services on the HP palmtop provide two categories of services, both of which are nonstandard services. HP palmtops do not support standard disk services at the Int 13h level. Instead, custom device drivers are used.

One category of services (functions FF00, FF01, and FF02) applies to the RAM disk, which is drive C:. The RAM disk always occupies some RAM outside the 640KB of conventional memory. This RAM will be called bank-mapped RAM since it can only be accessed through the bank mapping areas. If there is less than approximately 1.5 mega bytes of bank-mapped RAM available to the RAM disk, then the RAM disk size can be increased to use some conventional RAM. The RAM disk size is normally manipulated through the Setup Application, although these functions can be used directly by an application. These services are compatible with the corresponding services on the HP 95LX.

The other category of services (functions FD00, FD01, and FD02) are documented here for completeness, but are not intended to be called by user applications. They are used internally by the XIP support functions that are on Int 63h, which is described on page 3-138. These services are partially compatible with the corresponding services on the HP 95LX. They only support one drive (drive A) and one port (Port 0).

Both categories of services are described in the table below. Specify the desired function code in register AX, with additional parameters passed in other registers as indicated in the table.

AX = 0FF00h: Modify RAM Disk (Drive C:) Size

AX = 0FF01h: Initialize RAM Disk (Drive C)

AX = 0FF02h: Get RAM Disk (Drive C) Size Parameters

AX = FD00: Find Logical Page and Offset for filename

AX = FD01: Set Checksum/Flag for Card in Port 0

AX = FD02: Check Checksum/Flag for Card in Port 0