version 7.5-dev

This commit is contained in:
Irmen de Jong 2021-12-04 00:13:38 +01:00
parent 72d7178762
commit 9a68864b67
3 changed files with 7 additions and 23 deletions

View File

@ -1 +1 @@
7.4.1
7.5-dev

View File

@ -3,9 +3,6 @@ TODO
For next compiler release (7.5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- optimize loops that iterate 256 times to not use word counter (memcopy, repeat, for, ...)
- return 2+var -> optimize stack eval?
...

View File

@ -1,30 +1,17 @@
%import textio
%import test_stack
%import diskio
%zeropage basicsafe
main {
sub start() {
test_stack.test()
uword scrpos = $0400
repeat 256 {
@(scrpos) = 81
scrpos++
}
str filename="...................."
uword length
txt.print("filename? ")
txt.input_chars(filename)
txt.print_uw(scrpos)
txt.nl()
txt.print("loading at $1000...")
length = diskio.load(8, filename, $1000)
txt.print_uw(length)
txt.nl()
txt.print("raw loading at $4000...")
length = diskio.load_raw(8, filename, $4000)
txt.print_uw(length)
txt.nl()
test_stack.test()
}
}