This commit is contained in:
Irmen de Jong 2019-01-26 18:45:17 +01:00
parent 2663781fde
commit 0298f6b727

View File

@ -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)