Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 4.99 KB

CONTRIBUTING.md

File metadata and controls

104 lines (74 loc) · 4.99 KB

Contributing To The Effort

Contributions welcome! Preliminaries:

Sub-Projects

Desk Accessories

These are pretty easy to write. See the bug tracker (links below) for examples, but anything is welcome. Look at existing DA code for examples, and see the API and MGTK docs for more details.

Bug Fixes & Enhancements

Issues marked Good First Bug might be good starter projects to learn about the code. New Desk Accessories in particular should be easy to start with.

Localization

MouseDesk originally shipped in French, English, German, Italian. The project has been structured to allow localization into additional languages. Since then, support for Spanish, Portuguese, Swedish, Danish and Dutch have been added. The work involved for most contributions is just to add an additional column to a spreadsheet which contains translations for each string.

DeskTop Localization Spreadsheet

If you want to contribute a localization, please contact a project maintainer.

Disassembly

NOTE: This section is historical. The bulk of the disassembly is complete, with only some procedures that have not been fully analyzed and commented.

Pure disassembly changes take place in the disasm branch, which builds identically to the original. The main branch is based on disasm.

NOTE: As time has gone on, much of the remaining disassembly has been done in main and the disasm branch abandoned.

Disassembly efforts include:

  1. DeskTop itself
    • The core bits of DeskTop
    • The various overlays
    • The DiskCopy overlay (basically a stand-alone app)
  2. Selector
  3. DeskTop.system launcher

DeskTop Disassembly Burn-Down

To feel confident about making additions and fixes to DeskTop, we need to make sure we're not breaking things. That can be done in some cases by relying on API boundaries, such as between MGTK and the DeskTop application. But DeskTop itself is a big, monolithic application with multiple overlays, so we need to understand nearly all of it before we can start moving code around.

NOTE: As noted above, this is no longer a concern.

The bin/stats.pl tool provides is a quick and dirty analysis of the progress in turning raw da65 output into something we can confidently modify. Here's a snapshot of the output for some files that could use attention:


desktop/main.s                 unscoped:  0  scoped:  7  raw: 13
desktop/ovl_selector_pick.s    unscoped: 12  scoped:  0  raw: 0
lib/formatdiskii.s             unscoped: 43  scoped: 15  raw: 0
mgtk/mgtk.s                    unscoped:  0  scoped: 10  raw: 7
selector/ovl_file_copy.s       unscoped:  0  scoped: 12  raw: 0

  • unscoped counts the number of auto-generated labels like L1234 produced by da65 which are not in two nested scopes. A scope is used for the overall structure of a module, and a nested scope is used for procedures. This counts labels which are not in either, and thus may have some affinity for a particular address and therefore can't be safely moved.

  • scoped counts the number of auto-generated labels like L1234 produced by da65 which are inside two nested scopes. Once a label is local to a procedure it is generally safe to move, although actually understanding the purpose and giving it a more meaningful label is even better.

  • raw counts the number of 16-bit addresses ($1234) in the code; these usually refer to routines, resources, or occasionally buffer locations that need to be understood and replaced with labels.