![]() | Logo by Nickman (anonymous IP: 10.9.106.192,0) | |||||||||||
| ||||||||||||
Audio (350) Datatype (51) Demo (206) Development (621) Document (24) Driver (102) Emulation (155) Game (1038) Graphics (514) Library (121) Network (241) Office (69) Utility (956) Video (74) Total files: 4522 Full index file Recent index file
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 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 ;-) | |||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright (c) 2004-2026 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |