mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 08:29:25 +00:00
txtelite
This commit is contained in:
parent
f8b04a6357
commit
ad75fcbf7e
@ -8,12 +8,18 @@ main {
|
||||
str planet_name = "12345678"
|
||||
sub start() {
|
||||
|
||||
; TODO : make str name=... work (although it's doing something else namely a strcpy)
|
||||
; TODO make this work, with a warning about Pc:
|
||||
ubyte status
|
||||
status = c64.OPEN() ; open 1,8,0,"$"
|
||||
; TODO make this work as well, with the same warning:
|
||||
ubyte status2 = c64.OPEN() ; open 1,8,0,"$"
|
||||
|
||||
|
||||
|
||||
txt.print(planet_name)
|
||||
txt.chrout('\n')
|
||||
|
||||
planet_name = "saturn" ; TODO make strcpy() actually work it now sets the address in the first two bytes...
|
||||
planet_name = "saturn"
|
||||
|
||||
txt.print(planet_name)
|
||||
txt.chrout('\n')
|
||||
|
Loading…
Reference in New Issue
Block a user