OS4 DepotLogo by DaveyD 
(anonymous IP:,0) 

   Bug tracker
   Locale browser

   o Audio (333)
   o Datatype (50)
   o Demo (196)
   o Development (566)
   o Document (21)
   o Driver (96)
   o Emulation (143)
   o Game (936)
   o Graphics (485)
   o Library (105)
   o Network (221)
   o Office (61)
   o Utility (868)
   o Video (65)

Total files: 4146

Full index file. Download
Recent index file. Download



Support the site

 Readme for:  Development » Utility » changereg.lha


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 05
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:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
 Written by Stephan Rupprecht

 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).
  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.
 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-2021 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment