Θεόδουλος Λιοντάκης

Δάσκαλος Πληροφορικής ΠΕ86

Στατιστικά

Εμφανίσεις Άρθρων
16996

Video Modes

 

I changed the video specifications in order for the display to fit better on external monitors and add more color. From Basic command MODE 0 or MODE 1 sets the video mode, this is equivalent to OUT 24,0 and OUT 24,1.

 

Mode 0 is character optimized mode, allows more and faster text display

640x240 pixels with font 8x8 gives 80x30 chars.

16 colors but only 2 per char, 45 sprites, 15 color and transparency.

To set color in Tiny basic SCREEN command is used

 

Mode 1 is graphics optimized mode

320x200 pixels 6x8 font, 53x25 chars

16 colors at any pixel, 45 sprites with 15 colors  and transparency.

To set color in Tiny basic two new commands added, FCOLOR n, BCOLOR n set the fore and back color to n (0..15)

All sprites are 16x16 pixels