From normal to anomalous deterministic diffusion