Irmen de Jong
|
6a639ce533
|
chained assignments x=y=z=42
|
2023-12-08 01:07:16 +01:00 |
|
Irmen de Jong
|
7d8b42d63e
|
allow Unicode letters in identifiers: things like 'knäckebröd' and 'π' are now valid identifiers. Added floats.π constant.
|
2023-12-05 01:36:54 +01:00 |
|
Irmen de Jong
|
6ebd4e821f
|
improved docs about subroutine scoping, fix possible optimizer crash for inlined sub
|
2023-12-04 23:23:52 +01:00 |
|
Irmen de Jong
|
ae2d96c455
|
added peekf and pokef builtin functions. Fixed sizeof() to allow number argument as well.
|
2023-11-27 23:36:02 +01:00 |
|
Irmen de Jong
|
c45fbe6310
|
continue stmt added
|
2023-11-25 01:14:35 +01:00 |
|
Irmen de Jong
|
a83e9d9a0a
|
added sys.save_prog8_internals() and restore_prog8_internals()
|
2023-11-21 22:00:43 +01:00 |
|
Irmen de Jong
|
76c09da961
|
make pokemon() be like poke, but also return the old value in the memory location.
|
2023-11-09 22:48:44 +01:00 |
|
Irmen de Jong
|
68e62e4bd2
|
added cx16.MCIOUT() kernal call
correct case of several other cx16 kernal calls.
corrected to upper case: cx16 kernal calls CLOSE_ALL, LKUPLA, LKUPSA, JSRFAR, PRIMM, MACPTR.
|
2023-10-09 22:44:36 +02:00 |
|
Irmen de Jong
|
95e4490a8a
|
adding setlsb() and setmsb() builtin functions
|
2023-09-15 02:39:16 +02:00 |
|
Irmen de Jong
|
e1b6bb154a
|
Merge branch 'master' into remove_evalstack
# Conflicts:
# compiler/res/prog8lib/cx16/gfx2.p8
# docs/source/todo.rst
# examples/test.p8
|
2023-07-28 02:09:45 +02:00 |
|
Irmen de Jong
|
4c6a2f5df9
|
emphasize index value size on pointer var indexing
|
2023-07-23 00:11:18 +02:00 |
|
Irmen de Jong
|
e2bb0de24d
|
clean up X register save/store in compiler code, remove temp vars for register saving
|
2023-07-15 22:25:58 +02:00 |
|
Irmen de Jong
|
9cb61fa34d
|
tweaks
|
2023-07-15 20:46:14 +02:00 |
|
Irmen de Jong
|
5af1aeb092
|
added block comment /* ...... */
|
2023-07-04 00:46:29 +02:00 |
|
Irmen de Jong
|
de5ce0f515
|
tiny optimization and doc
|
2023-07-02 11:17:18 +02:00 |
|
Irmen de Jong
|
5b9e71a27d
|
docs
|
2023-06-25 21:35:30 +02:00 |
|
Irmen de Jong
|
bbc02752c9
|
use split word arrays in various examples, fix codegen issue, docs
|
2023-05-29 15:34:33 +02:00 |
|
Irmen de Jong
|
06d1570142
|
cx16: added diskio.save_raw() headerless save routine
|
2023-05-20 00:00:50 +02:00 |
|
Irmen de Jong
|
b43223cb7a
|
added clamp() builtin function and floats.clampf()
|
2023-05-17 23:12:58 +02:00 |
|
Irmen de Jong
|
21bc505d85
|
for loops no longer execute when from var already reached beyond the end
|
2023-05-03 00:43:03 +02:00 |
|
Irmen de Jong
|
d81fdf6d6b
|
for loops...
|
2023-05-02 22:55:58 +02:00 |
|
Irmen de Jong
|
92062d056d
|
divmod() now works on multiple data types including float.
divmodw() has been removed
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
06368ab0a1
|
sqrt() now works on multiple data types including float.
no need to use floats.sqrtf() anymore
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
38efe25c68
|
abs() now works on multiple data types including float.
no need to use floats.fabs() anymore
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
319079de7a
|
sqrt
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
025bf900a5
|
min max docs, added floats.minf() and maxf()
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
4274296cf3
|
api change: new 'cbm' module that now contains the common CBM kernal variables and routines.
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
76a203d4df
|
api change: rename builtin func sqrt16 to sqrtw
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
91045afbee
|
document limited fp support
|
2023-04-28 18:18:41 +02:00 |
|
Irmen de Jong
|
5bf78c20d4
|
update to Kotlin 1.8.20, docs update
|
2023-04-03 23:04:00 +02:00 |
|
Irmen de Jong
|
d936568b76
|
added divmod() and divmodw() builtin functions to efficiently compute division and remainder in a single call
|
2023-03-29 23:46:44 +02:00 |
|
Irmen de Jong
|
fd25e85d59
|
added unroll loop construct
|
2023-03-14 23:37:49 +01:00 |
|
Irmen de Jong
|
f20356e9be
|
cx16.callfar signature has been changed to be easier to use
|
2023-02-23 23:06:20 +01:00 |
|
Irmen de Jong
|
d282a2d846
|
remove cx16.callrom() just use callfar
|
2023-02-23 23:02:56 +01:00 |
|
Irmen de Jong
|
d9e4f39ddc
|
memset BSS section to zero all at once, less individual var=0 assigns
|
2023-02-21 00:26:21 +01:00 |
|
Irmen de Jong
|
86210c4513
|
clarification
|
2023-02-01 20:58:40 +01:00 |
|
Irmen de Jong
|
9a2df072cc
|
tiny correction
|
2023-01-24 22:48:44 +01:00 |
|
Irmen de Jong
|
c89e6ebfab
|
clarify
|
2022-12-08 22:21:45 +01:00 |
|
Irmen de Jong
|
3f07cad35d
|
remove missing feature from docs
|
2022-10-29 14:31:40 +02:00 |
|
Irmen de Jong
|
e951340033
|
BASIC, VICE, C64, zeropage spelling
|
2022-10-29 14:17:40 +02:00 |
|
Irmen de Jong
|
db8912a735
|
Kernal spelling
|
2022-10-29 14:10:11 +02:00 |
|
Irmen de Jong
|
0e297731a3
|
PETSCII spelling
|
2022-10-29 14:07:04 +02:00 |
|
Irmen de Jong
|
f20c4f98ac
|
Merge pull request #86 from Frosty-J/docs
Fix typos in documentation
|
2022-10-29 12:57:55 +02:00 |
|
Irmen de Jong
|
05e60cc7c0
|
fix array type typo
|
2022-10-29 12:57:33 +02:00 |
|
Frosty-J
|
8c25b2b316
|
CommanderX16 -> Commander X16
|
2022-10-28 22:47:14 +01:00 |
|
Frosty-J
|
8b1ae404a3
|
Commodore-64 -> Commodore 64
|
2022-10-28 22:45:09 +01:00 |
|
Frosty-J
|
13534cd4a9
|
lowlevel -> low-level
|
2022-10-28 22:40:36 +01:00 |
|
Frosty-J
|
42ae935496
|
Various typo fixes
|
2022-10-28 22:39:15 +01:00 |
|
Irmen de Jong
|
e94bf4c63c
|
replace rnd()/rndw() builtin functions by regular routines in math module
|
2022-10-22 17:02:43 +02:00 |
|
Irmen de Jong
|
733c17ad3a
|
improve docs on if syntax. fixes #81
|
2022-10-19 23:53:15 +02:00 |
|