BBS: Inland Empire Archive Date: 07-04-92 (13:21) Number: 98 From: MIKE WEGNER Refer#: NONE To: BRUCE GROEN Recvd: NO Subj: Microhelp Muscle Mouse Conf: (2) Quik_Bas
BG>Sounds great but how do you use this bitmap for you mouse cursor. BG>I havnt done anything with graphics yet but will be soon. How BG>would I use a bitmap as my mouse cursor? Thanks for any info. Here's the bitmap. It needs to be read into an array of 32 integers. Then you use interrupt &h33, setting the ax register to 9, the bx register to 4 and the cx register to 0. Then set the es register to the VARSEG of your array and set the dx register to the VARPTR of your array. Then hit the interrupt and your mouse cursor is loaded. Presto - 1 pointing finger. Gee, I think mom said something about that once, but I can't remember ... :) DATA &he1ff,&he1ff,&he1ff,&he1ff,&he1ff DATA &he000,&he000,&he000,0,0,0,0,0,0,0,0 DATA &h0000,&h0c00,&h0c00,&h0c00,&h0c00,&h0c00 DATA &h0db6,&h0db6,&h0db6,&h6ffe,&h6ffe,&h6ffe DATA &h7ffe,&h7ffe,&h7ffe,&h0000 --Mike-- --- * Origin: Phoenix BBS (1:375/8)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET