Home page

747,278 Visitors, Thursday 18 April 2024 15:22:30 CEST, IP: 13.59.113.226

Return to parent page: Casio AFX calculator

Libraries for
Graph 100 and AFX



memzones_library release 2.00b

memzones_library 2.00b - Download
SFX RAR archive size: 114,739 bytes
Release date:Saturday 22 April 2006 23:00:32 CEST

memzones_library Readme.txt

What's new in memory_zone_library release 2.00b

- This is the eighth release -

This version in not compatible with previous versions, you'll have to re-work your program (names and types have changed).

NEW functions:
===================
MEMZ *mopen (const char ztype, const unsigned char *zonename, const char *mode);

size_t mwrite (const void *ptr, size_t element_size, size_t n, MEMZ *stream);

size_t mread (void *ptr, size_t element_size, size_t n, MEMZ *stream);

int mclose (MEMZ *stream);

int mseek (MEMZ *stream, unsigned offset, int whence);

unsigned int simple_mseek(MEMZ *a, unsigned int b); -- this is a macro

unsigned int mrewind(MEMZ *a); -- this is a macro

int munlink(MEMZ *a, MEMZ *b); -- this is a macro

int mtruncate (MEMZ *stream, size_t newsize);
===================

So now you can access memzones only using the above functions, no need to care about anything else.
You still can do it like you did with previous vresions though, but I don't recommend it.
If you don't want to use the above functions, you can keep the version 1.06.

There are other changes, but I don't remember, it's been two years since I touched or used this lib...

This is a beta version, I did test it but not as much as I wanted... I don't think there is any bug though :/



memzones_library release 1.06

memzones_library 1.06 - Download
SFX RAR archive size: 64,269 bytes
Release date:Monday 09 August 2004 14:33:33 CEST

What's new in memory_zone_library release 1.06

- This is the seventh release -

THIS IS AN IMPORTANT UPDATE, YOU MUST RE-COMPILE YOUR PROGRAMS WITH THIS NEW VERSION



memzones_library release 1.05

memzones_library 1.05 -
Release date:Sunday 08 August 2004 22:15:14 CEST

What's new in memory_zone_library release 1.05

- This is the sixth release -


- 1 BUG corrected -
A bug was found in the function search_mem_zone().
It could find non existent memzones in some particular cases.
If the memzones configuration was something like:

"3CHMAT"
"8E"
"8F"
"8CHN"

and that you search the memzone named "3CHN", search_mem_zone would return 1 (finding "8CHN") instead of -1.

Thanks to David Quaranta who identified this bug :)



memzones_library release 1.04

memzones_library 1.04 -
Release date:Thursday 08 April 2004 00:51:50 CEST

What's new in memory_zone_library release 1.04

- This is the fifth release -


CHANGES:
- Added support for VC++ 1.5 compiler.
- Nothing else changed.



memzones_library release 1.03

memzones_library 1.03 -
Release date:Wednesday 03 March 2004 05:15:24 CET

What's new in memory_zone_library release 1.03

- This is the fourth release -


