Remarks: One-Liners
From Maze
(Difference between revisions)
| Line 51: | Line 51: | ||
<code>10 poke 54272 + (0*ti+(rnd(1)*25)),(rnd(1)*256)and255:goto 10</code> | <code>10 poke 54272 + (0*ti+(rnd(1)*25)),(rnd(1)*256)and255:goto 10</code> | ||
| − | ''In the case of the video chip, writing random values may be unsafe.'' According to the ''Programmer's Reference Manual'' certain values must not be altered. You should try the following program ''only in an emulator'': | + | '''In the case of the video chip, writing random values may be unsafe.''' According to the ''Programmer's Reference Manual'' certain values must not be altered. You should try the following program '''only in an emulator''': |
<code>10 poke 53248+rnd(0)*46,rnd(0)*256: goto 10</code> | <code>10 poke 53248+rnd(0)*46,rnd(0)*256: goto 10</code> | ||
