public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: ib@wupperonline.de (Ingo Brueckl)
To: Bart Oldeman <bartoldeman@users.sourceforge.net>
Cc: linux-msdos@vger.kernel.org
Subject: Which function handles copying into the video ram?
Date: Sun, 31 May 2009 08:53:00 +0200	[thread overview]
Message-ID: <4a222805@wupperonline.de> (raw)
In-Reply-To: <c3d607cc0905291247y297504f5g3c0c93a7d2b63bb2@mail.gmail.com>

Bart Oldeman writes:

 > But DOS programs just write into the video ram directly, there is no
 > DOSEMU routine involved there, it's just a chunk of memory that DOSEMU
 > reads at intervals to update the screen.

I see. Now I understand why I couldn't find a routine to hook in.

 > Perhaps you are looking for
 > src/env/video/text.c
 > static void draw_string(int x, int y, char *text, int len, Bit8u attr)

This is exactly what I was looking for!

Thank you so very much for your kind help.

I could now make the desired screen output manipulation making my old dos
editor to run with dosemu under Linux as if it were written for Linux.

Again, thanks a lot.

Ingo

  reply	other threads:[~2009-05-31  6:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 21:12 Which function handles copying into the video ram? Ingo Brueckl
2009-05-29 19:47 ` Bart Oldeman
2009-05-31  6:53   ` Ingo Brueckl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-29  5:57 Ingo Brueckl
2009-05-28 14:47 Manfred Scherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a222805@wupperonline.de \
    --to=ib@wupperonline.de \
    --cc=bartoldeman@users.sourceforge.net \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox