User Tools

Site Tools


wswan:guide:memory_management

Differences

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

Link to this comparison view

Next revision
Previous revision
wswan:guide:memory_management [2024/02/17 10:43] – created asiewswan:guide:memory_management [2024/12/27 19:43] (current) asie
Line 50: Line 50:
  
 * internal console RAM (''.iram''), * internal console RAM (''.iram''),
-* without zeroing the content on startup (''x''), +  * without zeroing the content on startup (''x''), 
-* with constraints expected of 2BPP tile data - the memory area ''0x2000'' - ''0x5FFF'', aligned to a multiple of 16 bytes (''2bpp''), +  * with constraints expected of 2BPP tile data - the memory area ''0x2000'' - ''0x5FFF'', aligned to a multiple of 16 bytes (''2bpp''), 
-* at location 0x2000 in memory (''2000'').+  * at location 0x2000 in memory (''2000'').
  
 The following prefixes exist: The following prefixes exist:
  
 ^ Prefix ^ Optional arguments ^ Description ^ ^ Prefix ^ Optional arguments ^ Description ^
-| ''.iram[x]'' | offset | Mono internal RAM (0x0000 - 0x3FFF) | +| ''.iram[x]'' | offset | Mono internal RAM (0x0000 - 0x3FFF) [zeroed on startup?
-| ''.iramc[x]'' | offset | Mono/Color internal RAM (0x0000 - 0xFFFF) | +| ''.iramc[x]'' | offset | Mono/Color internal RAM (0x0000 - 0xFFFF) [zeroed on startup?
-| ''.iramC[x]'' | offset | Color internal RAM (0x4000 - 0xFFFF) |+| ''.iramC[x]'' | offset | Color internal RAM (0x4000 - 0xFFFF) [zeroed on startup?|
 | ''.iram[...]_screen'' | offset | Screen data (aligned to 0x800 bytes) | | ''.iram[...]_screen'' | offset | Screen data (aligned to 0x800 bytes) |
 | ''.iram[...]_sprite'' | offset | Sprite table (aligned to 0x200 bytes) | | ''.iram[...]_sprite'' | offset | Sprite table (aligned to 0x200 bytes) |
Line 68: Line 68:
 | ''.rom0'' | bank index, offset | ROM bank 0 | | ''.rom0'' | bank index, offset | ROM bank 0 |
 | ''.rom1'' | bank index, offset | ROM bank 1 | | ''.rom1'' | bank index, offset | ROM bank 1 |
-| ''.romL'' | bank index, offset | ROM linear bank |+| ''.romL'' | bank index, offset | ROM linear bank (uniquely uses 20-bit offset) |
  
 with the following optional arguments: with the following optional arguments:
wswan/guide/memory_management.1708166618.txt.gz · Last modified: 2024/02/17 10:43 by asie