Page 1 of 1

Need few routines :)

Posted: Fri Nov 14, 2003 4:00 pm
by Frki
Hi,
I need some low-level routines written in assembler. Those routines would be :

- Hide cursor
- Show cursor
- Move cursor

Re:Need few routines :)

Posted: Fri Nov 14, 2003 6:07 pm
by Ozguxxx
I am happy for you, I did not write anything about graphics but simple logic says that these routines are dependent on your design, not on hardware so I think nobody can tell you about how to hide or show cursor.

Re:Need few routines :)

Posted: Fri Nov 14, 2003 8:06 pm
by Curufir
Ozgunh82 wrote: I am happy for you, I did not write anything about graphics but simple logic says that these routines are dependent on your design, not on hardware so I think nobody can tell you about how to hide or show cursor.
I think Frki is referring to the hardware cursor in VGA text modes.

I'd like to help, but I can't remember the ports for controlling it offhand. If nobody else can come up with them then try looking at a VGA reference. If you're still in real mode then there are a few BIOS functions that will control the cursor for you.

Re:Need few routines :)

Posted: Sat Nov 15, 2003 5:52 pm
by Frki
Yes, I am still in real mode, but I want a low level function to use ;D

Re:Need few routines :)

Posted: Mon Nov 17, 2003 6:00 am
by Pype.Clicker
check Ralf Brown's Interrupt List (should be in the .:QuickLinkz:.) for BIOS interrupt 10h. It should have the cursor manipulation you're looking for ...

If you're *really* wanting something with a lower level, you can look at http://www.google.com/url?sa=U&start=1& ... r.htm&e=42, but don't expect a significant speed improvement.

As Tim'd have said: "the I/O delay will be significantly greater than the BIOS interrupt call overhead" :)

Re:Need few routines :)

Posted: Mon Nov 17, 2003 6:07 am
by Tim
Pype.Clicker wrote:As Tim'd have said: "the I/O delay will be significantly greater than the BIOS interrupt call overhead" :)
Exactly :).

Maybe I could go on holiday. You could replace me with a bot which posted random answers:

Use GRUB
Use Cygwin
The I/O delay will be significantly greater than the BIOS interrupt call overhead

Re:Need few routines :)

Posted: Mon Nov 17, 2003 6:46 am
by Pype.Clicker
@tim: *rofl* ;D

we would then miss your knowledge of the Dark Lands of Windows NT and miserably fail in doing SomethingDifferent (tm)