Giter VIP home page Giter VIP logo

waitvid.2048's People

Contributors

konimaru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

waitvid.2048's Issues

Duplicate foreground pixel, instead of background, in ninth column, so line drawing characters connect

I am using your POC 80x25 RAM 720x400 driver code, I have added the code page 437 'extended ascii' characters to the font. But because the ninth column is always the background, the line or box drawing characters don't connect on the left and right. I believe the IBM monochrome text display adaptor had a nine column character set, and duplicated the last column of every character in the font, that is how they got a nine column cell, with an eight column font. Would it be possible to do this with your code ?

I've tried Marco Maccaferri's 640x400 resolution patches, which solve the problem of the connecting characters by making the displayed character cell 8x16 instead of 9x16, but the timings don't work well on all monitors I've tried, especially the one I am using now, so I'm looking for another way.

In your code, what causes the ninth column to be taken from the background ?

Thank you, your advice here is most appreciated.

sync code for 50x18 driver

Write some code which allows an external cog to display stuff together with the actual driver. This boils down to WHOP synchronization.

Important parameters:

  • driver cog ID
  • driver frame indicator
  • external cog ID

POC/40x32 RAM extension

Adresszuordnung im IRM (Grafik und Video-RAM)
Mit Hilfe der folgenden Formeln kann man die Speicherzellen, die die Informationen zur Darstellung eines beliebigen Bildpunktes enthalten, ermitteln.
Die Bildinformationen sind im IRM nach folgendem Prinzip abgelegt:
Je 8 horizontal nebeneinander liegende Bildpunkte sind im Pixel-RAM als 1 Byte abgespeichert.
Dieses Byte enthält nur die Vordergrund-Hintergrundinformation der Bildpunkte.
Die Farbinformation ist für jeweils 1 Reihe von 8 Bildpunkten zu einem Byte im COLOR-RAM zusammen gefaßt.
Dieses Byte legt also für 8 Bildpunkte eine Vorder- und eine Hintergrundfarbe fest.
Um das Farb- und das Pixelbyte eines Bildpunktes zu bestimmen, werden die Pixelzeilennummer und die Zeichenspaltennummer, in der sich der Punkt
befindet, hexadezimal verwendet.
Mit der folgenden Formel kann man die Pixel-Byte-Adresse (hRAM) errechnen:
Adresse = 0H + Zeichenspalte * 100H + Pixelzeile
0 =< Zeichenspalte =< 27H
0 =< Pixelzeile =< 0FFH
Mit der folgenden Formel kann man die Farb-Byte-Adresse (hRAM) errechnen:
Adresse = 4000H + Zeichenspalte * 100H + Pixelzeile
0 =< Zeichenspalte =< 27H
0 =< Pixelzeile =< 0FFH
bildschirmfoto-4

review cursor thickness for 80x25 RAM NINE

One question, though, now at 480 pixels, I think I'd like to try the
underline cursor at two lines high. The original IBM PC cursor was two
pixels high, I believe. I'll bet that's pretty easy, there may be a
define somewhere. Is that possible ?

POC 80x25 RAM patch for 640x400 resolution

The attached patch allows to run the POC 80x25 RAM driver at a resolution of 640x400@70Hz instead of the current 720x400. With the 8x16 font it looks a bit better, especially if you use the full VGA font, since it doesn't have the 9th background pixel. 640x400 should also be the MS-DOS boot resolution mode.

I'm not sure if this resolution the two cogs are still necessary, or if there is some issue with the timings, it looks good on my monitor but I also have learned that it is very forgiving, so a review is very welcome.

poc-80x25-ram-640x400-driver.patch.txt

sync demo for 50x18 ROM driver introduces (harmless) glitch

The adjustment value (vscl) for the video generator (to get driver and overlay in sync) is currently being latched with an undefined colour (on the way to vertical sync). Inserting a waitvid zero, #0 after its initialisation - as planned - will make me feel better.

extend driver to work with 256 characters

The current limit being 128, this requires an update to the actual font file (128-255 either upside down or inverted) and two minor changes to the driver itself (pixel loader).

POC/320x256.4 full colour update (6bit/8bit colour)

                mov     zwei, scrn              ' vgrp:[!Z]:vpin:[!Z]:scrn = 2:1:8:5:16 (%%)
                shr     zwei, #5+16 wz          ' |
        if_z    mov     zwei, vcfg_norm         ' |
        if_nz   movs    vcfg_norm, zwei         ' | replace pins
                shr     zwei, #9                ' |
        if_nz   movd    vcfg_norm, zwei         ' | replace group

                mov     mask, vcfg_norm         ' |
                and     mask, #%%333_3          ' transfer vpin
                shl     zwei, #3                ' 0..3 >> 0..24
                shl     mask, zwei              ' RGB mask

                mov     zwei, attr              ' sgrp:[!Z]:----:[!Z]:scrn = 2:1:8:5:16
                shr     zwei, #5+16 wz          ' |
        if_z    mov     zwei, vcfg_sync         ' |
'{fix}  if_nz   movs    vcfg_sync, zwei         ' | %%000_3
                shr     zwei, #9                ' |
        if_nz   movd    vcfg_sync, zwei         ' | replace group

                mov     eins, vcfg_sync         ' |                                     (%%)
                and     eins, #%%000_3          ' transfer vpin
                shl     zwei, #3                ' 0..3 >> 0..24
                shl     eins, zwei              ' H/V mask

                or      mask, eins              ' finalise mask

development: 80x25 RAM C0DF

In normal use, an MDA produces an 80x25 text screen. ... Although the characters are 9 pixels wide, the bitmaps in the ROM are only 8 pixels. For characters C0h-DFh, the ninth pixel column is a duplicate of the eighth; for others, it's blank.

This will be based on model NINE, IOW

  • external palette (256 entries)
  • blink mode (flag in palette entry)

The font will be 8x16. Display behaviour as stated above:

  • characters $C0..$DF have their column 8 duplicated
  • other characters will display background colour in column 9

footprint (F/P): 4K/0K5, (NINE: 5K/0K5)

This driver definitely needs sync-isolation.

Request: Video drivers with sprite support

I would love to see some video drivers with sprite support.
I haven't written VGA drivers for the propeller so I don't know how challenging this would be. But here is what I personally would love to have:

High End

  • 320x240 resolution
  • 40x32 chars

Low End

-256x192 resolution
-32x24 chars

Common

  • Each char has dedicated background and foreground color from palette of 64 colors
  • 8x8 RAM font

Sprites

  • 8x8 resolution
  • 16x16 resolution (can choose)
  • At least 8 per scanline
  • Single color OK...multi color would be great

If I were to start this driver myself, what would be the best driver in this project to use as a template?

Thanks!

Reactivate blink mode for 80x25 RAM NINE

This had been kicked out during (re)development. In order to keep our 256 palette entries a flag could be stored in the palette entry itself (rather than sacrificing a bit of the index).

New driver for specific device

Thank you for such a great little video driver!

It's working great, but I was wondering if I could request a specific resolution.

800x480 @ 60
100X60 character and/or 50X30 character

This is for a rc2014 vt100 being used with with a 7" 800x480 ebay special Pi monitor.

Thank you!

Edited character counts because I can't do math

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.