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 |
|
Irmen de Jong
|
5134ea76bf
|
added bmp viewer
|
2020-12-14 02:12:26 +01:00 |
|
Irmen de Jong
|
3ba37df29d
|
added iff viewer
|
2020-12-13 19:42:30 +01:00 |
|
Irmen de Jong
|
e221d674d9
|
pcxviewer done
|
2020-12-13 01:32:03 +01:00 |
|
Irmen de Jong
|
41e1e1cbb0
|
adding pcxviewer
|
2020-12-12 02:40:54 +01:00 |
|
Irmen de Jong
|
da1bc351d2
|
koalaviewer auto disk detect
|
2020-12-11 23:32:47 +01:00 |
|
Irmen de Jong
|
add5bfa2ec
|
koalaviewer scans directory for *.koa
|
2020-12-11 23:00:58 +01:00 |
|
Irmen de Jong
|
34babfb5de
|
added diskio.list_files(). ci-viewer now loads all *.ci files it finds.
|
2020-12-11 22:36:14 +01:00 |
|
Irmen de Jong
|
4f6c45c86c
|
incremental file loading
|
2020-12-11 21:05:03 +01:00 |
|
Irmen de Jong
|
e6220a464c
|
using progend() to maximize amount of mem available to load image
|
2020-12-10 23:52:30 +01:00 |
|
Irmen de Jong
|
83ceb0fde9
|
optimize various simple cases for '**' (pow) like 2**x => bitshift
|
2020-12-10 22:37:12 +01:00 |
|
Irmen de Jong
|
0d735c2ccc
|
workaround for FB_set_pixels bug
|
2020-12-10 21:51:32 +01:00 |
|
Irmen de Jong
|
4094f89d4a
|
not a bug
|
2020-12-10 03:22:43 +01:00 |
|
Irmen de Jong
|
74e5644f55
|
working on CI viewer
|
2020-12-10 03:00:37 +01:00 |
|
Irmen de Jong
|
7a7270d769
|
adding CI (CommanderX16 Image) file viewer
|
2020-12-10 00:03:47 +01:00 |
|
Irmen de Jong
|
5bedc1b333
|
remove test file
|
2020-12-06 18:40:47 +01:00 |
|
Irmen de Jong
|
0bf6d2f72c
|
tweak
|
2020-12-06 18:38:27 +01:00 |
|
Irmen de Jong
|
c09b8af491
|
optimized koalaviewer to plot 8 pixels at once in the loop
|
2020-12-06 18:25:01 +01:00 |
|
Irmen de Jong
|
bec5a261e5
|
optimizing koalaviewer
|
2020-12-06 07:47:54 +01:00 |
|
Irmen de Jong
|
6f74fb49bd
|
added c64colors module. added vpeek/vpoke to cx16 syslib. koalaviewer example now uses better c64 color palette.
|
2020-12-03 18:14:49 +01:00 |
|
Irmen de Jong
|
a303b39cf0
|
added C64 'koala' image viewer example for Cx16
|
2020-12-03 16:02:51 +01:00 |
|
Irmen de Jong
|
510ca042c9
|
stack tested for most example programs
|
2020-11-22 18:35:43 +01:00 |
|
Irmen de Jong
|
69ca4fe304
|
cleanup
|
2020-11-10 21:02:12 +01:00 |
|
Irmen de Jong
|
4825b4dc68
|
fix passing address of pass-by-reference assignment to a UWORD
|
2020-11-10 00:35:24 +01:00 |
|
Irmen de Jong
|
4cd74daf53
|
float eval result var added, but some examples are broken
|
2020-11-08 18:54:02 +01:00 |
|
Irmen de Jong
|
87862f772a
|
better handling of inferred type errors
|
2020-10-30 21:24:49 +01:00 |
|
Irmen de Jong
|
5099525e24
|
added missing register pair assignments. fixed compiler crashes
|
2020-10-07 03:43:02 +02:00 |
|
Irmen de Jong
|
e22b4cbb67
|
fixed invalid errormessage about memory mapped strings
|
2020-10-07 01:35:39 +02:00 |
|
Irmen de Jong
|
c50cbbb526
|
typo
|
2020-09-23 18:50:32 +02:00 |
|
Irmen de Jong
|
b93d9ecd7e
|
memtop cx16
|
2020-09-23 02:34:49 +02:00 |
|