2021-10-30 15:15:11 +02:00
|
|
|
main {
|
2022-01-18 21:21:49 +01:00
|
|
|
sub start() {
|
2022-02-01 00:24:31 +01:00
|
|
|
%asm {{
|
|
|
|
lda #<blockname
|
|
|
|
lda #<blockname.subroutine
|
|
|
|
correctlabel:
|
|
|
|
nop ; rout orrectlab locknam
|
|
|
|
}}
|
|
|
|
}
|
2022-01-28 15:22:26 +01:00
|
|
|
|
2022-02-01 00:24:31 +01:00
|
|
|
}
|
2022-01-28 15:22:26 +01:00
|
|
|
|
2022-02-01 00:24:31 +01:00
|
|
|
blockname {
|
|
|
|
sub subroutine() {
|
|
|
|
@($c000) = 0
|
2022-01-28 15:22:26 +01:00
|
|
|
}
|
|
|
|
|
2022-02-01 00:24:31 +01:00
|
|
|
sub correctlabel() {
|
|
|
|
@($c000) = 0
|
2022-01-28 15:22:26 +01:00
|
|
|
}
|
2022-02-01 00:24:31 +01:00
|
|
|
}
|
2022-01-28 15:22:26 +01:00
|
|
|
|
2022-02-01 00:24:31 +01:00
|
|
|
; all block and subroutines below should NOT be found in asm because they're only substrings of the names in there, or in a comment
|
|
|
|
locknam {
|
|
|
|
sub rout() {
|
|
|
|
@($c000) = 0
|
|
|
|
}
|
|
|
|
|
|
|
|
sub orrectlab() {
|
|
|
|
@($c000) = 0
|
2022-01-27 18:05:25 +01:00
|
|
|
}
|
2022-01-23 02:42:26 +01:00
|
|
|
}
|
2022-02-01 00:24:31 +01:00
|
|
|
|