Skip to content

Module Overview

Jörg Mechnich edited this page May 4, 2016 · 2 revisions

Module Overview

General

All modules in ROM have the following structure:

  • 1 dword: entry point address
  • 1 dword: start address of next program
  • code segment
  • data segment

Entry point / main properties

  • main function of form int main(short code) or int main(short code, ESCB* escb)
  • values for code:
    • 0 register open function in module registry, set module name and set flags (i.e. offset 0x3a)
    • 1 connect module to others? (calls to API_0_0, API_1_0)
    • 3 register open function in ESCB structure

Clone this wiki locally