This paper describes walking control algorithm for the stable walking of a biped humanoid robot on an uneven and inclined floor. Many walking control techniques have been developed based on the assumption that the walking surface is perfectly flat with no inclination. Accordingly, most biped humanoid robots have performed dynamic walking on well designed flat floors. In reality, however, a typical room floor that appears to be flat has local and global inclinations of about 2 degrees. It is important to note that even slight unevenness of a floor can cause serious instability in biped walking robots. In this paper, the authors propose an online control algorithm that considers local and global inclinations of the floor by which a biped humanoid robot can adapt to the floor conditions. For walking motions, a suitable walking pattern was designed first. Online controllers were then developed and activated in suitable periods during a walking cycle. The walking control algorithm was succ...