GithubHelp home page GithubHelp logo

furrtek / hanoverflipdot Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 0.0 182 KB

Analysis of a Hanover Displays flip-dot display firmware

License: The Unlicense

Assembly 98.89% Python 1.11%
6502 assembly flipdots display embedded disassembly reverse-engineering hanover firmware pixel control-board

hanoverflipdot's Introduction

HanoverFlipDot

Firmware disassembly of a Hanover Displays 84x7 flip-dot display

This display (unknown model code) doesn't use the pixel-by-pixel protocol described in other places. This one is greatly simplified and only allows to use a limited set of ASCII characters.

Drawing custom graphics would require a fontset hack: Flip dot dick display

Protocol

RS-485 4800bps TX only, 8 data bits, odd parity, 1 stop bit.

The serial frame must start with two bytes: 0xFF, 0x41. The character count follows, then the ASCII characters with no termination (codes 0x20 to 0x5D are valid), and finally a checksum made of all the previous bytes except $FF XORed together.

For example, to write "ABCD", send:

0xFF 0x41 0x04 0x41 0x42 0x43 0x44 0x41

See comm.py for a simple helper.

Fonts

The display automatically centers the text and chooses the largest font for a given message. If the message doesn't fit even in the smallest font, it is ignored and the display is cleared.

Big font Medium font Small font

The fonts aren't monospaced :)

Control board

My board has a rotary code wheel with 16 positions to address multiple displays on the same bus. It is completely ignored by this firmware.

The control board uses a Rockwell 6511Q, which is a 6502-based CPU with additionnal instructions and a few mcu-like peripherals.

Memory map:

  • $0000~$001F: Peripherals registers
  • $0040~$00FF: Internal RAM
  • $2000~$2200: External RAM
  • $E000~$FFFF: Program code

As with the original 6502, the reset vector is located at $FFFC, the IRQ vector at $FFFE.

See disasm.asm for the RAM map.

hanoverflipdot's People

Contributors

furrtek avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

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.