X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fvic20%2Fcrt0.s;h=9c8a53be80754855f240562e9a9887251bec9125;hb=7e2a24176f6b9cd11d0c50ef585647d73d10db44;hp=e48506f3377d909f9aa4c8f3e3ac10cc7ac3afca;hpb=13698871cbcbb28f93f5bdd6c78ac6890c675fb0;p=cc65 diff --git a/libsrc/vic20/crt0.s b/libsrc/vic20/crt0.s index e48506f33..9c8a53be8 100644 --- a/libsrc/vic20/crt0.s +++ b/libsrc/vic20/crt0.s @@ -23,10 +23,10 @@ Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker