Irmen de Jong
|
a6bee6a860
|
some slight tweaks to asm for setting float value in array
|
2020-04-03 22:44:10 +02:00 |
|
Irmen de Jong
|
d22780ee44
|
implemented asm for lsl array values
|
2020-04-03 21:45:52 +02:00 |
|
Irmen de Jong
|
f8b0b9575d
|
implemented asm for rol array values
|
2020-04-03 21:31:39 +02:00 |
|
Irmen de Jong
|
4274fd168e
|
implemented asm for rol2 array values
|
2020-04-03 21:24:55 +02:00 |
|
Irmen de Jong
|
be7f5957f3
|
implemented asm for ror2 array values
|
2020-04-03 21:04:42 +02:00 |
|
Irmen de Jong
|
f2e5d987a9
|
implemented asm for ror array values
|
2020-04-03 00:03:42 +02:00 |
|
Irmen de Jong
|
15e8e0bf6d
|
implemented asm for lsr array values
|
2020-04-02 23:38:45 +02:00 |
|
Irmen de Jong
|
b73da4ed02
|
some more obvious optimizations for X+X and X-X
|
2020-03-31 23:54:01 +02:00 |
|
Irmen de Jong
|
267adb4612
|
doc
|
2020-03-29 03:06:51 +02:00 |
|
Irmen de Jong
|
05c73fa8bc
|
version
|
2020-03-28 17:06:59 +01:00 |
|
Irmen de Jong
|
bed34378be
|
doc
|
2020-03-28 14:24:00 +01:00 |
|
Irmen de Jong
|
152888ee93
|
fix direcetmemoryread invalid asm
|
2020-03-26 22:46:05 +01:00 |
|
Irmen de Jong
|
131fe670a4
|
optimized scroll routines by removing needless twin loops
|
2020-03-24 17:33:47 +01:00 |
|
Irmen de Jong
|
11e9539416
|
smooth scroll
|
2020-03-24 02:42:32 +01:00 |
|
Irmen de Jong
|
50a85ee6b0
|
attempt to optimize asm for bitshifts more.
|
2020-03-23 22:59:29 +01:00 |
|
Irmen de Jong
|
f0d4c3aba9
|
moved initialvalues to asmgen, fixed sgn bug and internal float 0.0 variable disappearing bug
|
2020-03-22 18:17:12 +01:00 |
|
Irmen de Jong
|
4fbdd6d570
|
fix ubyte number print bug for 100-109 and 200-209 missing the tens digit
|
2020-03-22 01:49:05 +01:00 |
|
Irmen de Jong
|
4929c198ba
|
tweak error reporting, expanded lines and circles example
|
2020-03-22 00:43:46 +01:00 |
|
Irmen de Jong
|
0ee4d420b1
|
slight tweaks on the Ast, Program (the top level) is now a Node as well
|
2020-03-18 22:29:30 +01:00 |
|
Irmen de Jong
|
6c23ae14ab
|
ver
|
2020-03-15 01:37:01 +01:00 |
|
Irmen de Jong
|
85c7f8314b
|
added exit(rc) builtin function to immediately exit the program with a return code in A register
|
2020-03-13 02:08:18 +01:00 |
|
Irmen de Jong
|
7fbe486dff
|
fix eval stack register X error in print_uw
|
2020-03-13 00:50:30 +01:00 |
|
Irmen de Jong
|
87e5a9859a
|
remove autogenerated labels from vice mon list, fixes #17
|
2020-03-12 22:33:58 +01:00 |
|
Irmen de Jong
|
aa36acd65a
|
implemented reverse(floatarray) builtin function
|
2020-03-11 23:18:03 +01:00 |
|
Irmen de Jong
|
98a638a2f3
|
split asmsub and romsub declarations
|
2020-03-10 23:09:31 +01:00 |
|
Irmen de Jong
|
96d8a7f0d7
|
float assembly code moved to separate library file
|
2020-03-10 22:03:24 +01:00 |
|
Irmen de Jong
|
e2358de27c
|
ver
|
2020-03-10 20:39:30 +01:00 |
|
Irmen de Jong
|
7facb4f372
|
correct version 1.70
|
2020-02-09 01:41:05 +01:00 |
|
Irmen de Jong
|
52769decd4
|
fix assembler float truncation warning
|
2019-11-27 22:36:59 +01:00 |
|
Irmen de Jong
|
8c2e602cc7
|
preparing for multiple compiler backends/targets
|
2019-10-26 23:41:15 +02:00 |
|
Irmen de Jong
|
b5d1e8653d
|
tiny cleanups
|
2019-10-20 23:52:26 +02:00 |
|
Irmen de Jong
|
f6d4c90dea
|
improved number-to-decimal routines
|
2019-09-23 20:44:41 +02:00 |
|
Irmen de Jong
|
adfddddac6
|
attempt to fix bcd
|
2019-09-05 21:38:40 +02:00 |
|
Irmen de Jong
|
772e48105e
|
fixed some type cast compiler errors in for loops
|
2019-08-26 23:38:59 +02:00 |
|
Irmen de Jong
|
9edc92ec29
|
more bitshift asm stubs (actual functions still to be done)
|
2019-08-23 23:06:36 +02:00 |
|
Irmen de Jong
|
1d178080a3
|
more bitshift asm
|
2019-08-23 21:33:43 +02:00 |
|
Irmen de Jong
|
0f1485f30b
|
added sorted, sgn, reverse to the AstVm
|
2019-08-18 16:39:08 +02:00 |
|
Irmen de Jong
|
f0d4654917
|
v1.60
|
2019-08-18 14:06:30 +02:00 |
|
Irmen de Jong
|
bb7b063757
|
revert inline var declaration in for loops
|
2019-08-18 03:16:23 +02:00 |
|
Irmen de Jong
|
1cc1f2d91d
|
reverse() added (byte+word)
|
2019-08-18 02:05:51 +02:00 |
|
Irmen de Jong
|
d837cc11f9
|
sort() added (bytes+words)
|
2019-08-18 00:04:03 +02:00 |
|
Irmen de Jong
|
cbb7083307
|
fix problem with typechecking of const arrays
|
2019-08-17 21:43:48 +02:00 |
|
Irmen de Jong
|
d4a17dfad1
|
fixed builtin functions no longer const-folding over arrays
|
2019-08-17 20:16:39 +02:00 |
|
Irmen de Jong
|
59f8b91e25
|
tweak
|
2019-08-17 18:44:44 +02:00 |
|
Irmen de Jong
|
80113f9208
|
version 1.52
|
2019-08-17 16:44:46 +02:00 |
|
Irmen de Jong
|
27f987f0ae
|
fixed bit shifts, added sgn() function
|
2019-08-17 16:44:28 +02:00 |
|
Irmen de Jong
|
b5c5560af8
|
info
|
2019-08-11 18:21:15 +02:00 |
|
Irmen de Jong
|
065587525e
|
version
|
2019-08-11 17:43:14 +02:00 |
|
Irmen de Jong
|
b44e76db57
|
fix any/all assembly routine, added asm for min/max/sum/ etc aggregates
removed avg function because of hidden internal overflow issues
|
2019-08-11 16:13:09 +02:00 |
|
Irmen de Jong
|
62a66d89c6
|
was not needed
|
2019-08-11 10:15:34 +02:00 |
|
Irmen de Jong
|
8917926996
|
new version
|
2019-08-10 20:45:41 +02:00 |
|
Irmen de Jong
|
efe2723874
|
version
|
2019-08-05 21:06:41 +02:00 |
|
Irmen de Jong
|
f29ec3b4e1
|
relaxed symbol shadowing
|
2019-08-04 18:52:03 +02:00 |
|
Irmen de Jong
|
fba149ee28
|
removed the ~ before block names
|
2019-07-29 23:11:13 +02:00 |
|
Irmen de Jong
|
8e8c112ff0
|
improved subroutine param ast checks, added asm for Carry parameter
|
2019-07-29 00:33:19 +02:00 |
|
Irmen de Jong
|
b0dda08e74
|
assembler reserved symbols checked
|
2019-07-28 23:37:33 +02:00 |
|
Irmen de Jong
|
776c844d02
|
more ast-codegen v2
|
2019-07-23 01:36:49 +02:00 |
|
Irmen de Jong
|
c6fdd65c63
|
shuffling some things around
|
2019-07-18 22:23:31 +02:00 |
|
Irmen de Jong
|
d9546f9dc7
|
version
|
2019-07-18 01:38:35 +02:00 |
|
Irmen de Jong
|
31f4e378aa
|
split up Literalvalue into numeric and reference ones
|
2019-07-15 01:11:32 +02:00 |
|
Irmen de Jong
|
a089c48378
|
finalize v 1.11
|
2019-07-12 20:31:18 +02:00 |
|
Irmen de Jong
|
44f9d5e69e
|
added struct syntax
|
2019-07-12 06:14:59 +02:00 |
|
Irmen de Jong
|
845a99d623
|
return statement only has one single possible value
astvm can now more or less run all examples
|
2019-07-10 19:27:44 +02:00 |
|
Irmen de Jong
|
dcab6d00bb
|
ver
|
2019-07-10 00:50:18 +02:00 |
|
Irmen de Jong
|
e8caf6d319
|
1.9
|
2019-07-09 08:42:38 +02:00 |
|
Irmen de Jong
|
3cf87536ff
|
fix asmsub syntax
|
2019-07-09 07:24:21 +02:00 |
|
Irmen de Jong
|
d6b6254b72
|
simplified the asmsub syntax
|
2019-07-08 23:00:18 +02:00 |
|
Irmen de Jong
|
89314a0e1a
|
fix reading and writing rtc jiffy clock, memory can now intercept reads and writes
|
2019-07-02 20:48:14 +02:00 |
|
Irmen de Jong
|
e96d3d4455
|
update kotlin version
cleaning up the way the root of the Ast and the global namespace work (introduced ProgramAst node)
|
2019-06-20 20:15:18 +02:00 |
|
Irmen de Jong
|
dfcb57a0b0
|
couple of small shortcuts on identifier ast to lookup what it is pointing to
|
2019-04-12 23:04:19 +02:00 |
|
Irmen de Jong
|
f219ae43f7
|
more inspiring code example
|
2019-04-12 22:34:43 +02:00 |
|
Irmen de Jong
|
a9bbe0bc40
|
removed the memory keyword instead use & now (reuse the address-of operator to reduce the number of different concepts in the grammar)
|
2019-04-12 22:00:32 +02:00 |
|
Irmen de Jong
|
fb2796ac06
|
truly fix min(f)/max(f) also fix ceil(f)
|
2019-04-10 23:14:28 +02:00 |
|
Irmen de Jong
|
742b15357b
|
fix all(f)
|
2019-04-10 22:42:48 +02:00 |
|
Irmen de Jong
|
ac6ed27052
|
restore tweaks in c64flt.p8
|
2019-04-10 22:18:45 +02:00 |
|
Irmen de Jong
|
fc47d3feb8
|
repaired min(f) max(f) fixes #13
|
2019-04-07 23:19:31 +02:00 |
|
Irmen de Jong
|
905d8a0c06
|
actually, get rid of integer pow() because a naive multiplication loop approach is way too slow
|
2019-03-31 18:04:19 +02:00 |
|
Irmen de Jong
|
03d0411679
|
pow_f implemented
|
2019-03-31 14:28:38 +02:00 |
|
Irmen de Jong
|
83ace753b2
|
got rid of problematic signed POW operator, added compiler checks for this
|
2019-03-31 13:56:03 +02:00 |
|
Irmen de Jong
|
7114d3193c
|
some cleanups in library asm code
|
2019-03-21 22:36:46 +01:00 |
|
Irmen de Jong
|
f3fc2fe523
|
irq handler saves zeropage scratch registers, fixes #8
|
2019-03-19 01:22:26 +01:00 |
|
Irmen de Jong
|
0820716e7b
|
added sqrt16() integer square root
|
2019-03-16 19:25:47 +01:00 |
|
Irmen de Jong
|
191707cd37
|
added new c64utils.str2(u)word that doesn't use kernel float routines
fixed processing of register pair return value of asmsub
|
2019-03-16 17:50:59 +01:00 |
|
Irmen de Jong
|
d9d83248fe
|
implemented strlen() function
|
2019-03-15 23:10:26 +01:00 |
|
Irmen de Jong
|
ac7faa8d25
|
stackvm can now intercept system asm calls (to a rom address)
|
2019-03-11 02:05:30 +01:00 |
|
Irmen de Jong
|
f5ba072294
|
removed str_p and str_ps pascal string types, fixes #10
|
2019-03-10 18:11:26 +01:00 |
|
Irmen de Jong
|
f2b03342ac
|
tehtriz joystick input
|
2019-03-07 23:29:23 +01:00 |
|
Irmen de Jong
|
77dc35dc6a
|
added read_flags() function, uword2bcd routine no longer enables irq again if it wasn't enabled before calling it.
|
2019-03-05 23:10:00 +01:00 |
|
Irmen de Jong
|
b0ad66bd04
|
added missing bitwise and/or/xor asm code
|
2019-02-23 23:06:46 +01:00 |
|
Irmen de Jong
|
c1d2b4601b
|
fixed/added logical and/or/xor
|
2019-02-23 22:13:42 +01:00 |
|
Irmen de Jong
|
52352d9d04
|
added c64scr.getchr/getclr
|
2019-02-21 01:31:33 +01:00 |
|
Irmen de Jong
|
cc5898d010
|
more tetriz work
|
2019-02-15 01:53:20 +01:00 |
|
Irmen de Jong
|
d05d8de447
|
optimize math from Soci's suggestions
|
2019-02-12 23:16:13 +01:00 |
|
Irmen de Jong
|
86ff08e854
|
fix abs() and also try to convert const arguments to the desired datatype of subroutine params
|
2019-02-01 00:51:49 +01:00 |
|
Irmen de Jong
|
32a9ab30fb
|
fixed stack bug in print_ub, applied Soci's optimizations to prog8lib.asm
|
2019-01-30 23:43:21 +01:00 |
|
Irmen de Jong
|
798c4d7902
|
fix some optimizations of loops, added some conditional branch optimizations
|
2019-01-27 19:14:58 +01:00 |
|
Irmen de Jong
|
953cf9a335
|
preparing for vars on zeropage
|
2019-01-26 22:46:01 +01:00 |
|
Irmen de Jong
|
1ff68b06da
|
fix compiler crash, rasterbars alignment, docs.
|
2019-01-25 01:35:46 +01:00 |
|
Irmen de Jong
|
6e3820c6b8
|
Fixed namespace lookup errors related to variable initialization. Removed many X register clobbers.
|
2019-01-24 23:29:09 +01:00 |
|
Irmen de Jong
|
d37c9d1680
|
argument type casts for builtin functions, added memset, tweaked memcopy/memset assembly a bit
|
2019-01-23 00:19:29 +01:00 |
|
Irmen de Jong
|
5471c5211c
|
make %asminclude work, restructure prog8lib into separate asm file
|
2019-01-21 00:49:48 +01:00 |
|
Irmen de Jong
|
2911e357bd
|
restructured program init code and library imports a bit
|
2019-01-20 17:45:57 +01:00 |
|
Irmen de Jong
|
fc67ef8f21
|
added SID registers and sound example program
|
2019-01-20 16:54:24 +01:00 |
|
Irmen de Jong
|
aa8f8978f0
|
remove long-branch warning for now
|
2019-01-16 23:12:30 +01:00 |
|
Irmen de Jong
|
5f2bf2b375
|
various regression fixes
|
2019-01-16 00:36:30 +01:00 |
|
Irmen de Jong
|
ee906ba82c
|
fix ubyte2float conversion
|
2019-01-15 22:16:03 +01:00 |
|
Irmen de Jong
|
de4353a93e
|
fix too greedy removal of loop statement bodies sometimes
|
2019-01-15 21:46:27 +01:00 |
|
Irmen de Jong
|
98e95b5707
|
replaced str2ubyte
|
2019-01-13 14:20:51 +01:00 |
|
Irmen de Jong
|
23afb1ccc2
|
optimization and fixes
|
2019-01-12 16:13:40 +01:00 |
|
Irmen de Jong
|
f3c9be4e06
|
float ++/-- and missing asm code handlers added
|
2019-01-12 14:55:57 +01:00 |
|
Irmen de Jong
|
0b86af0c4e
|
fixes
|
2019-01-12 14:05:55 +01:00 |
|
Irmen de Jong
|
cad42ddc05
|
word multiplications done
|
2019-01-12 00:31:56 +01:00 |
|
Irmen de Jong
|
6fe0959fdc
|
multiplications
|
2019-01-11 09:26:59 +01:00 |
|
Irmen de Jong
|
2a08c22b0f
|
optimized byte multiplications
|
2019-01-11 03:08:27 +01:00 |
|
Irmen de Jong
|
aa00db4d80
|
prog8 lib modules are now embedded resource files
|
2019-01-10 19:30:26 +01:00 |
|
Irmen de Jong
|
e3eace9e28
|
project folder restructure
|
2019-01-09 23:57:27 +01:00 |
|
Irmen de Jong
|
7b650ffa18
|
added bitmap characters
|
2018-10-06 02:16:07 +02:00 |
|