TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Stefan van der Walt
from: Alex Seleznyov
date: 1996-04-03 17:17:22
subject: DMA

Hello Stefan!

Thursday March 28 1996 14:18, Stefan van der Walt wrote to All:

 SW> How do you write directly to the memory in virtual pascal?

 SW> I want to do something like this:
 SW>   Blockread(infile,ansi,4000) or whatever and then
 SW>   Move(ansi,mem[$b800:000],4000);

                    ^^^^^^^^^^^ Virtual Pascal uses _FLAT_ memory models so its
*mem* has only one parameter (an offset) instead of two in Borland Pascal.

 SW> Any help?

  Hope I helped you.

P.S. And I'm afraid you cannot use DOS' segments in OS/2. So you'd better show
your ANSI file using standart functions of showing characters and changing its
attributes. But this is only MHO ;-).

Alex

--- GoldED/2 2.50+
* Origin: Digital Ghost point (2:50/325.69)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 50/325 5020/441 509 35 400 464/200 31 72 34 5100/8 396/1 270/101
@PATH: 712/515 711/808 809 934

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™.