Skip to main content

BedroomLAN

Tilde~A: Alexios' Homepage

Search form

Primary navigation

  • Home
  • Projects
  • Coding
  • Writing
  • Hardware
  • Research
  • Miscellany
  • Tools and Toys

You are here

Home » Python

Python

Flash Programmer

Submitted by alexios on Tuesday, 2011-11-08 — 01:56
Close-up of the Flash programmer board showing shift registers from 1982.
Schematic of the Flash programmer.
The Flash programmer sitting on top of its A4 schematic. There's spare space on the board for different sockets.

Here's how to build your own fast USB/Serial-based EPROM/EEPROM/Flash programmer you have a spare Atmega microcontroller, FTDI cable or board and a few serial-in/parallel-out shift registers. The article contains schematics and platform-independent software.

Tags: 

  • projects
  • hardware
  • tools
  • rom
  • cft

mcasm — A Microcode Assembler

Submitted by alexios on Tuesday, 2011-10-25 — 00:54

This is a simple microcode assembler (or microassembler). It can be used to generate wide, horizontal microcode ROMs for relatively simple CPU architectures. Using a description of the microcode, it generates one or more ROM, EPROM, EEPROM, Flash et cetera images suitable for inclusing in a software emulator, a hardware device, or for use in a hardware description language such as Verilog or VHDL.

Tags: 

  • projects
  • hardware
  • tools

ROMtools — Create ROM tables with Python

Submitted by alexios on Monday, 2011-10-24 — 17:38

If you're building complex hardware devices like home-designed CPUs, this may come in handy! Prototyping home-designed CPUs isn't an easy task at all. One might say designing one is difficult, but let's assume you've already done that. State machines and function generation can be a nightmare to debug.

Tags: 

  • projects
  • hardware
  • tools
  • roms

Convert TTY encodings with ttyconv

Submitted by alexios on Friday, 2011-04-08 — 14:22

This is a convenient little hack based on GNU iconv. Unlike that utility, which converts files, TTYConv converts interactive sessions, performing two-way conversion and taking care of other issues with interactive sessions.

Tags: 

  • encodings
  • i18n
  • python

Pascal's Triangle in Python

Submitted by alexios on Wednesday, 2011-04-06 — 13:48

You need to generate Pascal's Triangle in Python, and you're lazy (an admirable trait). Alternatively, you're looking for a Pascal's Triangle generator that can show really high-ranking rows, ones with multi-hundred-digit (or multi-million-digit) coefficients.

Tags: 

  • maths
  • python
  • recipes

Pascal's Triangle for LaTeX

Submitted by alexios on Wednesday, 2011-04-06 — 13:32

You need to display Pascal's Triangle in a LaTeX document and whenever you hear ‘ampersand’ or ‘smallskip’, you go into a homicidal rage, leaving behind you a trail of viscera and blood-stained Lion Book pages. Also, you're lazy. Put that chainsaw down, this recipe is for you.

Tags: 

  • latex
  • maths
  • python
  • recipes

Python Bindings for DungeonSpawn

Submitted by alexios on Tuesday, 2011-04-05 — 21:42

This project aims to bring the power of DungeonSpawn to Python. It originally started as a set of bindings for DungeonMaker, but my own needs steered it away from that and prompted various extensions to the original code.

Tags: 

  • AI
  • python
  • roguelikes

ANSI2Img: Convert ANSI to Bitmaps

Submitted by admin on Sunday, 2011-04-03 — 16:42

This small Python program converts ANSI art to raster images. It simulates a PC's text mode using different VGA soft fonts (or EGA, or the CGA ROM font) and renders colourful BBS graphics, affectionately known as ANSI (after the ANSI.SYS MS-DOS driver that rendered them back in the day).

Tags: 

  • bbsing
  • graphics
  • ansi
Subscribe to RSS - Python

