Need few routines :)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Frki

Need few routines :)

Post by Frki »

Hi,
I need some low-level routines written in assembler. Those routines would be :

- Hide cursor
- Show cursor
- Move cursor
Ozguxxx

Re:Need few routines :)

Post 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.
Curufir

Re:Need few routines :)

Post 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.
Frki

Re:Need few routines :)

Post by Frki »

Yes, I am still in real mode, but I want a low level function to use ;D
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Need few routines :)

Post 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" :)
Tim

Re:Need few routines :)

Post 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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Need few routines :)

Post 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)
Post Reply