OS4 DepotLogo by Liksmaskaren 
(anonymous IP:,2201) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (498)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (925)
   o Video (69)

Total files: 4369

Full index file
Recent index file



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 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: 260  (Current version)
260  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
 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 © 2004-2024 by Björn Hagström All Rights Reserved