The idea is to do something like:
loop ... Do the work here ... ei ; for safety, maybe something did DI halt ; wait for interrupt (VDP) jp loop
I have tested it on a simple program and it works, so if the loop period is shorter than V-preiod is fine. The question is what will happen if loop period is longer than v-period.
Login or register to post comments

)