base:efficient_tod_initialisation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
base:efficient_tod_initialisation [2019-05-12 20:31] – [TOD initialisation - the problem] silverdr | base:efficient_tod_initialisation [2019-05-17 12:58] – [Dual purpose] silverdr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== TOD initialisation - the problem ====== | ====== TOD initialisation - the problem ====== | ||
- | Each [[https:// | + | Each [[https:// |
===== Popular misconception ===== | ===== Popular misconception ===== | ||
First let's say how NOT to do it. It is important to note that contrary to a very popular and utterly wrong belief, NTSC or PAL video/ | First let's say how NOT to do it. It is important to note that contrary to a very popular and utterly wrong belief, NTSC or PAL video/ | ||
===== Proper solution ===== | ===== Proper solution ===== | ||
- | While there are various approaches to this problem, we believe the one presented below is not only the most compact but can also serve dual purpose, increasing the byte-size savings even further. | + | While there are various approaches to this problem, we believe the one presented below is not only the most compact but can also serve dual purpose |
<code 6502acme> | <code 6502acme> | ||
; Detecting TOD frequency by Silver Dream ! / Thorgal / W.F.M.H. | ; Detecting TOD frequency by Silver Dream ! / Thorgal / W.F.M.H. | ||
Line 62: | Line 62: | ||
; we run on PAL machine with 60Hz TOD clock | ; we run on PAL machine with 60Hz TOD clock | ||
</ | </ | ||
- | we can determine not only the TOD frequency but also the video standard. This is possible because – unlike | + | we can determine not only the TOD frequency but also the video norm. This is possible because – unlike TOD frequency – the CPU clock frequency is directly related to the computer' |
base/efficient_tod_initialisation.txt · Last modified: 2020-10-27 02:31 by silverdr