Writing device drivers in VBCC?
Hey folks,
Are there any examples of writing devices using VBCC. I have seen some GCC stuff and i'm happy with that for now but i prefer using vbcc for my toolchain because its far easier to get running (and will run on low end classic machines). Anyways thanks for any help in this area. |
1 Attachment(s)
I don't know if anybody has already written a device driver with vbcc, but it should be straightforward as vbcc is quite compatible to standard Amiga compilers, like SAS/C.
A device is not so different from a library. It's probably easiest to write the resident structure and the function table in assembler. Attached you find an example library, which I wrote about 14 years ago in pure C with vbcc. Might be a good starting point. |
There's this on Aminet too:
http://aminet.net/package/dev/src/vbcc-librarytemplate Template for implementing an Amiga shared library in VBCC |
thanks for the pointers. I havent found many C only drivers. Just the mntsd one and thats fully gcc. vbcc got huffy with it. will report my results.
|
All times are GMT +2. The time now is 05:02. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.