"old" devices

4 posts / 0 new
Last post
afxgroup
afxgroup's picture
Offline
Last seen: 5 months 1 week ago
Joined: 2011-02-03 15:26
"old" devices

Hello,
Can someone has a fast way to port old devices source code to os4?
Is the same of the libraries?
Also a small example would be useful..
thank you

salass00
salass00's picture
Offline
Last seen: 6 months 1 week ago
Joined: 2011-02-03 11:27
Assuming that the device is

Assuming that the device is written in C porting it to AmigaOS 4.x won't be much harder than porting a library. In fact might even be slightly less work since you don't generally need to bother with adding a jumptable for m68k compatibility since most devices don't have library functions (a few do though like timer.device, capsimage.device, ahi.device, etc.).

Example devices (C source code):
ramdev.device
diskimage.device (old, very simple, cut down version)

Belxjander
Belxjander's picture
Offline
Last seen: 8 years 11 months ago
Joined: 2011-02-25 11:53
excellent... I may make use

excellent... I may make use of these after I manage to get my feet wet with some initial coding material for Perception and Polymorph for some of the later feature requirements

afxgroup
afxgroup's picture
Offline
Last seen: 5 months 1 week ago
Joined: 2011-02-03 15:26
Thank you mate. I'll take a

Thank you mate. I'll take a look

Andrea

Log in or register to post comments