Coder Social home page Coder Social logo

hagl_pico_vgaboard's People

Contributors

chips44 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

djamal-uk

hagl_pico_vgaboard's Issues

Make 48K 1024x768 based modes work

All these modes share the same 48K (49152 bytes) of memory for framebuffer:

  • 1024x384x2 (1bpp)
  • 512x384x4 (2bpp)
  • 512x192x16 (4bpp)
  • 256x192x256 (8bpp)

"Weird" modes:

  • 512x768x2 (1bpp)
  • 256x384x16 (4bpp)

Use the VGA board A, B & C buttons

Short:

  • A go to next demo
  • B go to next palette
  • C change letterbox borders randomly

Medium:

  • A go to first demo
  • B go to first palette
  • C change letterbox borders to black

NB: no use of Repeat feature for now!

Add a 16 colors text mode over framebuffer, with NUL being transparent

NUL chars in the text buffer should not be rendered at all, others will render with background and foreground colors instead of framebuffer content, without transparency.

Palette can be different from the framebuffer's one.

This does not need to use multiplane capability of scanvideo, unless it is easier or faster than "naive" rendering.

Text "cells" could be 2 to 4 bytes:

  • 8 bits for char to display
  • 4 or 8 bits for background color
  • 4 or 8 bits for foreground color
  • 4 or 8 bits for font (index) to use

Text mode could have these attributes:

  • (array of) font to use (TODO, only 8x8?)
  • lines as framebuffer pixel width / font width (or just 8?)
  • columns as framebuffer pixel height / font height (or just 8?)
  • cursor:
    • shape: horizontal line or block (and/or reverse block and/or vertical line?),
    • animation: off, fixed, flashing slowly or flashing quickly,
    • current line,
    • current column

This could be the base for a "dumb" terminal understanding a subset of ANSI/VT100 sequences.

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.