graph TD open_gfx[Open the Graphics library] get_current_view[Get the current ActiView] load_view_null[LoadView NULL] waittof_twice[WaitTOF twice] store_old_copperlists[Store old Copperlists] get_cpu_type[Get CPU Type] 68010_or_above{68010 or above?} get_010_vector_base_register[Get 010 Vector Base Register] return_0_for_vector_base_register[Return 0 for Vector Base Register] store_old_registers[Store old custom chip registers -- ADKCON, INTENA, DMA] wait_for_raster[Wait for end of raster beam] disable_and_clear_registers[Disable and clear registers -- Interrupts, DMA, INTREQ] install_custom_vertical_blank_interrupt_handler[Install custom vertical blank interrupt handler] set_up_new_dma_interrupts[Set up new DMA and interrupts] open_gfx --> get_current_view --> load_view_null --> waittof_twice waittof_twice --> store_old_copperlists --> get_cpu_type --> 68010_or_above 68010_or_above -- yes --> get_010_vector_base_register 68010_or_above -- no --> return_0_for_vector_base_register get_010_vector_base_register --> store_old_registers return_0_for_vector_base_register --> store_old_registers --> wait_for_raster --> disable_and_clear_registers --> install_custom_vertical_blank_interrupt_handler --> set_up_new_dma_interrupts