Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse cursor
#1
So , I would like tu change the mouse cursor ...

I know we can do it with the this :

regs.ax=9
regs.bx=0
regs.cx=0
regs.es=varptr(cursor(0))
regs.dx=varseg(cursor(0))
INTERRUPTX &h33,regs,regs

.. but I don't manage to make the good cursor array !
Can somone help me ?

I'd like to change the mouse cursor into a simple cross
have the simplest tastes of the World : I satisfy myself with the best !

http://ToufQb.free.fr
Reply
#2
"mask files" in

http://www.geocities.com/gstumpff/mask.zip

that work with the programs in that archive.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#3
Thx , that's great !

But I have a problem once again !!! Cry

Why doesn't my shit of mouse appear on my screen ? ( in SVGA mode )
have the simplest tastes of the World : I satisfy myself with the best !

http://ToufQb.free.fr
Reply
#4
that in an SVGA mode. Rodent cursors rarely show up right, if at all, in an SVGA mode using "normal" rodent drivers. You usually have to draw the cursor yourself and use just the driver's cursor position-related functions. Hence, function 9 of INT 33 isn't going to help you much in an SVGA mode.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#5
arg .. it will be very slow if the interruption is not able to make it !

Anyway : thx a lot !
have the simplest tastes of the World : I satisfy myself with the best !

http://ToufQb.free.fr
Reply
#6
If you don't try to make too complicated of an SVGA rodent cursor, it shouldn't be all that slow. (I made a simple 17 x 17 cross hair and it seems to work okay even using the INT 10 / Ch bios call--with a video card that allows that, at least.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#7
because they just draw to the screen whenever the hell they feel like it, and don't draw properly onto the screen buffer thing right before you update the screen.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#8
Voules vous chouche avec moi, C'est soir?

La fromage danse avec la singe dans ma pantaloon.
earn.
Reply
#9
fromage = cheese
I have a bad feeling about the words "singe" and "pantaloon".
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#10
singe = monkey
earn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)