Posts: 57
Threads: 12
Joined: Mar 2003
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
Posts: 704
Threads: 0
Joined: Dec 2002
"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.
Posts: 57
Threads: 12
Joined: Mar 2003
Thx , that's great !
But I have a problem once again !!!
Why doesn't my shit of mouse appear on my screen ? ( in SVGA mode )
Posts: 704
Threads: 0
Joined: Dec 2002
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.
Posts: 57
Threads: 12
Joined: Mar 2003
arg .. it will be very slow if the interruption is not able to make it !
Anyway : thx a lot !
Posts: 704
Threads: 0
Joined: Dec 2002
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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Posts: 1,813
Threads: 284
Joined: Mar 2003
Voules vous chouche avec moi, C'est soir?
La fromage danse avec la singe dans ma pantaloon.
earn.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Posts: 1,813
Threads: 284
Joined: Mar 2003