🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7846

Re: Writing to screen, no cursor movement

#7846
From: Yuval Koren
Date: Sat, 07 Oct 1995 21:44
18 lines
876 bytes
all you should do is write directly to the screen buffer starting from 
adress b800:0000 .
if you are programming in pascal that will really help you :

var
  screen : array [1..25,1..80,1..2] of char absolute $b800:0000;

now all you have to do if you want to put a character is :

screen[y,x,1]:=' ';       <-- character goes into the ' '.

the last variable is to decide if you want to put there color or a char.
(i thing 1 is for char, if not try 2)

this is the fastest way!

Yuval Koren 
shani@yuvalk.co.il
Technical Details
Message-ID: <DG3Lqo.FC@actcom.co.il>
Path: arc1-ca.pugleaf.net!news.kei.com!wang!news
References: <44rvl0$3pq@news1.wolfe.net>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.lang.c,comp.lang.c++
Path: arc1-ca.pugleaf.net!news.kei.com!wang!news
From: yuvalk@shani.net (Yuval Koren)
Subject: Re: Writing to screen, no cursor movement
Organization: none
Date: Sat, 7 Oct 1995 21:44:47 GMT
Message-ID: <DG3Lqo.FC@actcom.co.il>
References: <44rvl0$3pq@news1.wolfe.net>
Sender: news@wang.com