Cycle and video timings

Here you can ask questions or provide insights about how to use efficiently 6502 assembly code on the Oric.
User avatar
Xeron
Emulation expert
Posts: 426
Joined: Sat Mar 07, 2009 5:18 pm
Contact:

Cycle and video timings

Post by Xeron »

I have some questions about timings in the Oric-1 and Atmos.

Where there NTSC models ever released, or just PAL?

When you set 60Hz mode, i presume thats a 60Hz PAL signal, rather than NTSC?

How many CPU cycles are executed per raster line?

Of the 312 PAL raster lines, on which line does the Oric start/stop drawing video?
JamesD
Flight Lieutenant
Posts: 358
Joined: Tue Nov 07, 2006 7:38 am

Re: Cycle and video timings

Post by JamesD »

Xeron wrote:I have some questions about timings in the Oric-1 and Atmos.

Where there NTSC models ever released, or just PAL?

When you set 60Hz mode, i presume thats a 60Hz PAL signal, rather than NTSC?

How many CPU cycles are executed per raster line?

Of the 312 PAL raster lines, on which line does the Oric start/stop drawing video?
No NTSC machines were released.
User avatar
Xeron
Emulation expert
Posts: 426
Joined: Sat Mar 07, 2009 5:18 pm
Contact:

Post by Xeron »

OK, thanks.

Anyone know the other answers?
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Cycle and video timings

Post by Dbug »

Xeron wrote:When you set 60Hz mode, i presume thats a 60Hz PAL signal, rather than NTSC?
Yup, PAL 60
Xeron wrote:How many CPU cycles are executed per raster line?
About 64 cycles at 50hz.
Xeron wrote:Of the 312 PAL raster lines, on which line does the Oric start/stop drawing video?
No idea, but this can be figured out by testing the value of the sync line on the socket.
JamesD
Flight Lieutenant
Posts: 358
Joined: Tue Nov 07, 2006 7:38 am

Re: Cycle and video timings

Post by JamesD »

Xeron wrote:How many CPU cycles are executed per raster line?
About 64 cycles at 50hz.

Did the display steal that many clock cycles during the display update?
I mean... 1 MHz vs 50 Hz?
User avatar
Dbug
Site Admin
Posts: 4437
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Cycle and video timings

Post by Dbug »

JamesD wrote:
Xeron wrote:How many CPU cycles are executed per raster line?
About 64 cycles at 50hz.

Did the display steal that many clock cycles during the display update?
I mean... 1 MHz vs 50 Hz?
well, 1mhz=1000000hz

1000000/50=20000 cycles per VBL
20000/~312=64 cycles

Don't see what is stolen :)
JamesD
Flight Lieutenant
Posts: 358
Joined: Tue Nov 07, 2006 7:38 am

Re: Cycle and video timings

Post by JamesD »

Dbug wrote:
JamesD wrote:
Xeron wrote:How many CPU cycles are executed per raster line?
About 64 cycles at 50hz.

Did the display steal that many clock cycles during the display update?
I mean... 1 MHz vs 50 Hz?
well, 1mhz=1000000hz

1000000/50=20000 cycles per VBL
20000/~312=64 cycles

Don't see what is stolen :)
Ah, PAL raster lines. That's why it looked off. I was still thinking NTSC.
Post Reply