← All spotlightsPrograms / Features

Spotlight › Sheet and Chart

Sheet and Chart

Sparse workbooks, formulas and period-format interchange, with shared chart rendering.

Sheet
Sheet running on os8088. A small budget: Item and Cost columns holding Bread 3.5, Cheese 7.25 and Cider 12, then a Total row reading 22.75 and an Average row reading 7.583333333. Above the grid is a reference box reading B1 and a formula bar reading Cost; below it a status line reading Ready.
Sheet workbook.
Worksheet dimensions
256 x 16,384
Functions
25
Chart types
7

01 / Workbook model

Workbook model

The captured Sheet build provides four sparse worksheets, formulas, formatting, row-based sorting, fill operations and a limited macro language. Its UI target is Excel 2.1. The logical grid dimensions are not a promise that all cells fit in memory.

The implementation records supported functions and commands; unsupported Excel features are not implied by the familiar menus.

02 / Numeric paths

Numeric paths

Sheet uses a software numeric implementation, with an optional detected 8087 path. Both are checked against the same test cases. Formula evaluation reports errors and detects cyclic references.

The arithmetic contract belongs to the implementation; an 8086 can support software floating-point without an 8087. Examples in the demo are test cases, not an independent precision guarantee.

Sheet
Sheet with the Data menu pulled down, showing four commands: Sort, Chart Column, Chart Gallery, and Export Chart as BMP. Three cells in column B are selected behind the menu.
Data-menu operations.

03 / Shared chart renderer

Shared chart renderer

Sheet's chart window and the separate CHART package use the same drawing engine. Chart renders into a private pixel buffer so export uses the same composed image as the display. The standalone package can read spreadsheet data without keeping Sheet open.

Chart
A Chart window open over the Sheet window, drawing five blue bars of different heights labelled Column B, with a scale from 0 to 22.75 down the left-hand side.
Chart generated from a selected range.

04 / SYLK, DIF and BIFF

SYLK, DIF and BIFF

The readers and writers implement documented subsets of SYLK, DIF and BIFF. Formula round-tripping is supported where the format and implemented record set allow it; DIF exports values. Workbook support depends on the BIFF variant, not merely the file extension.

Use the project's format tests and the OpenOffice BIFF format reference to distinguish a supported record from full Excel compatibility. File associations use .SLK, .DIF and .BIF.

05 / Run Sheet and Chart

Run Sheet and Chart

Launch SHEET.O88 from APPS. Select a numeric range and choose the chart command in Data; use CHART.O88 for standalone files. Preserve a source copy when testing round trips between different spreadsheet implementations.

qemu-system-i386 -drive file=os8088.img,format=raw,if=floppy -boot a \
  -drive file=apps.img,format=raw,if=floppy,index=1 \
  -chardev msmouse,id=m0 -serial chardev:m0