# TWL-System Foundation Library Revision History

## Index

### 2.0.0 RC

#### Added and Changed Features

- Note 78-F01: (Library) Added an API for getting the number of elements in list
- Note 78-F02: (Library) Added the const modifier to the arguments for getting list elements

### 2008/04/08 Version

#### Added and Changed Features

- Note 76-F01: (Manual) Changed the format of the Revision History and made revisions to the SDK

### 2007/11/26 Version

#### Added and Changed Features

- Note 71-F01: (Converter) Changed the archiver

### 2005/09/01 Version

#### Problem Fixes

- Note 50-F01: (Library) Revised the memory allocator

### 2004/11/10 Version

#### Added and Changed Features

- Note 31-F01: (Library) Revised the expanded heap manager

#### Problem Fixes

- Note 31-F02: (Converter) Changed the archiver

### 2004/09/02 Version

#### Added and Changed Features

- Note 20-F01: (Library) Added a memory block check feature to the expanded heap manager

### 2004/08/02 Version

#### Added and Changed Features

- Note 15-F01: (Library) Added a memory block size change feature to the frame heap manager
- Note 15-F02: (Library) Added a memory block size get feature to the unit heap manager
- Note 15-F03: (Library) Added the memory allocator

### 2004/07/20 Version

#### Added and Changed Features

- Note 13-F01: (Library) Added a necesary unit heap size get feature to the unit heap manager
- Note 13-F02: (Library) Invalidated the dump feature at the final ROM version of the heap

### 2004/06/10 Version

#### Added and Changed Features

- Note 09-F01: (Library) Added the archive memory

### 2004/05/28 Version

#### Problem Fixes

- Note 08-F01: (Library) Fixed a problem in the list object insertion feature

## Changes in 2.0.0 RC

### Note 78-F01: (Library) Added an API for getting the number of elements in list

The `NNS_FndGetListSizse` function has been added as an API to get the number of elements that are registered in the list structure.

### Note 78-F02: (Library) Added the const modifier to the arguments for getting list elements

The `const` modifier has been added to the arguments of the `NNS_FndGetNextListObject`, `NNS_FndGetPrevListObject`, and `NNS_FndGetNthListObject` functions.

## Changes in Version 2008/04/08

### Note 76-F01: (Manual) Changed the format of the Revision History and made revisions to the SDK

The format of the Revision History has been changed in the following PDF manuals. Corrected the description relating to the SDK from NITRO-SDK to TWL-SDK.

- `Allocator.pdf`
- `ArchiveFormat.pdf`
- `ArchiveManager.pdf`
- `Archiver.pdf`
- `MemoryManager.pdf`

## Changes in Version 2007/11/26

### Note 71-F01: (Converter) Updated the archiver

The archiver `nnsarc` is now version 1.1.0. Changes in version 1.1.0 are as follows.

- By specifying the `-A` (`--align`) option, the alignment of the files in the archive can now be specified. If the option is not specified, the files are conventionally arranged to the 4-byte boundary.

## Changes in Version 2005/09/01

### Note 50-F01: (Library) Revised the memory allocator

The `FndInitAllocatorForSDKHeap` function was accidentally called `FndInitAllocatorForOSHeap`. This has been corrected.

## Changes in Version 2004/11/10

### Note 31-F01: (Library) Revised the extended heap manager

In previous versions, the `NNS_FndCheckExpHeap` and `NNS_FndCheckForMBlockExpHeap` functions always returned `FALSE` in the final ROM (FinalROM) version library, indicating that an error was found.

The functions have been changed so that they now always return `TRUE` to indicate that no error was found.

### Note 31-F02: (Converter) Updated the archiver

The archiver `nnsarc` is now version 1.0.0. Changes in version 1.0.0 are as follows.

- When specifying `-x` (`--extract`) mode and getting files in the archive, error processing did not occur correctly when the specified directory could not be created. We have fixed this bug.

- When specifying the `-i` (`--index`) option and outputting the C-language file ID definition header file, two consecutive underscores were inserted after the symbol prefix when the beginning of the filename was a number. We have fixed this bug.

## Changes in Version 2004/09/02

### Note 20-F01: (Library) Added a memory block check feature to the extended heap manager

Added the `NNS_FndCheckExpHeap` and `NNS_FndCheckForMBlockExpHeap` functions. These functions allow you to check if the extended heap and the memory block that are allocated from the extended heap are destroyed.

## Changes in Version 2004/08/02

### Note 15-F01: (Library) Added a memory block size change feature to the frame heap manager

Added the `NNS_FndResizeForMBlockFrmHeap` function. You can use this function to change the size of the memory block allocated from the frame heap.

### Note 15-F02: (Library) Added a memory block size get feature to the unit heap manager

Added the `NNS_FndGetMemBlockSizeForUnitHeap` function. Use this function to get the size of each memory block set in the unit heap.

### Note 15-F03: (Library) Added the memory allocator

Added the initial version of Memory Allocator.

## Changes in Version 2004/07/20

### Note 13-F01: (Library) Added a necesary unit heap size get feature to the unit heap manager

Added the `NNS_FndCalcHeapSizeForUnitHeap` function. Use this function to get the necessary unit heap size from the memory block size and number.

### Note 13-F02: (Library) Invalidated the dump feature at the final ROM version of the heap

Corrected the `NNS_FndDumpHeap` function so that it performs no processing in the last ROM (FinalROM) version library.

## Changes in Version 2004/06/10

### Note 09-F01: (Library) Added the archive manager

Added the initial version of the Archive Manager.

## Changes in Version 2004/05/28

### Note 08-F01: (Library) Fixed a problem in the list object insertion feature

Fixed a bug with `NNS_FndInsertListObject` where the object was not inserted correctly.

CONFIDENTIAL