Low level programming

I found the declaration to routines like write and read in arduino.h

In what file is the actual routine and where in the core directory is it?

wiring_digital.c has the digitalRead/Write functions. Is that what you are after?

EDIT: wiring_analog.c has the analogRead/Write.

I installed arduino to my D drive so the path to the core is D:\arduino-1.0.5\hardware\arduino\cores\arduino

Or for the beta D:\arduino-1.5.5-r2\hardware\arduino\avr\cores\arduino

Yes. That helps. I'm going further down the rabbit hole. Where is something like digitalPintoBitMask and digitalPintoPort located. I've tried searching the files, but there are so many of them.

EDIT: found it in arduino.h