Here's What We Have

  • Home
    • Curriculum Vitæ
  • Projects
    • ansi2img: ANSI Rasteriser
    • Acrobase BBS Client
    • DungeonMaker
    • DungeonSpawn
    • Python-Dungeonspawn
    • Extension:Embargo
    • libastar
    • ttyconv
    • evrouter
    • lmctl
    • RSAR
    • Kareltima
    • PalmOS Apps
    • RGA: The Roguelike Graphics Adapter
    • ROMtools
    • evrouter 2
    • mcasm
    • Ένα καλύτερο ελληνικό πληκτρολόγιο για Windows
  • Coding
    • Linux RAID One-Liners
    • APT Archive Cleanup
    • DLT Labels
    • Amanda DLT Tape Label
    • Amanda 8mm Tape Label
    • S2 Moon Phase
    • JavaScript Timeout
    • Duotone
    • Full Frame
    • Photo Frame
    • Renaming MP3s
    • USBTouchScreen Patch
    • Cleaning Up APT Caches
    • Pascal's Triangle in Python
    • Pascal's Triangle for LaTeX
    • Flatten a Directory Structure
    • Too Many Unknown PCI Devices
    • Signature Befunge
    • Soup!
    • Data Recovery... Not
    • Incremental MySQL Maintenance Script
  • Writing
    • Ελληνική Πληκτρολόγηση
    • Η χρήση των δϊαλϋτϊκών
    • Guide to Greek Sexuality
    • How Many Poly People…?
    • 50­— εμ, 15 τρόποι
    • Ε.Α.Π.Κ.
    • Ε.Α.Π.Κ. (LGU Edition)
    • Acrobase BBS FAQ
      • Τι είναι η Acrobase
      • Τεχνικά ζητήματα
      • Περίεργα, παράπονα κλπ
      • Ακροβασιανοί: έργα και ημέρες
      • Προνόμια
      • Διάφορα
      • Ορολογία
    • Oric C Programming
      • Introduction
      • Using the Compiler
      • Simple Data Types and Variables
      • Expressions
      • Operators
        • Arithmetic Operators
        • Conditions, Comparisons and Logic
        • Bitwise Operators
        • The Strange Ones
      • Operator Precedence
      • Statements
        • Special Statements
        • Branching
        • Loops
      • Intermission
      • Functions
      • Iteration vs. Recursion
      • Data Structures
        • Arrays
        • Strings
        • Inner Sanctum
        • Composite Data Structures
        • Enumerated Types
        • Name It!
        • Unions
    • Blood 'n' Iron Rulebook
    • Barcodes και 666
    • Emacs in Greek
  • Hardware
    • Fungus
      • Introduction
      • Design Aims
      • Data Path
      • Programming Model
      • CPU Architecture
      • Instruction Set
      • Instruction Reference
        • Arithmetic/Logic Binary Operations
        • Arithmetic/Logic Unary Operations
        • Literals
        • Memory Input/Output
        • Flow Control
    • Sun Monitors on PCs
    • Sun keyboards on USB
    • The Oric IDE Interface
    • An Unusual Apple II Joystick
    • Flash Programmer
    • The CFT Mini Computer
      • CFT Running on your Browser
      • CFT Poster/Infographic
      • Never Asked Questions
      • CFT Project Log
        • Control Unit rev D routed
        • Emulator Back in Working Order
        • Whoops! Major Revision
        • Major Register Board Routed
        • Front Panel Draft
        • CFT Assembly Examples
        • Front Panel Schematic
        • Front Panel Operations Guide, Rev A
        • Front Panel Controller Board
        • The Switch to SMD
        • A Long-Overdue Update: Kitchen Sink Edition
        • VDU card: the plot thickens
        • Front Panel Revision 4
        • New Clock Generator
        • Completion of Clock Conversion. And an Audio Device!
        • That Damned Debugging Card
        • The Calm Before the Storm?
        • Construction Time (Not Again)
        • First setback
        • Digital Storage Oscilloscope
        • Interesting Realisations
        • Dem VDU Timing Blues
  • Research
    • A Genetic Algorithm Based Information Filter for Usenet
    • Publications
    • A Rough Set Approach to Text Classification
  • Miscellany
    • Acrobase Logo
    • Celtic Knotwork
    • Menasat Font
    • Obscure Greek Political Parties
    • The Oric Logo in Vector Format
  • Tools and Toys
    • Polyamory Graph Explorer
    • ANSI-to-PNG
    • Befunge '93 Playground
    • DLT Label Creator

Photos on Flickr

Row D

Here

  • BedroomLAN Debian Repository
  • Downloads
  • Debian Packages
  • The Oric Software Page
  • My GnuPG public key

Find me on...

  • Google+
  • Flickr
  • Linked In
  • Twitter
  • Diaspora*
  • Stack Exchange

Other Places

  • Civic

Unless otherwise stated, all content on this page is Copyright © 1994–2013 Alexios Chouchoulas. All rights are reserved. Trademarks and copyrights belonging to third parties mentioned above are all acknowledged. Any opinions inadvertently expressed are mine! All mine! Mwahahahahaha!

Όλο το υλικό του ιστοτόπου (sic) είναι πρωτότυπο. Copyright © 1994–2013 Alexios Chouchoulas. Απαγορεύεται η αναδημοσίευση χωρίς την άδεια του συγγραφέα, ο οποίος θα χαρεί να τη δώσει αν κάποιος (επιτέλους) του τη ζητήσει.