mirror of
https://github.com/irmen/prog8.git
synced 2024-10-19 07:23:56 +00:00
plasma
This commit is contained in:
parent
0f9e167df3
commit
60a9209a14
@ -2,6 +2,7 @@
|
|||||||
TODO
|
TODO
|
||||||
====
|
====
|
||||||
|
|
||||||
|
- allocate sub params in zeropage as well (it already allows @zp tag on them!)
|
||||||
- optimize assignment codegeneration
|
- optimize assignment codegeneration
|
||||||
- get rid of all TODO's ;-)
|
- get rid of all TODO's ;-)
|
||||||
- make it possible to use cpu opcodes such as 'nop' as variable names by prefixing all asm vars with something such as '_'
|
- make it possible to use cpu opcodes such as 'nop' as variable names by prefixing all asm vars with something such as '_'
|
||||||
|
@ -74,9 +74,7 @@ main {
|
|||||||
uword @zp scrptr = screen
|
uword @zp scrptr = screen
|
||||||
for y in 24 downto 0 {
|
for y in 24 downto 0 {
|
||||||
for x in 39 downto 0 {
|
for x in 39 downto 0 {
|
||||||
@(scrptr) = xbuf[x]
|
@(scrptr) = xbuf[x] + ybuf[y]
|
||||||
@(scrptr) += ybuf[y]
|
|
||||||
;@(scrptr) = xbuf[x] + ybuf[y]
|
|
||||||
; %asm {{
|
; %asm {{
|
||||||
; ldy x
|
; ldy x
|
||||||
; lda xbuf,y
|
; lda xbuf,y
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
main {
|
main {
|
||||||
|
|
||||||
sub start() {
|
sub start() {
|
||||||
ubyte bb = 1
|
|
||||||
uword addr=$d020
|
uword addr=$d020
|
||||||
@(addr) = bb
|
ubyte q =2
|
||||||
bb = @(addr)
|
@(addr) += q
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user