Logo by Kicko (anonymous IP: 3.128.201.207,0) | ||||||||||||
| ||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 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-2024 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |