mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
Added hint random number generator hint.
This commit is contained in:
parent
a9a102b0e8
commit
c7a40db1b7
@ -455,7 +455,7 @@ BASIC.SYSTEM) there are some limitations for DOS 3.3:
|
||||
|
||||
<descrip>
|
||||
|
||||
<tag>Disk File I/O</tag>
|
||||
<tag>Disk file I/O</tag>
|
||||
There's no disk file I/O support. Any attempt to use it yields an error with
|
||||
<tt/errno/ set to <tt/ENOSYS/. This implicitly means that loadable drivers
|
||||
are in general not functional as they depend on disk file I/O. Therefore the statically
|
||||
@ -480,6 +480,18 @@ BASIC.SYSTEM) there are some limitations for DOS 3.3:
|
||||
</descrip><p>
|
||||
|
||||
|
||||
<sect1>Random number generator<p>
|
||||
|
||||
<descrip>
|
||||
|
||||
<tag/Random number seed/
|
||||
The random number seed is generated from the time the program waits for user input.
|
||||
Therefore it is necessary to wait for at least one user keypress either via Standard
|
||||
I/O or via Direct console I/O before initializing the pseudo random number generator.
|
||||
|
||||
</descrip><p>
|
||||
|
||||
|
||||
|
||||
<sect>Other hints<p>
|
||||
|
||||
|
@ -456,7 +456,7 @@ BASIC.SYSTEM) there are some limitations for DOS 3.3:
|
||||
|
||||
<descrip>
|
||||
|
||||
<tag>Disk File I/O</tag>
|
||||
<tag>Disk file I/O</tag>
|
||||
There's no disk file I/O support. Any attempt to use it yields an error with
|
||||
<tt/errno/ set to <tt/ENOSYS/. This implicitly means that loadable drivers
|
||||
are in general not functional as they depend on disk file I/O. Therefore the statically
|
||||
@ -481,6 +481,18 @@ BASIC.SYSTEM) there are some limitations for DOS 3.3:
|
||||
</descrip><p>
|
||||
|
||||
|
||||
<sect1>Random number generator<p>
|
||||
|
||||
<descrip>
|
||||
|
||||
<tag/Random number seed/
|
||||
The random number seed is generated from the time the program waits for user input.
|
||||
Therefore it is necessary to wait for at least one user keypress either via Standard
|
||||
I/O or via Direct console I/O before initializing the pseudo random number generator.
|
||||
|
||||
</descrip><p>
|
||||
|
||||
|
||||
|
||||
<sect>Other hints<p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user