movbytes 1/2

 BBS: Inland Empire Archive
Date: 06-24-92 (15:53)             Number: 1300
From: MARK BUTLER                  Refer#: NONE
  To: BRYAN HOOVER                  Recvd: NO  
Subj: movbytes     1/2               Conf: (2) Quik_Bas
 On 06-22-92 BRYAN HOOVER wrote to MARK BUTLER...

 MB> Awhile ago I sent you a linkable routine (movbytes.obj) that would
 MB> copy 80x25 screens to arrays rather than another video page --
 MB> didn't it work for you?

 BH> Sure you didn't send that to Mike Melamed?

 Coulda swore I sent you a copy to but I could be wrong (sure wouldn't
 be the first time).

 BH> ......unfortunately, I have to stick with BACIC code for this
 BH> particular program. It's for work and my supervisor wants it that
 BH> way.  That is, I am assuming the .OBJ is in asm.

 It's actually a small QB linkable C routine compiled under QuickC v2.

 BH> On the other hand, if you *did* send it to me, perhaps I did not
 BH> get it because I have yet to register my newly obtained Silver
 BH> Express Reader. The reader may not support file reception
 BH> without a registration code. I am going to register it asap.

 Why not use 'Offline'? All you'll need to register is a great
 big smile for using one of the slickest offline readers around -
 because it's free :-)

 BH> As it stands, I'm using the SCREEN function to copy into an array,
 BH> the screen protion that a menu will overwrite.  This works OK, but it
 BH> is slow. I've tried using SCREEN to return the screen coordinate
 BH> color, but when it encounters a screen portion containing a
 BH> background color and a foreground color, it returns something unusual
 BH> (to me anyway) like 112.  112 was returned for COLOR 0, 7.  Do you
 BH> know why?

 Yep, because 112 *is* the atrribute for COLOR 0, 7. There's a formula
 for converting the attribute back into values for fore% and back% but
 off the top of my head I can't remember it. Someone here will know it
 I'm sure and will probably post it before I get around to digging
 out the info. I'll see if I can look it up though.

 The next message will be a 'bin2qb' file of the demo I sent to Mike
 (self reconstructing arj-file) so... stay tuned and hit that enter
 key now! :-)


 -------------> MHB :-)

... OFFLINE 1.39 * Dogma is the enemy of truth.
...........................................................................


--- WM v2.03/91-0012
 * Origin: Com-Dat BBS  Hillsboro, OR.  HST (503) 681-0543 (1:105/314)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET