Yup, it can be done with compositing, but strictly speaking it's not quite the same thing. The video chip actually ran at a different pixel clock on different scanlines on the old way, whereas the compositing way means the whole screen is one resolution, with the second resolution scaled up or down. In fairness, the compositing is more suited to modern monitors - not sure too many LCDs will like having different frequencies introduced halfway down the screen...