1001Ferramentas
๐Ÿ–ฅ๏ธ Calculators

TRS-80 Model I Charset Calculator

Computes the 5x7 bytes of each TRS-80 Model I character given its ASCII code presenting the 7 bytes forming the character rows.

โ€”

TRS-80 Model I charset: 6ร—12 character cells on a 64ร—16 grid

The Tandy/Radio Shack TRS-80 Model I (1977) ran a Z80 at 1.77 MHz with 4โ€“16 KB of RAM, and drove its monitor as a 64ร—16 character grid. Each character sat in a 6ร—12 pixel cell, which works out to an effective 384ร—192 mosaic block resolution for "graphics" once you bring in the upper-128 block-graphic characters. The visible ASCII range (32โ€“127), along with 64 chunky graphics chars (128โ€“191), lived in mask ROM. Later boards added a CG-RAM (Character Generator RAM) mod that let you redefine glyphs. Every glyph took 8 bytes (stock ROM used the top 8 of 12 rows), 1 bit per pixel, MSB-left. Example: 'A' (65) โ†’ rows like 001100, 010010, 100001, 111111, 100001โ€ฆ.

Applications

Retrocomputing hobbyists and vintage-computer collectors, museum tech exhibits, teaching TRS-80 BASIC, patching custom characters into ROM, emulator work (trs80gp, sdltrs), and recreating the look of late-1970s home computing for documentaries and software preservation projects.

FAQ

Why 6ร—12 and not 8ร—8? Tandy's designers laid a 64ร—16 grid over a 384ร—192 visible area, and dividing one by the other gives 6ร—12 cells. The narrower 6 px width packs more text per line on the cheap NTSC monitors of the day.

What's a block graphic? Each of characters 128โ€“191 splits into 2ร—3 chunky pixels (6 mini-cells), so BASIC's SET/RESET commands could plot a 128ร—48 pseudo-graphics canvas with no bitmap hardware at all.

Can I redefine characters? Not on a stock Model I, since the charset sits in mask ROM. The Model III and later CG-RAM mods (Programma 80, custom EPROM boards) do let you.

Why does the display flicker? The Model I's video circuit shares the RAM bus with the CPU, so writing to video RAM during the visible scanline throws up that "snow" or flicker. The usual fix is to wait for vertical blank before writing.

Related Tools

๐Ÿฆ

Vasicek Bond Price

Computes the price of a zero-coupon bond with the Vasicek model, the first short-rate interest-rate model with mean reversion. It describes the short rate oscillating around a long-run mean and yields a closed form for the bond price from four parameters: reversion speed, mean, volatility and current rate. Despite allowing negative rates, it's the foundation of the whole family of term-structure models. Enter the parameters and the maturity, and see the price and implied yield.

๐Ÿ—‘๏ธ

Landfill Methane Flow (Scholl Canyon)

Computes the methane flow generated by one batch of landfilled waste using the Scholl Canyon first-order decay model, Q = k ร— Lโ‚€ ร— M ร— e^(โˆ’kร—t), where M is the mass of that batch, Lโ‚€ is the total methane potential per tonne, k is the annual decay constant and t is the age of the batch. The model assumes generation peaks right after placement and falls exponentially from then on, with k between 0.04 and 0.09 per year in wet climates and Lโ‚€ typically 50 to 170 mยณ of methane per tonne of wet waste, 170 being the LandGEM default. Since the model is linear in mass, a real landfill is summed batch by batch, each with its own age. Enter the decay constant, the methane potential, the waste mass and the age of the batch.

๐ŸŽ

Apple II Hi Res Resolution Calculator

Computes pixels and bytes occupied by Apple II hi res 280x192 screen with 6 active bits per byte and color bytes per line.

๐Ÿ“

Shrinkage Allowance

Calculate the pattern (mold) dimension accounting for solidification shrinkage, dimension = part dimension ร— (1 + shrinkage รท 100), from the desired final part dimension and the metal's linear shrinkage coefficient (%). The result is the larger dimension the pattern must have so that, upon solidifying and cooling, the part shrinks to the correct size. Each metal has its linear solidification shrinkage: steel ~2%, gray cast iron ~1%, aluminum ~1.3%, bronze ~1.5%. Patternmakers use shrink rules ('contraction rules') already scaled up. Ignoring shrinkage results in undersized parts. Enter the part dimension and the shrinkage coefficient.

๐Ÿ“‰

Greenshields Speed

Calculate the speed of a traffic stream by the linear Greenshields model, v = v_fยท(1 โˆ’ k รท k_j), from the free-flow speed v_f, the current density k and the jam density k_j (vehicles/km). The result, in the unit of v_f, shows speed falls linearly with density: on an empty road (k = 0), vehicles travel at free-flow speed; as density rises, speed decreases, reaching zero at total jam (k = k_j). It is the most classic macroscopic traffic flow model, the basis of the parabolic flow-density relationship. Enter the free-flow speed, the current density and the jam density.

โŒš

Rolex Submariner Price by Model and Age

Estimates the approximate price of a Rolex Submariner from model and years of use.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.