mirror of
https://github.com/irmen/prog8.git
synced 2025-04-05 18:38:05 +00:00
textelite was okay
This commit is contained in:
parent
195cd7597d
commit
90271d0dcd
@ -2,14 +2,17 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
- why is fibonacci example (and others) generating larger code now? fix?
|
||||
- fix textelite saving (and loading?)
|
||||
- fix sys.memcopy()
|
||||
- allow uwordpointer[index] syntax -> transform into @(uwordpointer+index) allow index to be >255!
|
||||
- add offsetof() to get the byte offset of struct members
|
||||
- add any2(), all2(), max2(), min2(), reverse2(), sum2(), sort2() that take (array, startindex, length) arguments
|
||||
- optimize for loop iterations better to allow proper inx, cpx #value, bne loop instructions (like repeat loop)
|
||||
- why is there a beq _prog8_label_2_repeatend at the end of repeat loops? seems unused
|
||||
- optimize swap of two memread values with index, using the same pointer expression/variable, like swap(@(ptr+1), @(ptr+2))
|
||||
- implement the linked_list millfork benchmark
|
||||
|
||||
- implement highres 4 color mode in gfx2
|
||||
- make a retro amiga workbench 1.3 and/or 2.0 workbench "simulator" using that new gfx mode
|
||||
- can we get rid of the --longOptionName command line options and only keep the short versions? https://github.com/Kotlin/kotlinx-cli/issues/50
|
||||
- add a f_seek() routine for the Cx16 that uses its seek dos api?
|
||||
- optimizer: detect variables that are written but never read - mark those as unused too and remove them, such as uword unused = memory("unused222", 20) - also remove the memory slab allocation
|
||||
|
@ -8,13 +8,26 @@ main {
|
||||
|
||||
|
||||
sub start() {
|
||||
diskio.directory(8)
|
||||
diskio.save(8, "blabla", $2000, 1024)
|
||||
diskio.directory(8)
|
||||
diskio.rename(8, "blabla", "newname")
|
||||
diskio.directory(8)
|
||||
diskio.delete(8, "newname")
|
||||
diskio.directory(8)
|
||||
ubyte[] sarray = [11,22,33]
|
||||
ubyte[] tarray = [0,0,0]
|
||||
|
||||
uword target = &tarray
|
||||
uword source = &sarray
|
||||
ubyte bb
|
||||
@(target) = @(source)
|
||||
target++
|
||||
source++
|
||||
@(target) = @(source)
|
||||
target++
|
||||
source++
|
||||
@(target) = @(source)
|
||||
target++
|
||||
source++
|
||||
|
||||
for bb in tarray {
|
||||
txt.print_ub(bb)
|
||||
txt.chrout('\n')
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
; Note: this program is compatible with C64 and CX16.
|
||||
|
||||
; TODO fix save (and load?) crash bug
|
||||
|
||||
|
||||
main {
|
||||
|
||||
const ubyte numforLave = 7 ; Lave is 7th generated planet in galaxy one
|
||||
|
Loading…
x
Reference in New Issue
Block a user