MW Software - 32-bit porting support |
|||||||||||||||||||||||||||||||||||||||||
Page index: Quick Links: |
32BitLib and armc - 32-bit porting support32BitLib - assembler macros for the BASIC assembler
32BitLib is a library of assembler macros that can be used to create 32-bit safe software with the BBC BASIC
assembler (under RISC OS 4 or higher only because support for the MSR/MRS instructions are needed in the assembler).
The idea is that subroutines are generally assumed to be non-flag-preserving, so the return and exit macros do
not attempt to restore the flags at all (except for the The library is loosely based on the Pace macros as supplied with the 26/32-bit AcornC/C++ tools. Main features are:
The library can be copied freely and using it to assemble code does not affect the copyright status of that code. The library has been used successfully to assemble ArtWorks 2. Feedback and enhancements are welcome! armc - Perl script to aid the 32-bit conversion
The armc Perl script converts 26-bit assembler code (BASIC assembler format only) to partly 32-bit safe code. This is only a first step in a semi-automated process. This script does not (and cannot) do the full job. However, in addition to doing most of the tedious search-and-replace work, it also directs you to most places where manual post-processing is necessary by telling you where flag preservation over BL and SWI calls might have been assumed by the original code. Please note that I have written this script for my own use, it has not been engineered for general use, but it is a quick-and-dirty job that works for the specific way in which I (and Computer Concepts engineers) write source files. You are welcome to use it, but I cannot guarantee any support whatsoever. If you have downloaded version 1.05, please make sure you upgrade to version 1.06 - 1.05 was seriously broken. Download section
32BitLib HistoryRelease 1.04 (03-Sep-03):
|
For further information contact | or use the contact form: | ||
Last modified: 24-Sep-04 |