mirror of
https://github.com/irmen/prog8.git
synced 2025-02-16 22:30:46 +00:00
readme
This commit is contained in:
parent
2663781fde
commit
0298f6b727
@ -73,7 +73,9 @@ When this code is compiled::
|
||||
c64.CHROUT(bye[c])
|
||||
|
||||
|
||||
float clock_seconds = ((mkword(c64.TIME_LO, c64.TIME_MID) as float) + (c64.TIME_HI as float)*65536.0) / 60
|
||||
float clock_seconds = ((mkword(c64.TIME_LO, c64.TIME_MID) as float)
|
||||
+ (c64.TIME_HI as float)*65536.0)
|
||||
/ 60
|
||||
float hours = floor(clock_seconds / 3600)
|
||||
clock_seconds -= hours*3600
|
||||
float minutes = floor(clock_seconds / 60)
|
||||
@ -90,6 +92,7 @@ When this code is compiled::
|
||||
}
|
||||
|
||||
|
||||
|
||||
you get a program that outputs this when loaded on a C-64:
|
||||
|
||||
![c64 screen](docs/source/_static/hello_screen.png)
|
||||
|
Loading…
x
Reference in New Issue
Block a user