User Tools

Site Tools


notes:wonderswan:wonderwitch_faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:wonderswan:wonderwitch_faq [2024/12/03 23:12] asienotes:wonderswan:wonderwitch_faq [2024/12/08 11:09] (current) asie
Line 38: Line 38:
  
 ===== Developers ===== ===== Developers =====
 +
 +==== What programming languages are supported by WonderWitch? ====
 +
 +Officially, assembly and C are supported for direct compliation; however, the community has enabled the use of other programming languages, like (old) C++ for direct compilation (via Turbo C++) or BASIC for interpretation (via WonBe).
  
 ==== Which compilers can be used with WonderWitch? ==== ==== Which compilers can be used with WonderWitch? ====
Line 58: Line 62:
 ==== Can any 8086 compiler be used with WonderWitch? ==== ==== Can any 8086 compiler be used with WonderWitch? ====
  
-No. To support the WonderWitch architecture, a compiler must support the **small** memory model with **DS != SS** (data and stack segment differ). This is not a very common combination, as typically DOS applications used the same segment for near data and stack contents. It may also be possible, in some cases, to adapt **compact** memory model compilers.+No. To support the WonderWitch architecture, a compiler must
 + 
 +  - not assume that **DS == SS** (under Freya, the data and stack segments are placed in different locations - data in SRAM, stack in IRAM). This is not a very common combination, as typically DOS applications used the same segment for near data and stack contents
 +  - support arbitrary **CS** (code segment) locations without relying on relocation - this, in practice, usually prohibits use of far code memory models. 
 + 
 +The typical memory model used for WonderWitch software is **small** with the **DS != SS** assumption. It may also be possible, in some cases, to adapt **compact** memory model compilers.
notes/wonderswan/wonderwitch_faq.1733267563.txt.gz · Last modified: 2024/12/03 23:12 by asie