Audio (340) Datatype (50) Demo (203) Development (592) Document (22) Driver (100) Emulation (146) Game (984) Graphics (491) Library (112) Network (230) Office (65) Utility (907) Video (68)
Total files: 4310
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
Changereg | Description: | ChangeREG helps converting source codes to OS4 | Download: | changereg.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 6kb | Version: | 1.0 | Date: | 26 Jul 2005 | Author: | Stephan Rupprecht | Submitter: | Stephan Rupprecht | Email: | amigaos/stephan-rupprecht de | Category: | development/utility | License: | Other | Distribute: | no | Min OS Version: | 4.0 | FileID: | 908 | | | Comments: | 1 | Snapshots: | 0 | Videos: | 0 | Downloads: | 254 (Current version) | | 254 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
ChangeREG
Written by Stephan Rupprecht
amigaos()stephan-rupprecht.de
WHAT IT IS
ChangeREG is a quick'n'dirty solution to port your programs to OS4
and amiga_compiler.h. It's not fast, it's pretty bad coded but it
gets the job done :-) What it does is to convert function prototypes
with register definitions to the definitions used by AmigaOS4 (see
include file 'amiga_compiler.h' of your SDK).
Example:
void __asm foobar(register __a0 char *a, register __d0 int b)
will be converted to
void ASM foobar(REG(a0, char *a), REG(d0, int b))
The program recognizes the following list of symbols:
__asm, __saveds, __regargs, __stdargs, __REGx(), __REG(x,y),
REG(x), _ax, _dx, register __ax, register __dx
where <x> is a register number.
INVOCATION
The program can only be started from a shell, it takes as first
parameter the source path or file (patterns are allowed) and as
2nd parameter the destination path.
Final words,
use at your own risc ;-)
|