Irmen de Jong
|
223b725a10
|
psg abstraction and attack/release envelope
|
2022-07-02 18:47:12 +02:00 |
|
Irmen de Jong
|
25aad8d7be
|
improve const-evaluation of builtin expressions
|
2022-07-02 16:29:01 +02:00 |
|
Irmen de Jong
|
2ad4fdbbb9
|
added cx16 version of bdmusic, needs ADSR though
|
2022-06-30 21:33:48 +02:00 |
|
Irmen de Jong
|
a6d0ea347c
|
bank caching not required for pcm_play()
|
2022-06-26 22:08:10 +02:00 |
|
Irmen de Jong
|
0fcd57192b
|
cx16diskio.f_read() now correctly deals with banked ram boundary
|
2022-06-26 21:42:56 +02:00 |
|
Irmen de Jong
|
eb53e44cb0
|
zsound stream test
|
2022-06-24 01:51:33 +02:00 |
|
Irmen de Jong
|
8ab99f6129
|
zsound combo example
|
2022-06-21 00:38:59 +02:00 |
|
Irmen de Jong
|
93008ff605
|
tweak zsound examples
|
2022-06-12 14:51:24 +02:00 |
|
Irmen de Jong
|
43c7b935df
|
fixed zsound pcm player example
|
2022-06-11 03:31:42 +02:00 |
|
Irmen de Jong
|
8f9a0a244a
|
trying to add zsound pcm player example as well
|
2022-06-10 23:35:37 +02:00 |
|
Irmen de Jong
|
fd13bd864e
|
some notes added to zsound demo player
|
2022-06-09 23:36:07 +02:00 |
|
Irmen de Jong
|
f537793b0b
|
added zsound demo player example (cx16)
|
2022-06-08 23:57:01 +02:00 |
|
Irmen de Jong
|
7eea97d741
|
- floats: remove all floating point builtin functions and move them to the floats module instead
|
2022-04-22 00:45:54 +02:00 |
|
Irmen de Jong
|
ab1766a559
|
moved all *integer* builtin trig functions (sin8u, cos8u etc) as regular asmsubs in math module
|
2022-04-13 00:27:35 +02:00 |
|
Irmen de Jong
|
1e63615592
|
tweaks
|
2022-04-02 18:04:41 +02:00 |
|
Irmen de Jong
|
b133d51a83
|
make the parser report '&&' as an error instead of treating it as bitwise and followed by address-of.
|
2022-04-02 02:08:01 +02:00 |
|
Irmen de Jong
|
e2886e5303
|
x16 r39: update vtui lib and example
|
2022-04-01 21:09:40 +02:00 |
|
Irmen de Jong
|
f7431f809e
|
fix colorbars example issue with memcopy due to overlapping buffers
|
2022-04-01 00:54:06 +02:00 |
|
Irmen de Jong
|
ea43c34de8
|
x16 r39: fix screen colors after changing screen mode
|
2022-04-01 00:21:22 +02:00 |
|
Irmen de Jong
|
86a7200012
|
x16 r39: cx16.screen_set_mode() -> cx16.screen_mode()
|
2022-03-31 18:17:28 +02:00 |
|
Irmen de Jong
|
f07065bf84
|
some x16 example changes to use the improved mode $80 screen resolution
|
2022-03-28 22:30:34 +02:00 |
|
Irmen de Jong
|
c8cd6e9460
|
removed old @"screencodes" string encoding syntax (use sc:"hello" instead)
|
2022-02-11 22:07:14 +01:00 |
|
Irmen de Jong
|
5ecf2a3357
|
enable more optimizations for typecasted assignments. Fixed missing codegen for assigning bytes to words in certain cases.
|
2022-01-27 18:05:25 +01:00 |
|
Irmen de Jong
|
b7d06f2c0a
|
API change: added alignment parameter to memory() function
|
2022-01-24 18:58:57 +01:00 |
|
Irmen de Jong
|
4a98dab948
|
fix compiler warnings
|
2021-12-30 00:58:33 +01:00 |
|
Irmen de Jong
|
32068a832a
|
split some additional binary expressions to avoid stack-based evaluation
|
2021-11-28 18:27:28 +01:00 |
|
Irmen de Jong
|
2177ba0ed2
|
added signed versions of the cx16 virtual registers
|
2021-11-13 02:42:21 +01:00 |
|
Irmen de Jong
|
686483f51a
|
fixed division of signed byte number by 2. (!)
|
2021-11-10 00:17:56 +01:00 |
|
Irmen de Jong
|
8df3da11e3
|
add cosr8, sinr8, cosr16 and sinr16 builtin functions that take a degree 0..179 (= 0..358 in 2 degree steps)
to more easily scale halves/quarters etc of a circle than possible with the ones that take 0..255 'degrees'.
|
2021-11-09 23:39:26 +01:00 |
|
Irmen de Jong
|
82d20dea39
|
a few comment and TODO cleanups.
remove remark about chars UBYTE type, kotlin's closest native type that can contain 0-255 is a short.
|
2021-10-19 23:20:34 +02:00 |
|
Irmen de Jong
|
b3107cfad0
|
Merge branch 'master' into v7.1
|
2021-10-04 22:38:53 +02:00 |
|
Irmen de Jong
|
91ae68c07e
|
blinds effects done
|
2021-10-04 22:15:59 +02:00 |
|
Irmen de Jong
|
fbef63e150
|
moving to raster lines via irq
|
2021-09-30 23:45:45 +02:00 |
|
Irmen de Jong
|
bb8ee9bb3e
|
Merge branch 'master' into v7.1
|
2021-09-28 23:27:56 +02:00 |
|
Irmen de Jong
|
25677a4126
|
remove unused var
|
2021-09-28 23:27:32 +02:00 |
|
Irmen de Jong
|
3aeca0a770
|
Merge branch 'master' into v7.1
|
2021-09-28 23:15:06 +02:00 |
|
Irmen de Jong
|
9acec4d952
|
changed to fixed point math to always generate bars of 32 lines height
|
2021-09-28 23:12:16 +02:00 |
|
Irmen de Jong
|
8388adcd1d
|
changed to fixed point math to always generate bars of 32 lines height
|
2021-09-28 22:55:55 +02:00 |
|
Irmen de Jong
|
fd1f30f92b
|
removed %target directive (didn't add much, too confusing, only supported single target)
|
2021-09-04 15:01:16 +02:00 |
|
Irmen de Jong
|
fd2bbd2b59
|
no longer allow subroutine name same as its block name due to asm symbol scoping issues
|
2021-06-12 17:31:09 +02:00 |
|
Irmen de Jong
|
42c5c0cb9f
|
start of cx16 colorbars example
|
2021-05-26 22:13:23 +02:00 |
|
Irmen de Jong
|
ccebd22856
|
callgraph: mark start() also in use
|
2021-04-08 02:43:59 +02:00 |
|
Irmen de Jong
|
a1f3b82333
|
vtui update
|
2021-04-08 01:36:25 +02:00 |
|
Irmen de Jong
|
64c85b9617
|
fix cx16 rom v39 float changes
|
2021-04-05 22:54:40 +02:00 |
|
Irmen de Jong
|
61d1f1ea87
|
oops
|
2021-04-05 01:18:22 +02:00 |
|
Irmen de Jong
|
238d27acdc
|
more pleasing bob image and pattern
|
2021-04-05 01:14:55 +02:00 |
|
Irmen de Jong
|
d582d1cc42
|
fix inlining subroutines multiple times
|
2021-04-02 21:23:40 +02:00 |
|
Irmen de Jong
|
2ff04d2abd
|
cleanup
|
2021-04-01 19:10:55 +02:00 |
|
Irmen de Jong
|
24b77fb5a5
|
comments.
|
2021-03-21 21:10:29 +01:00 |
|
Irmen de Jong
|
1505fe686a
|
updated vtui example
|
2021-03-21 20:40:35 +01:00 |
|
Irmen de Jong
|
d2ab5f230d
|
example TODOs
|
2021-03-16 01:09:25 +01:00 |
|
Irmen de Jong
|
50a306f492
|
line drawing fixes
|
2021-03-09 22:11:30 +01:00 |
|
Irmen de Jong
|
d787795759
|
simplified
|
2021-03-06 15:43:23 +01:00 |
|
Irmen de Jong
|
2770254fd9
|
removed inline assembly from bobs demo
|
2021-03-06 14:31:26 +01:00 |
|
Irmen de Jong
|
26502c949a
|
add unlimited bobs example
|
2021-03-05 19:05:13 +01:00 |
|
Irmen de Jong
|
96ba9f5902
|
spelling correction
|
2021-03-04 01:31:29 +01:00 |
|
Irmen de Jong
|
3a6ba0ab71
|
added 'kefrenbars' example
|
2021-03-03 01:09:18 +01:00 |
|
Irmen de Jong
|
7e3e18a5c7
|
deal with 'bra' better on 65c02
|
2021-02-28 16:20:03 +01:00 |
|
Irmen de Jong
|
8e3ebc84f0
|
readme
|
2021-02-28 15:40:04 +01:00 |
|
Irmen de Jong
|
2b435fe6a5
|
vtui example updated to vtui 0.6
|
2021-02-27 03:30:21 +01:00 |
|
Irmen de Jong
|
4e640b11fd
|
added kernal bank switch trick to rasterbars
|
2021-02-26 01:16:06 +01:00 |
|
Irmen de Jong
|
7aefca3de0
|
target
|
2021-02-24 00:17:52 +01:00 |
|
Irmen de Jong
|
f275ed96ea
|
optimized palette.set_color()
|
2021-02-24 00:01:27 +01:00 |
|
Irmen de Jong
|
b0213b0565
|
vtui lib
|
2021-02-23 23:31:32 +01:00 |
|
Irmen de Jong
|
c677f0a875
|
fixed string interning to also consider the alt-encoding
|
2021-02-23 23:27:44 +01:00 |
|
Irmen de Jong
|
6e65cb2c0a
|
added sounds to cx16 tehtriz
|
2021-02-23 01:29:45 +01:00 |
|
Irmen de Jong
|
e65c5402d7
|
added cx16 rasterbars example
|
2021-02-22 02:11:44 +01:00 |
|
Irmen de Jong
|
b5289511ba
|
don't remove empty when choice from the list of choices!
|
2021-02-21 15:11:19 +01:00 |
|
Irmen de Jong
|
d23c2eed86
|
test
|
2021-02-20 16:58:24 +01:00 |
|
Irmen de Jong
|
0ed3d951a7
|
don't require carry parameter Pc to asmsubs to be last
|
2021-02-20 02:27:57 +01:00 |
|
Irmen de Jong
|
9bb5b454e4
|
reduce dependencies on global compilaiontarget
|
2021-02-18 23:44:26 +01:00 |
|
Irmen de Jong
|
2412f8c531
|
added cx16 vtui example
|
2021-02-18 23:16:38 +01:00 |
|
Irmen de Jong
|
8701d684e6
|
added cx16 vtui example
|
2021-02-18 03:45:06 +01:00 |
|
Irmen de Jong
|
99759ae853
|
enhanced tehtriz blocks to have light edges
|
2021-02-15 17:48:10 +01:00 |
|
Irmen de Jong
|
9867dfcdeb
|
ported tehtriz to Cx16
|
2021-02-10 21:44:35 +01:00 |
|
Irmen de Jong
|
49ea31c0a4
|
fix shift signed word right
|
2021-02-06 01:23:31 +01:00 |
|
Irmen de Jong
|
40e4cfb686
|
amiga
|
2021-02-04 17:47:52 +01:00 |
|
Irmen de Jong
|
76f459ee95
|
amiga
|
2021-02-02 23:09:03 +01:00 |
|
Irmen de Jong
|
c478718019
|
fixed and optimized horiz_line for highres 4c
|
2021-02-01 22:03:10 +01:00 |
|
Irmen de Jong
|
c27248a58b
|
amiga
|
2021-01-29 23:52:29 +01:00 |
|
Irmen de Jong
|
69c459c8ac
|
gfx2 highres 4colors
|
2021-01-28 22:28:14 +01:00 |
|
Irmen de Jong
|
a910c0fddb
|
gfx2 highres 4colors
|
2021-01-27 02:31:20 +01:00 |
|
Irmen de Jong
|
52f6be2bb0
|
gfx2: changed screen mode numbering to a more intuitive sequence
|
2021-01-26 18:17:20 +01:00 |
|
Irmen de Jong
|
857f930dc2
|
amiga
|
2021-01-26 00:09:42 +01:00 |
|
Irmen de Jong
|
9f047ba752
|
palette.set_monochrome() now has 2 arguments: screen and draw color RGB values
|
2021-01-24 04:15:15 +01:00 |
|
Irmen de Jong
|
cdc6d9aa65
|
moved cx16 imageviewer into its own git repo. Version 6.0.
|
2021-01-23 23:49:17 +01:00 |
|
Irmen de Jong
|
c328e9018c
|
cx16 assembler was moved into its own github repo
|
2021-01-18 01:38:33 +01:00 |
|
Irmen de Jong
|
b270f6f713
|
added cx16.rombank() and rambank(). Select kernal rom in i/o heavy programs for faster disk i/o
|
2021-01-17 19:16:21 +01:00 |
|
Irmen de Jong
|
3dcef89a74
|
optimize (zp),y instructions for 65c02 to use (zp)
|
2021-01-15 19:14:35 +01:00 |
|
Irmen de Jong
|
46373717b6
|
get rid of unused ci image format reader
|
2021-01-15 18:29:25 +01:00 |
|
Irmen de Jong
|
7277c08fa6
|
added textio.spc(). assem tweaks.
|
2021-01-14 22:51:09 +01:00 |
|
Irmen de Jong
|
04e75455c4
|
assem tweaks
|
2021-01-14 21:07:06 +01:00 |
|
Irmen de Jong
|
8ac17ae14e
|
fix assem parsing of 4 letter instructions
|
2021-01-14 18:41:29 +01:00 |
|
Irmen de Jong
|
79e6d4b8dd
|
better check for EOF status
|
2021-01-13 22:11:51 +01:00 |
|
Irmen de Jong
|
b9ddde0f12
|
assem
|
2021-01-12 03:45:18 +01:00 |
|
Irmen de Jong
|
506ac8014c
|
fix diskio.f_readline() that skipped first char. It also doesn't leave the end of line char in the string now.
|
2021-01-10 16:21:25 +01:00 |
|
Irmen de Jong
|
9fc0c3f849
|
removed diskio.f_read_exact() - wasn't worth it over f_read()
|
2021-01-10 14:29:51 +01:00 |
|
Irmen de Jong
|
db314ed903
|
added diskio.f_readline()
|
2021-01-10 05:04:56 +01:00 |
|
Irmen de Jong
|
1ef9b8be61
|
assem
|
2021-01-10 03:44:10 +01:00 |
|
Irmen de Jong
|
79782ad547
|
conv.any2uword() changed return value
|
2021-01-08 22:43:01 +01:00 |
|
Irmen de Jong
|
b4d1d545a8
|
introduced txt.nl()
|
2021-01-08 16:56:17 +01:00 |
|
Irmen de Jong
|
f61682cdc7
|
moved various miscellaneous builtin functions such as exit() and progend() to sys.*
|
2021-01-08 16:44:34 +01:00 |
|
Irmen de Jong
|
3d09d605e1
|
moved memcopy, memset, memsetw builtin functions to sys.*
|
2021-01-08 01:09:37 +01:00 |
|
Irmen de Jong
|
61784a03bb
|
removed all string related builtin functions and moved them to separate routines in new 'string' library module
|
2021-01-07 23:10:29 +01:00 |
|
Irmen de Jong
|
58f37513e7
|
removed all string related builtin functions and moved them to separate routines in new 'string' library module
|
2021-01-07 20:01:11 +01:00 |
|
Irmen de Jong
|
bec2224c3d
|
clearer naming
|
2021-01-07 01:25:50 +01:00 |
|
Irmen de Jong
|
4305984168
|
assem
|
2021-01-06 01:03:08 +01:00 |
|
Irmen de Jong
|
76101d7f8d
|
assem
|
2021-01-05 22:56:52 +01:00 |
|
Irmen de Jong
|
4309a0dc68
|
assem
|
2021-01-05 04:46:25 +01:00 |
|
Irmen de Jong
|
41658c97a3
|
assem
|
2021-01-05 02:49:29 +01:00 |
|
Irmen de Jong
|
cb65480c6c
|
moved wait() and reset_system() to sys block so they are now unified across c64 and cx16
|
2021-01-03 02:36:45 +01:00 |
|
Irmen de Jong
|
8e927e0b73
|
nontrivial return value evaluation now via intermediary variable to try to avoid slow stack based evaluation
|
2020-12-31 22:13:24 +01:00 |
|
Irmen de Jong
|
c989abe265
|
optimize ubyte -> uword type casts more
|
2020-12-31 01:02:36 +01:00 |
|
Irmen de Jong
|
89230ade7a
|
change in pattern arguments of diskio.list_files() and lf_start_list(): you can now use a simple pattern with ? and * wildcards
|
2020-12-30 23:34:00 +01:00 |
|
Irmen de Jong
|
e09b65ea94
|
fix gfx2 vertical_line
|
2020-12-29 23:07:26 +01:00 |
|
Irmen de Jong
|
c81952c356
|
gfx2 optimizations for vertical lines
|
2020-12-29 02:13:38 +01:00 |
|
Irmen de Jong
|
f80e462d25
|
gfx2 optimizations for vertical lines
|
2020-12-29 01:36:34 +01:00 |
|
Irmen de Jong
|
51f32677b7
|
gfx2 optimizations for horizontal lines, fix bug in disc drawing
|
2020-12-29 01:23:14 +01:00 |
|
Irmen de Jong
|
4b366358c4
|
fix gfx2 color of horiz/vert lines
|
2020-12-28 01:33:51 +01:00 |
|
Irmen de Jong
|
69780ecde9
|
fixed % operator bug
|
2020-12-28 00:08:22 +01:00 |
|
Irmen de Jong
|
9e2c52e1ec
|
added Cx16 highresbitmap example. added stippled drawing to gfx2 monochrome mode
|
2020-12-27 23:57:13 +01:00 |
|
Irmen de Jong
|
dd82e550d5
|
adding rect and fillrect to gfx2
|
2020-12-27 17:34:25 +01:00 |
|
Irmen de Jong
|
cdcda27d07
|
adding circle and disc to gfx2
|
2020-12-27 16:17:06 +01:00 |
|
Irmen de Jong
|
e17c18b653
|
fix issues with memory() function, rewrite examples to use it
|
2020-12-27 03:35:56 +01:00 |
|
Irmen de Jong
|
3b8e18004c
|
fixed callgraph issue that allocated ALL variables in a (library) module even though some clearly weren't used at all. Variables declared in block level scope in a library are still all allocated / defined due to the nature of a library module with lists of definitions
|
2020-12-27 01:02:36 +01:00 |
|
Irmen de Jong
|
4c03950c28
|
changed 'c64colors' module to 'palette' and added more general Cx16 palette manipulation routines in there.
|
2020-12-27 00:35:25 +01:00 |
|
Irmen de Jong
|
c62ff16f8b
|
added gfx2.text_charset()
|
2020-12-26 03:15:24 +01:00 |
|
Irmen de Jong
|
ab495fe6e1
|
added gfx2.text()
|
2020-12-26 02:25:53 +01:00 |
|
Irmen de Jong
|
6734ae3c88
|
imageviewer now uses gfx2 for full-screen graphics. gfx2 promoted to built-in library on the cx16 target.
|
2020-12-25 17:57:46 +01:00 |
|
Irmen de Jong
|
b91aabd3c0
|
max 16 subroutine params
|
2020-12-25 03:02:34 +01:00 |
|
Irmen de Jong
|
3307f673f6
|
optimized cx16.vpoke etc. to be asmsubroutines instead
|
2020-12-24 07:12:59 +01:00 |
|
Irmen de Jong
|
07b00bec61
|
fix problems with color cycling in iff viewer
|
2020-12-24 06:48:15 +01:00 |
|
Irmen de Jong
|
e0d2b60d8b
|
added diskio.f_read_exact()
|
2020-12-24 06:24:52 +01:00 |
|
Irmen de Jong
|
45bfecee73
|
fix problems with color cycling in iff viewer
|
2020-12-24 05:46:57 +01:00 |
|
Irmen de Jong
|
8f224afed9
|
added color cycling support to iff viewer
|
2020-12-23 23:23:16 +01:00 |
|
Irmen de Jong
|
48a4c46a6c
|
optimized iff planar to chunky
|
2020-12-23 19:48:44 +01:00 |
|
Irmen de Jong
|
7d08380c7f
|
added cx16.vaddr()
|
2020-12-23 05:04:19 +01:00 |
|
Irmen de Jong
|
f0f6150e18
|
fix problem with reuse of auto-indexer-variables that could result in wrong code for routines using multiple array indexings
|
2020-12-23 02:30:46 +01:00 |
|
Irmen de Jong
|
ae648b8a0a
|
subroutines can now be defined even within regular code and will not disrupt the generated code anymore (they are moved to the end of their scope by the compiler)
|
2020-12-23 01:55:47 +01:00 |
|
Irmen de Jong
|
684e081399
|
optimized register save/restore on Cx16 cpu target
|
2020-12-22 05:59:01 +01:00 |
|
Irmen de Jong
|
a40b3134f4
|
fix clobbering of A when restoring X or Y from stack
|
2020-12-22 04:52:46 +01:00 |
|
Irmen de Jong
|
c70b4daf87
|
cleanup obsolete routine
|
2020-12-22 03:40:44 +01:00 |
|
Irmen de Jong
|
f1d55c688a
|
cx16 registers should come first in subroutine arg list
|
2020-12-22 00:59:07 +01:00 |
|
Irmen de Jong
|
d22df22f7d
|
fix examples for cx16 register syntax
|
2020-12-21 23:45:26 +01:00 |
|
Irmen de Jong
|
dcb81e6bea
|
adding CommanderX16 virtual registers language support, rewrite cx16 examples
|
2020-12-21 20:38:00 +01:00 |
|
Irmen de Jong
|
0baa2c8b23
|
fix oversight in binexpr operand swap that could result in suboptimal code
|
2020-12-14 21:37:40 +01:00 |
|
Irmen de Jong
|
4977d1fbd5
|
bit shift expressions are "expanded" to the target value's datatype, now also for subroutine arguments.
implemented word bit shifts by variable number of bits.
|
2020-12-14 20:44:48 +01:00 |
|
Irmen de Jong
|
f6920172dd
|
image viewer tweaks
|
2020-12-14 15:36:15 +01:00 |
|
Irmen de Jong
|
93bfc8f5f4
|
rename
|
2020-12-14 14:30:55 +01:00 |
|
Irmen de Jong
|
39b7655264
|
imageviewer is now a single program
|
2020-12-14 14:30:18 +01:00 |
|