The case of the missing s

 BBS: Inland Empire Archive
Date: 11-02-92 (06:37)             Number: 382
From: QUINN TYLER JACKSON          Refer#: NONE
  To: TONY ELLIOTT                  Recvd: NO  
Subj: The case of the missing s      Conf: (2) Quik_Bas
Hello Tony:


I've ported that ASM over to C and BASIC for my pub domain
FONTSCOF, but there seems to be a problem in my port.  It
captures every OTHER scan line of the font.  In other
words, it makes the font look like the Swiss Cheeze of an
old Tom & Jerry cartoon.

It seems that one half (every other byte) of the plane 2 font data is located
at A000 when the VGA card is told to go to plane 2, but the
other half is located somewhere else.  As it stands, the
odd bytes are uniformly zeroes.  I would post the ported
code, but as it is, it only captures half the font, so it
leaves something to be desired.  In essence, though, the
part that captures the data reads:

DEF SEG= &HA000

DIM FontData% (8192)

FOR a= 1 TO 8192
        FontData% (a) = PEEK (a)
NEXT a

This works fine, as I've described.  Where is the other
half of the font?  I suspect maybe either on plane 1, or
perhaps, at the signpost up ahead, in the


Twilight Zone <dah dah dah dah --- dah dah dah dah --- dah dah dah zooop>


:)
Cheers,

Quinn


--- Maximus/2 2.01wb
 * Origin: The Nibble's Roost, Richmond BC Canada 604-244-8009 (1:153/918)
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