The way you're doing it, you'd need to enter
cellwidth = screenWidth / 8
cellHeight = screenHeight / 8
DesktopImage = LoadAnimImage(desktopPixmap,8,8,0,cellwidth*cellheight)
I might be confusing you with the terms I'm using, basically what I mean by cellWidth and CellHeight, is how many tiles across and down you are breaking up the image into. So when you divide by 8, you are saying you want the tiles 8 pixels by 8 pixels. If your resolution is 800x600 that'll give you 100 tiles across and 75 tiles down.
So in the LoadAnimImage command, you'd be telling it that your tiles are going to be 8 pixels by 8 pixels, and there will be a total of 7500 tiles.
It might've been better if I had typed it as
const TileWidth = 64
Const TileHeight = 64
Const TilesAcross = screenWidth/64
Const TilesDown = screenHeight/64
Local DesktopImage:TImage = LoadAnimImage(desktopPixMap,TileWidth,TileHeight,0,TilesAcross*TilesDown)
For y = 0 to TilesDown - 1
For x = 0 to TilesAcross - 1
DrawImage DeskTopImage,x*TileWidth,y*TileHeight,y*TilesAcross+x
Next
NextWhere TileWidth and TileHeight is the width and height of each tile in pixels, and TilesAcross and TilesDown is the number of tiles across and down.