TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Peter Rick
from: Peter Watney
date: 1996-05-18 08:12:00
subject: Cusror routines...

Tuesday May 14 1996 19:15, Peter Rick wrote to All:

 PR>        does anyone know howto move the cursor without using the CRT
 PR> units "GotoXY" procedure or using a BIOS call.

I don't think you can.

Video memory contains what is written to the screen, such as the letters
you have just been reading, but the cursor is superimposed on that by the
BIOS, and the cursor position does not appear in the video memory.

Looking at my screen now as I write, the 't' in 'the cursor position does'
                                                 ^
appears at row 15 column 0, so I can write that 't' and its appropriate
colours into my video memory, but to place the cursor over it I need to
make a BIOS call either using GotoXY or using Interrupt 10h, service 2 in
ASM:

MOV     AH,2      ;Specify service 2
MOV     DH,0Fh    ;row 15
MOV     DL,0      ;column 0
XOR     BH,BH     ;page 0
INT     10h       ;BIOS video interrupt

Regards,
Peter

--- GEcho 1.00
* Origin: Pointing off InterACTive BBS 3:620/243 (3:620/243.71)
SEEN-BY: 633/267 270
@PATH: 620/243 711/808 50/99 635/544 727 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.