## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### The Cursor

1.Edit CACHEMAN.C so off-screen memory is allocated for the hardware cursor. Remember that cursors can be larger than 32 x 32

2.Edit the eddm_DeviceSetCursor function in the EDDMCURS.C file so it copies the AND and XOR masks into off-screen VRAM. The primary change will be to reformat the incoming AND and XOR masks into a form suitable for use by the hardware cursor.

3.Edit EDDCURSR.ASM, and add code to support the hardware cursor.