mirror of
https://github.com/irmen/prog8.git
synced 2025-02-04 02:30:19 +00:00
plasma
This commit is contained in:
parent
0f9e167df3
commit
60a9209a14
@ -2,6 +2,7 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
- allocate sub params in zeropage as well (it already allows @zp tag on them!)
|
||||
- optimize assignment codegeneration
|
||||
- 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 '_'
|
||||
|
@ -74,9 +74,7 @@ main {
|
||||
uword @zp scrptr = screen
|
||||
for y in 24 downto 0 {
|
||||
for x in 39 downto 0 {
|
||||
@(scrptr) = xbuf[x]
|
||||
@(scrptr) += ybuf[y]
|
||||
;@(scrptr) = xbuf[x] + ybuf[y]
|
||||
@(scrptr) = xbuf[x] + ybuf[y]
|
||||
; %asm {{
|
||||
; ldy x
|
||||
; lda xbuf,y
|
||||
|
@ -4,10 +4,9 @@
|
||||
main {
|
||||
|
||||
sub start() {
|
||||
ubyte bb = 1
|
||||
uword addr=$d020
|
||||
@(addr) = bb
|
||||
bb = @(addr)
|
||||
ubyte q =2
|
||||
@(addr) += q
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user