View Single Post
Old 14 January 2018, 15:25   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,510
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.
Attached Files
File Type: lha examplelib.lha (3.4 KB, 96 views)
phx is offline  
 
Page generated in 0.04443 seconds with 12 queries