CHANGES:
- Added support for Digital Mars compiler (https://www.digitalmars.com).
- Nothing else changed.



memzones_library release 1.02

memzones_library 1.02 -
Release date:Friday 25 April 2003 22:27:58 CEST

What's new in memory_zone_library release 1.02

!!!!!!!!!!!! THIS REPLACES BASIC_libraries !!!!!!!!!!!!!!

- This is the third release -

BUGS CORRECTED:
- A possible crash has been corrected: This could happen if you had no basic file and if you were creating,
resizing or deleting zones of other type. (The function didn't allocate its own memory properly).
- If the memory was full, you were unable to decrease the size of a zone, the function create_mem_zone returned -2 (not enough memory).

NEW FEATURES:
- A new function has been added: afxleft. This function returns the available memory for user's data
(The value you can see in the system menu).

CHANGES:
- In the structure memory_zone the variables b_segment and b_offset now point on the size of the zone instead of on the first byte of the name. This doesn't change anything for you unless you were using these variables.
- The library do not use anymore the functions strlen and strcpy so it decreases the size of your program that don't use these functions either (especially for ASM programs).
- Now the parameters zonename of the function create_mem_zone and zone_name of the function search_mem_zone do not need anymore to end with a null char if the name's length is egual to 8 characters.
- The header file memzones.h should be compatible with C++ programs now, memzones.c must be compiled in C.

IMPORTANT NOTE:

This is not in the readme.txt file, please read:

When you are writing within several memory zones at the same time, you have to call search_mem_zone() before calling any function that uses the memory_zone structure, each time you write to a memory zone, the whole memory changes and so if you have other memory_zone structures, you need to update each of them before any action using the structure).



memzones_library release 1.01

memzones_library 1.01 -
Release date:Tuesday 31 December 2002 20:57:14 CET

What's new in memory_zone_library release 1.01

!!!!!!!!!!!! THIS REPLACES BASIC_libraries !!!!!!!!!!!!!!

This is the second release :

This version corrects three bugs:
- It was impossible to use a length of 1 with read_mem_zone() or write_mem_zone() you had to read/write at least 2 bytes.
- It was impossible to write more than 32768 bytes at once with write_mem_zone().
- When the flag CREATE_ZONE was used with create_mem_zone() the function returned 0 instead of -1 if the size of the created zone was the same than the existing file one.

READ the memzones_libraryReadme100.txt it contains very imprtant information.

Thank you very much to use these functions!



memzones_library release 1.00

memzones_library 1.00 -
Release date:Friday 15 November 2002 04:20:33 CET

What's new in memory_zone_library release 1.0

!!!!!!!!!!!! THIS REPLACES BASIC_libraries !!!!!!!!!!!!!!

This is the first release :

The name of the functions have been changed but macro are defined to keep it compatible with your programs.

- IMPROVEMENTS, NEW FEATURES:
- create_mem_zone can now really resize a zone and delete it.
This function is now instantaneous (as fast as (or faster?) CASIO(TM)'s programs).
- Now any memory zone is accessible. They can be created, resized (decreased or increased) or deleted.
- The read_mem_zone and write_mem_zone now works at maximum speed.
- The library doesn't depend anymore of segm_video, it has its own static variable.
- Security has been improved when calling functions that modifie the memory.
- Some other code improvements.
- Two new functions that are used by the functions of this lib but that you can use in your own program:
- my_movedata that allows you to move data the fatest and the most secure way possible.
- init_area that allows you to init an area of memory with a particular value the fatest way possible.
- the readme file as been improved.

- IMPORTANT CHANGES:
- The names of the files have been changed to be more accurate to the library function.
- The names of the functions have been changed too.
- READ CAREFULLY THE README FILE !!

- BUGS CORRECTED:
- search_mem_zone and create_mem_zone may not find a "file" if there was garbage characters after the NULL one.
- create_mem_zone was writting garbage characters after the NULL of the zone's name (only if name < 8 bytes).
- create_mem_zone incorrectly report data in the MAT in a very particular occasion (when a lot of data).
Which make the calc clear the memory after reboot.
- create_mem_zone was unable to create correctly zone which size was near 65535.
- create_mem_zone may break the alphabetical order if the name was containing extended character (>127).
- if the number of basic files was not pair and that the new file would be on the top of the list, it wasn't placed at its correct position.
- Some other dangerous bugs of the same kind...
- Mistakes in text and examples of the readme.txt have been corrected.


READ the memzones_libraryReadme100.txt it contains very imprtant informations.



Thank you very much to use these functions !



BASIC_librairies release 2.00

BASIC_librairies 2.00 -
Release date:Tuesday 10 September 2002 23:25:39 CEST

What's new in BASIC_librairies release 2.0

This is the third release :

- IMPROVEMENTS:
- the search_basic_file function has been improved, now any search of BASIC FILE is instantaneous.
- The read_toBfile and write_toBfile functions must be a little bit faster.
- Some other code improvements.
- The readme file has been improved, it must be more understandable.

- NEW FEATURES:
- Now you can create basic files since your own program specifying the size and safely for the AFX memory.
- You can increase the size of an existing BASIC file.


READ the BASIC_librairiesReadme.txt it contains very imprtant informations.



Thank you very much to use these functions !



BASIC_librairies release 1.02

BASIC_librairies 1.02 -
Release date:Sunday 03 March 2002 10:32:18 CET

What's new in BASIC libraries release 1.02?

This is the second release:
- A bug correction:
- The eighth byte of the name of the program putted in argument to the function "search_basic_file" wasn't taken in account during the search so only the seven first letters of the basic program name were meaning something.

- Now the search function only scan address from 0x1C20:0000 to 0x4000:0000 (147Ko).

- Comments have been added to the files BASIC-u.h and BASICf-u.c, you must read these comments!

- Some code improvements!

VERY IMPORTANT:

the order of the two last arguments of the function "read_toBfile" has been inverted (/version 1.0) to be like the write function one.
SORRY for this but it was a mistake and caused me to loose a lot of time of debugging certain of my programs just because I had inverted the arguments...


Thank you very much to use these functions!




BASIC_librairies release 1.00

BASIC_librairies 1.00 -
Release date:Thursday 22 November 2001 00:20:02 CET



This is the first release!

This sfx-RAR archive contains two files:
- BASIC-u.h
- BASICf-u.c


These functions allows you to write and read the basic file of your calc as if they were real files in a hard drive so you can read and write strings, integers, or even complexes structures !

See the readme.txt file for more information!


Return to parent page: Casio AFX calculator



Valid HTML 4.01! Best viewed in sRGB Valid CSS!
Previous page - Next page
This page has been seen 4,585 times ; last update: Sun Aug 19 11:58:47 2018
Copyright © 2001 - 2024 John Wellesz
All rights reserved.
All trademarks and registered trademarks mentioned on this website are the properties of their respective companies.

Privacy Policy