2020-03-24 23:32:54 +00:00
|
|
|
%import c64lib
|
2020-03-14 23:47:21 +00:00
|
|
|
%import c64utils
|
2020-04-08 22:12:50 +00:00
|
|
|
%import c64flt
|
2020-04-03 20:44:10 +00:00
|
|
|
%zeropage basicsafe
|
2019-08-09 00:15:31 +00:00
|
|
|
|
2020-03-24 18:37:54 +00:00
|
|
|
|
2020-03-24 23:32:54 +00:00
|
|
|
main {
|
|
|
|
sub start() {
|
2020-06-03 23:43:37 +00:00
|
|
|
|
2020-06-04 19:50:31 +00:00
|
|
|
A += 50
|
|
|
|
|
|
|
|
A += Y + 1
|
|
|
|
A -= Y + 1
|
|
|
|
A += Y - 1
|
|
|
|
A -= Y - 1
|
|
|
|
|
|
|
|
A += Y + 2
|
|
|
|
A -= Y + 2
|
|
|
|
A += Y - 2
|
|
|
|
A -= Y - 2
|
2020-06-04 18:22:37 +00:00
|
|
|
|
|
|
|
; ubyte ubb
|
|
|
|
; byte bb
|
|
|
|
; uword uww
|
|
|
|
; word ww
|
|
|
|
; word ww2
|
|
|
|
;
|
|
|
|
; A = ubb*0
|
|
|
|
; Y = ubb*1
|
|
|
|
; A = ubb*2
|
|
|
|
; Y = ubb*4
|
|
|
|
; A = ubb*8
|
|
|
|
; Y = ubb*16
|
|
|
|
; A = ubb*32
|
|
|
|
; Y = ubb*64
|
|
|
|
; A = ubb*128
|
|
|
|
; Y = ubb+ubb+ubb
|
|
|
|
; A = ubb+ubb+ubb+ubb
|
|
|
|
; ww = ww2+ww2
|
|
|
|
; ww = ww2+ww2+ww2
|
|
|
|
; ww = ww2+ww2+ww2+ww2
|
2020-06-03 23:43:37 +00:00
|
|
|
|
2020-03-13 01:05:15 +00:00
|
|
|
}
|
2020-03-21 17:39:36 +00:00
|
|
|
}
|
2020-03-24 21:02:50 +00:00
|
|
|
|
2020-03-24 23:32:54 +00:00
|
|
|
|