Skip to content

programandala-net/tr-dos

Repository files navigation

TR-DOS Disassembled

Description

The goal of this project is to disassemble TR-DOS 5.03, in order to study it and fix some problems found during the development of its support for Solo Forth (Solo Forth in GitHub).

Directories and files

.
├── inc                                    = ZX Spectrum symbols for the disassembler
│   ├── zx_spectrum_char_codes.z80s
│   ├── zx_spectrum_rom_routines.z80s
│   ├── zx_spectrum_system_variables.z80s
│   ├── zx_spectrum_trdos_addresses.z80s
│   └── zx_spectrum_trdos_codes.z80s
├── Makefile
├── README.adoc                            = This file
├── TO-DO.adoc                             = To-Do list
├── tools                                  = programs used by Makefile or during the development
│   ├── make_blocks.c_commands_table.fs
│   ├── make_blocks.rst_20.fs
│   └── tidier.vim                         = VimL program that postprocess the disassembly
├── trdos.blocks.txt                       = Block definitions for the disassembler
├── trdos.raw.z80s                         = Disassembly created by the disassembler
├── trdos.reassembled.rom                  = TR-DOS reassembled from <trdos.z80s>
├── trdos.rom                              = Original ROM of TR-DOS 5.03 to be disassembled
├── trdos.symbols.input.z80s               = Symbols defined for the disassembler
├── trdos.symbols.output.z80s              = Output symbols of the disassembly
└── trdos.z80s                             = Final disassembly, postprocessed by <tools/tidier.vim>

Requirements

In order to disassemble the ROM, the following programs must be installed:

  • z80dasm, by Tomaž Šolc.

  • Vim, by Bram Moolenaar

The following programs are needed to reassemble the disassembly, what is optional:

  • Pasmo, by Julián Albo

  • diffutils, by Paul Eggert, Mike Haertel, David Hayes, Richard Stallman, and Len Tower.

How to disassemble

  1. Make sure the required programs are installed.

  2. Enter the project directory and give the make command.

  3. If you want to assemble the disassembly and check that the result is identical to the original ROM, give the make back command.

Bibliography

Documentation used for this project, listed in order of publication:

Websites that were used:

History

The project started on 2016-08-14.

Releases

No releases published

Packages

No packages published