Skip to content

Latest commit

 

History

History
120 lines (95 loc) · 3.04 KB

File metadata and controls

120 lines (95 loc) · 3.04 KB

String inventory

Every readable string in /cdi_origami, from python tools/cdistrings.py. A 68000 image produces a great deal of accidental ASCII — N]NuNU is UNLK A5 / RTS / LINK A5 and appears hundreds of times — so the filter keeps only runs containing a word of four or more letters with a vowel.

Grouped by what they are rather than by offset.

Module names and the linker

000048  origami          followed by "-F", the linker option string
002acf  cdi_bpsys
002ade  cdi_vsync
002ae8  cdi_vsync_trap
00023b  math             the OS-9 maths library
00ad70  line_event

Runtime errors

0001f3  **** Stack Overflow ****
00020e  **** Can't install trap handler ****
004578  E_bp_allocate(): not enough memory for "%s"

Only three, and all three come from the runtime rather than from the application. Origami has no error messages of its own.

The image subsystem

Allocation tags. Three picture types are supported; only DYUV and CLUT are used by any file on the disc.

002af7  ClutData
002b00  AnimData
002b09  mymem
002b0f  Dyuv Pic Descr.
002b1f  Clut Pic Descr.
002b2f  RunL Pic Descr.
002b3f  image memory
002b4c  Dyuv line ptr table
002b60  Clut line ptr table
002b74  RunL line ptr table

The debug plane dumper

Left in the retail binary. See docs/08-leftovers.md.

002b88  PLANE_A
002b90  PLANE_B
002b98  \r\rPlane = %s\r\r
002ba7  \rLine %d\r
002bb1  %2X  %2X %2X %2X\r
002bc3  \r\r--------------\r\r
006b0a  Block at %x, Size of %d, Status:
00df23  0123456789abcdef

Path construction

The three /MISC files are literals; every model path is assembled at run time from a directory name, the model name and the pieces below.

002bd6  /MISC/origami_pictures.rtf
004a64  /MISC/credits.rtf
005172  /MISC/explain.rtf
002bf1  BASIS
002bf7  IEDEREEN
002c00  DOEMEER
002c08  FELICI
002c0f  SwapA
002c15  SwapB
002c1a  /
002c1c  /
002c1f  .rtf

The model table

37 NUL-terminated names at 0x4762, in menu order, splitting 11 / 11 / 8 / 7 across BASIS, IEDEREEN, DOEMEER and FELICI. Every one resolves to a file and every file is named here.

004762  sterbloem     004770  poppetje      004779  bergen
004780  dolly         004786  pup           00478a  boom
00478f  kasteel       004797  toren         00479d  boerderij
0047a7  dubhuis       0047af  onderztr

0047b8  pinguin       0047c0  hartje        0047c7  doosjemd
0047d0  paard         0047d6  hoed          0047db  hond
0047e0  servetring    0047eb  ster          0047f0  hemdje
0047f7  kerstman      004800  samoerai

004809  rammelaar     004813  model2        00481a  bal
00481e  versiering    004829  kaart         00482f  model3
004836  laars         00483c  baby

004841  beer          004846  clown         00484c  houder
004853  kerstster     00485d  abloem        004864  pauw
004869  huis

The base library's author list

Inside cdi_bpsys, at module offset 0x48, before any code. Not the credits of this disc.

012c6c  M.Armendariz,L.Barnes,W.Hunt,J.Kesselman,S.McClellan,R.Moore,T.Nutt,J.Piesing,J.Rotter