[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCT's CGA Screen
I don't understand your post. Please give me QBASIC example that will
show character's pixels.
--
Yours Truly,
Bryan Parkoff
BParkoff@satx.rr.com
"Dosius" <steve@dosius.zzn.com> wrote in message
9307085f.0302190812.5a748f82@posting.google.com">news:9307085f.0302190812.5a748f82@posting.google.com...
> "Bryan Parkoff" <BParkoff@satx.rr.com> wrote in message
news:<L6ednRXjHcc4A8-jXTWQlg@giganews.com>...
> > Thank you for the information, but it does not provide me enough
> > information. After dump video memory into filename, which extension
should
> > be used? Is it .Fnt or .Bmp, or etc? I understand that CGA 8x8 pixel
font
> > contain 8 byte each 80x25 character.
>
> It's a BSAVE file, use any extension. QBasic will default to .bas
> (!). There's about 7 bytes of junk (the load address, etc.) at the
> beginning, followed by the data. In text mode this is two bytes per
> character location (ASCII character, followed by color attribute),
> linear (line 2 comes directly after line 1, etc.). In graphics mode
> this is somewhat like the Apple (and the two modes 320x200x4 and
> 640x200x2 use the same format). I don't know about it.
>
> You can read the character at a certain location with SCREEN(y,x) and
> the pixel at a certain location with POINT(x,y). See the QBasic
> online help for this, if you have it. (Same for GW)
>
> -uso.