Dick T schrieb:
Should have read 'comp.os.geos.programmer' without 's'. Sorry.
Other than the libraries, which export their functions directly, a
driver has just one central entry point. You call it with a function
number in a processor register and are then dispatched to the proper
This function then could be in C again (this requires some dirty
hacking), but the entry point and the dispatcher need to be in assembly.
Luckily, this part is almost identical for all drivers (except for the
number and name of the functions), so you can more or less just copy it.
If Microsoft would invest only 5 minutes to make Windows boot 1/1000
we would save 30 working hours worldwide every day.