User Tools

Site Tools


wswan:guide:porting_wwitch

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
wswan:guide:porting_wwitch [2024/03/16 20:44] asiewswan:guide:porting_wwitch [2024/03/17 07:21] (current) asie
Line 22: Line 22:
   * A Freya application uses on-cartridge SRAM as static data space. This is not currently available on Wonderful - however, WonderSwan Color    * A Freya application uses on-cartridge SRAM as static data space. This is not currently available on Wonderful - however, WonderSwan Color 
     * gcc-ia16 requires a ''__far'' modifier for all constant arrays to be stored in ROM. See [[wswan:guide:memory_management#addressing_ram_and_rom|Addressing RAM and ROM]] for more information.     * gcc-ia16 requires a ''__far'' modifier for all constant arrays to be stored in ROM. See [[wswan:guide:memory_management#addressing_ram_and_rom|Addressing RAM and ROM]] for more information.
-  * The Text API operates on Shift-JIS strings. To make gcc-ia16 use Shift-JIS strings instead of UTF-8 strings, pass ''-fexec-charset=shift-jis''.+  * The Text API operates on Shift-JIS strings. To make gcc-ia16 use Shift-JIS strings instead of UTF-8 strings, pass ''-fexec-charset=shift-jis'' to the compiler.
  
 ===== Implementation status ===== ===== Implementation status =====
Line 28: Line 28:
 //The implementation is incomplete; you can help by [[https://github.com/WonderfulToolchain/target-wswan-syslibs/tree/main/libwwcl|expanding it]].//  //The implementation is incomplete; you can help by [[https://github.com/WonderfulToolchain/target-wswan-syslibs/tree/main/libwwcl|expanding it]].// 
  
-  * The following headers should be fully implemented: 
-    * Display (''disp.h'') 
-    * Color (''libwwc.h'') 
-    * Sound (''sound.h'') 
   * Bank (''bank.h'') is not implemented.   * Bank (''bank.h'') is not implemented.
-  * Comm (''comm.h''implements everything except ''comm_xmodem''+  * Color (''libwwc.h'') is mostly implemented. 
-  * Key (''key.h'') is missing key repeat support. +  * Comm (''comm.h''is mostly implemented (''comm_xmodem'' missing). 
-  * Text (''text.h'') is missing cursor support, and possibly other features+  * Display (''disp.h'') is fully implemented
-  * Timer (''timer.h'') is missing RTC (real time clocksupport+  * Key (''key.h'') is partially implemented (key repeat support missing)
-  * The implementation of System (''system.h'') is very limitedHowever, many of its functions are not useful when not running on top of Freya.+  * Sound (''sound.h'') is mostly implemented
 +  * System (''system.h'') is partially implemented (a lot of its functionality is only useful inside a FreyaOS environment, however). 
 +  * Text (''text.h'') is partially implemented (cursor support missing). 
 +  * Timer (''timer.h'') is partially implemented (real time clock support missing).
wswan/guide/porting_wwitch.1710621872.txt.gz · Last modified: 2024/03/16 20:44 by asie