1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-30 09:57:11 +00:00
Commit Graph

1814 Commits

Author SHA1 Message Date
jespergravgaard
a750c606c9 Updated test data. 2021-04-02 17:11:13 +02:00
jespergravgaard
3de1834b35 Added slope initialization and a few fragments. 2021-04-02 11:49:28 +02:00
jespergravgaard
2c6947a600 Made long address unsigned. 2021-04-02 11:11:25 +02:00
jespergravgaard
663f134b0f Optimized readability. 2021-04-02 10:51:20 +02:00
jespergravgaard
fa53ba3dce Optimized readability. 2021-04-02 10:47:37 +02:00
jespergravgaard
eea4792eca Improved readability. 2021-04-02 09:54:58 +02:00
jespergravgaard
e6d28c8ff4 Added constants 2021-04-01 20:53:46 +02:00
jespergravgaard
385a5b2eb1 Using MEGA65 registers. 2021-04-01 20:33:53 +02:00
jespergravgaard
51e7441e62 Added MEGA65 math unit. Using math unit in line drawing. 2021-04-01 19:33:48 +02:00
jespergravgaard
920e0011ba Added new MEGA65 DMA options (line drawing & spiral). Updated line drawing sample. 2021-04-01 12:39:40 +02:00
jespergravgaard
2702432332 Working on mega65 DMA line drawer. Works for fixed x1, y1. 2021-04-01 01:32:02 +02:00
jespergravgaard
d08c678449 Added a fragment and the start of a line drawing mega65 program. 2021-03-31 20:43:36 +02:00
jespergravgaard
e3555ff651 Added memchr() to <string.h> 2021-03-31 12:24:38 +02:00
jespergravgaard
03a25b8915 Updated test data. Added borderline pacman example. 2021-03-28 08:58:48 +02:00
jespergravgaard
eba0c6a32d Merge remote-tracking branch 'origin/master' 2021-03-07 10:27:36 +01:00
jespergravgaard
5b10b2de05 Work in progress on MEGA65 DevKit support. 2021-03-07 10:27:22 +01:00
jespergravgaard
c2bfa98d8f Fixed problem with erronously coalescing structs of same size/type affected by address-of. Closes #632 2021-03-06 08:53:09 +01:00
jespergravgaard
f40050c558 Fixed problem with erronously coalescing structs of same size/type affected by address-of. Closes #632 2021-03-06 08:26:41 +01:00
jespergravgaard
56fe16e753 Added proper error message on unknown struct memeber. Closes #638 2021-03-03 22:24:18 +01:00
jespergravgaard
b2375f49c7 optimized fragments. 2021-02-17 23:35:01 +01:00
jespergravgaard
f3a878014b Renamed VICII_CONTROL to VICII_CONTROL1. 2021-02-07 16:14:44 +01:00
jespergravgaard
4648165f86 Added "c64-" prefix on all C64-only libraries. 2021-02-04 09:18:27 +01:00
jespergravgaard
f9a1edc4cc Retired bitmap-draw.h and bitmap2.h. Introduced c64-bitmap.h instead. 2021-02-04 08:53:47 +01:00
jespergravgaard
4993a2cb4b Merged FlightControl/CX16_VERA Commander X16 veralib updates and space demo. 2021-02-02 01:37:05 +01:00
jespergravgaard
41bb71511c Merged FlightControl/CX16_VERA Commander X16 veralib updates and space demo. 2021-02-02 00:14:47 +01:00
jespergravgaard
fa9736d15b Merged CX16 veralib progress. 2021-02-01 21:52:35 +01:00
jespergravgaard
c32857c87f Merged CX16 veralib progress. 2021-02-01 21:51:12 +01:00
FlightControl
83b8353d36 Space.c is uploaded. Compiles in release version, but not in latest kickc version; Assembly fails. 2021-01-26 22:19:27 +01:00
FlightControl
97d7141fa0 Created new functions to:
- generate bitmap load files.
- load bitmap files into banked memory on the cx16, cross banks between address space A000 and BFFF.
- added cx16-kernal.c and cx16-kernal.h to load files.
- created arithmetic to determine bank addressing using dwords over the 512K of memory (used in bnkcpy_vram_address() and LoadFileBanked()).
 - optimized functions for vera and conio.
2021-01-26 22:09:47 +01:00
FlightControl
2e0d00bf4e Created new functions to:
- generate bitmap load files.
- load bitmap files into banked memory on the cx16, cross banks between address space A000 and BFFF.
- added cx16-kernal.c and cx16-kernal.h to load files.
- created arithmetic to determine bank addressing using dwords over the 512K of memory (used in bnkcpy_vram_address() and LoadFileBanked()).
 - optimized functions for vera and conio.
2021-01-26 21:55:20 +01:00
FlightControl
473722f8eb One demo program for vera modes. 2021-01-23 17:23:25 +01:00
FlightControl
519e2fbc2c Merge branch 'master_upstream' into CX16_VERA 2021-01-23 16:19:41 +01:00
jespergravgaard
09bb98b319 Fixed test data. 2021-01-23 14:04:33 +01:00
jespergravgaard
5ddc33ceea Fixed test data. 2021-01-23 13:10:14 +01:00
jespergravgaard
9250e346be Fixed infinite loop. Closes #626 2021-01-23 12:49:49 +01:00
FlightControl
f70d503001 One demo program for vera modes. 2021-01-22 20:37:24 +01:00
FlightControl
8b767abd7d One demo program for vera modes. 2021-01-22 20:21:13 +01:00
FlightControl
b4cbf3f883 One demo program for vera modes. 2021-01-22 20:17:55 +01:00
FlightControl
85e6be623d One demo program for vera modes. 2021-01-22 19:57:22 +01:00
FlightControl
f4fb0cf56b One demo program for vera modes. 2021-01-22 19:51:57 +01:00
FlightControl
41a3e067bc Updated one demo program. 2021-01-21 21:10:37 +01:00
FlightControl
4bc7f1bc0f Updated one demo program. 2021-01-21 20:12:27 +01:00
FlightControl
f60c94a374 Cleaning the code a bit 2021-01-21 12:51:17 +01:00
FlightControl
6f0145d5a8 Cleaning the code a bit 2021-01-21 12:36:47 +01:00
FlightControl
d038a3df9a Cleaning the code a bit 2021-01-21 12:16:44 +01:00
FlightControl
2cd61a8d78 Bitmap mode working! 2021-01-21 09:15:27 +01:00
FlightControl
4db64f30cf Bitmap mode working! 2021-01-21 09:02:29 +01:00
FlightControl
962c5f0e17 Merge branch 'master_upstream' into CX16_VERA
# Conflicts:
#	src/main/fragment/cache/fragment-cache-wdc65c02.asm
#	src/main/fragment/mos6502-common/pduc1_derefidx_vbuxx=vdum1.asm
#	src/main/fragment/mos6502-common/vdum1=vdum1_ror_1.asm
#	src/test/ref/examples/cx16/cx16-sprites.asm
#	src/test/ref/examples/cx16/cx16-sprites.cfg
#	src/test/ref/examples/cx16/cx16-sprites.log
#	src/test/ref/examples/cx16/cx16-sprites.sym
#	src/test/ref/examples/cx16/cx16-tilemap.asm
#	src/test/ref/examples/cx16/cx16-tilemap.cfg
#	src/test/ref/examples/cx16/cx16-tilemap.log
#	src/test/ref/examples/cx16/cx16-tilemap.sym
#	src/test/ref/examples/cx16/cx16-veralayers.asm
#	src/test/ref/examples/cx16/cx16-veralayers.cfg
#	src/test/ref/examples/cx16/cx16-veralayers.log
#	src/test/ref/examples/cx16/cx16-veralayers.sym
2021-01-21 04:49:08 +01:00
FlightControl
843c6c91c0 Bitmap mode - wip 2021-01-21 04:39:26 +01:00
jespergravgaard
53bdb9d60b Improved error message. See #622 2021-01-20 19:02:32 +01:00
jespergravgaard
47f4e03835 Fixed test. 2021-01-20 18:27:34 +01:00
jespergravgaard
14933cbb6a Added example of how to code a ROM in KickC using a linker file and a segment that is compiled but thrown away by the linker. Closes #621 2021-01-20 17:51:49 +01:00
FlightControl
cf185d539b Bitmap mode 2021-01-20 09:02:35 +01:00
FlightControl
6b690f860b Bitmap mode 2021-01-19 22:30:51 +01:00
FlightControl
5daa045271 Fine-tuning the logic. 2021-01-18 07:55:59 +01:00
FlightControl
40bc8e42d6 Got all the vera tile demos working now. First versions ... 2021-01-17 22:29:27 +01:00
FlightControl
ead5a43085 Added 2 new fragments to resolve asm dword related code. Optimized a lot of veralib code. Test programs added. 2021-01-17 20:53:13 +01:00
jespergravgaard
b11256030c Fixed test data. 2021-01-17 13:01:07 +01:00
jespergravgaard
6366d1a9fa Fixed problem where Variable used inside ASM is optimized to a constant.
Now variables used inside ASM are made volatile before the early const pass.
Closes #618
2021-01-17 12:59:41 +01:00
FlightControl
bdb1dba43b fixed much code, working on 16x16 8bit tile mode.
There is an error in the compiler i think which i need to communicate to Jesper.
2021-01-17 08:39:17 +01:00
FlightControl
056259b2e0 fixed much code, working on 16x16 8bit tile mode.
There is an error in the compiler i think which i need to communicate to Jesper.
2021-01-17 08:21:46 +01:00
FlightControl
a5e81ca64d fixed much code, working on 16x16 8bit tile mode.
There is an error in the compiler i think which i need to communicate to Jesper.
2021-01-17 08:21:20 +01:00
FlightControl
a5b10d962f fixed much code, working on 16x16 8bit tile mode.
There is an error in the compiler i think which i need to communicate to Jesper.
2021-01-17 08:20:45 +01:00
jespergravgaard
3bed5e1aee Updated test data. 2021-01-16 23:51:52 +01:00
jespergravgaard
7bbfb43912 Added ISR for VIC20 and Plus/4. Re-arranged example programs into platform folders. 2021-01-16 18:39:02 +01:00
FlightControl
d45e58a1be 2BPP 8x8 first explanation done.
Created new vera functions to set the mode of a layer, in one call, and to paint an area with a tile. More functions like this will be made. (like tile increment, tile template fill, etc, etc).
2021-01-14 21:47:18 +01:00
FlightControl
72dd0f044c Merge from upstream 2021-01-14 08:04:55 +01:00
FlightControl
bdfb6a21eb 2BPP demo started. 2021-01-13 19:41:12 +01:00
Jesper Gravgaard
ec1da0250c Updated CX16 test data. 2021-01-13 18:28:08 +01:00
Jesper Gravgaard
ee9f738f87 Merged FlightControl/CX16_FRAMEWORK implemeting CX16 veralib.h and conio.h by Sven Van de Velde. 2021-01-13 18:18:14 +01:00
FlightControl
598b5b81d2 2BPP demo started. 2021-01-13 13:34:51 +01:00
FlightControl
5ca07ed458 Did the removal of the vsync interrupt reset code. 2021-01-13 08:34:38 +01:00
FlightControl
b812c76427 Updates to make the demo even more compelling. I will continue now with other VERA mode settings. 2021-01-13 08:30:58 +01:00
FlightControl
1333e3c21a Fixed some spelling mistakes. 2021-01-12 22:32:29 +01:00
FlightControl
69d3f2f395 Worked out a demo for panning the visible screen over the tile map.
Worked out functions to set the dimensions of the tile map width and height.

When in conio, scrolling is disabled (by calling scroll(0)), then printf will print beyond the visible screen borders and will print until the tile map border is reached.

I still need to add the scrolling functions, but that is not too much.

I have stolen your irq routine to pan the screen smoothly!

When all the characters are drawn, you can still type or move the cursor :-).
2021-01-12 22:10:17 +01:00
FlightControl
21df8c6557 Added veralib.h and veralib.c
for conio-cx16.h, there will be a dependency on veralib.h. Because of the layering. So that we can direct conio towards a specific layer. But now conio-cx16.h is not anymore polluted with vera encapsulation functions. These are moved to veralib.h and veralib.c.
2021-01-12 14:08:01 +01:00
FlightControl
51874941a0 Test program to print the default tiles of the CX16 on the screen. It demonstrates the tile addressing of the VERA and the vera functions in kickc that can be used for this. 2021-01-12 13:46:29 +01:00
FlightControl
d24ca095dd progress with vera encapsulation.
- vera layers
- vera layer config
- vera layer mapbase
- vera layer tilebase
- vera layer color

now conio is using the new vera functions. conio is cleaned from exotic functions, except screenlayer, which i believe should be part of conio to indicate to which layer conio is outputting.
2021-01-11 22:58:00 +01:00
FlightControl
f9f7eec372 - kbhit() test is working and returns a character.
- fine tuned the veralayers.c demonstration program.
- fine tuned clearline(), which will clear the current line of conio_cursor_y and reposition x at the start of the line.
2021-01-10 21:44:32 +01:00
FlightControl
cdf564574a - kbhit() test is working and returns a character.
- fine tuned the veralayers.c demonstration program.
- fine tuned clearline(), which will clear the current line of conio_cursor_y and reposition x at the start of the line.
2021-01-10 21:30:46 +01:00
FlightControl
9fd668bba5 Implementation of the layers in VERA is working now in text mode!
Added a number of new methods in conio to accommodate this.

screenlayer()
setscreenlayermapbase()
getscreenlayermapbase()
screenlayerenable()
screenlayerdisable()
screenlayerenabled()
2021-01-09 07:43:12 +01:00
Jesper Gravgaard
056e145d2e Merged @SijmenSchoon fix for ClassCastException when declaring array with a constant that does not exist addresses. Closes #607 2021-01-04 14:38:36 +01:00
Jesper Gravgaard
dedd1cc217 Fixed test ref. 2021-01-04 14:31:25 +01:00
Jesper Gravgaard
ac7b4a56a7 Merge remote-tracking branch 'origin/master' 2021-01-04 12:26:32 +01:00
Jesper Gravgaard
27d0aa9e67 Improved VERA code. 2021-01-04 12:26:13 +01:00
jespergravgaard
cc8d17b880 Added new_30_years_low_resolution. 2021-01-04 11:12:43 +01:00
jespergravgaard
1fd5cc001c Added new_30_years_low_resolution. 2021-01-04 01:02:00 +01:00
jespergravgaard
a6554c3d37 Removed some tests. Added new_30_years_low_resolution. 2021-01-04 01:00:49 +01:00
jespergravgaard
3cfc517fe2 Removed some tests. 2021-01-04 00:49:50 +01:00
jespergravgaard
9bf44bcb2a Removed some tests. 2021-01-04 00:41:58 +01:00
jespergravgaard
f37128fa2e Removed some tests. 2021-01-04 00:34:38 +01:00
jespergravgaard
d67749719e Removed some tests. 2021-01-04 00:33:51 +01:00
jespergravgaard
f7617fe06b Removed some tests. 2021-01-04 00:29:41 +01:00
jespergravgaard
a473e963d6 Removed some tests. 2021-01-04 00:26:11 +01:00
jespergravgaard
0eed4e7857 Fixed tests! 2021-01-04 00:11:22 +01:00
jespergravgaard
5979efaa25 Fix to problem with two ROL fragments by @SijmenSchoon. Moved NotLiteralException singleton behing a function. Closes #604 2021-01-03 20:14:05 +01:00
jespergravgaard
c36da71ecd Added cruncher plug-in and example programs. Closes #603 2020-12-30 23:13:55 +01:00
jespergravgaard
2dd2697ba1 Updated const names to VICII. 2020-12-30 01:55:04 +01:00
jespergravgaard
581f055561 Updated const names to VICII. 2020-12-29 19:37:32 +01:00
jespergravgaard
9b0dda8766 Updated test data. 2020-12-27 22:02:15 +01:00
jespergravgaard
9e1a2a3684 Merge remote-tracking branch 'origin/master' into master 2020-12-22 10:25:20 +01:00
jespergravgaard
274764931c minor changes 2020-12-22 10:25:17 +01:00
jespergravgaard
ea97e20319 Changed interrupt clobber handling to use (new!) ASM tags instead of replacing the fragment. #599 2020-12-21 15:05:10 +01:00
jespergravgaard
0bdaa77876 Changed align() to __align(). Closes #600 2020-12-21 09:22:44 +01:00
jespergravgaard
da789e007f Removed support for programs without segments. Closes #465 2020-12-21 08:57:41 +01:00
jespergravgaard
089125ff5e Implemented new interrupt system supporting more platforms and CPUs. Closes #599 2020-12-21 01:04:34 +01:00
jespergravgaard
cd6c33a92c CX16 sprite example is now a 256-color 64*64 TUT sprite. #581 2020-12-17 23:34:39 +01:00
jespergravgaard
e6962d38ac CX16 sprite example is now a 256-color 64*64 TUT sprite. #581 2020-12-17 23:23:46 +01:00
jespergravgaard
559d4f65c7 Extended sprite CX16 example. #581 2020-12-17 09:28:45 +01:00
jespergravgaard
e4349daaf6 Extended sprite CX16 example. #581 2020-12-17 09:26:34 +01:00
jespergravgaard
dbaea05623 Added a sprite CX16 example. #581 2020-12-16 22:24:38 +01:00
jespergravgaard
2d58a799d5 Improved simple VRAM example. #581 2020-12-15 01:00:39 +01:00
jespergravgaard
02e57b06cb Improved raster bars. Added simple VRAM example. #581 2020-12-15 00:42:52 +01:00
Jesper Gravgaard
205ce4eb6c Added 6522 VIA#1 and VIA#1 to CX16. #581 2020-12-14 13:33:10 +01:00
jespergravgaard
2f695a3724 Added Commander X16 Platform Target and example program. %581 2020-12-14 01:29:39 +01:00
jespergravgaard
7c995f82a1 Added a few missing fragments. Improved fragments for if() where rvalue1==0. Closes #598 2020-12-12 00:48:31 +01:00
jespergravgaard
df62ca5c9f Merged improved integer type inference by @tfisher98. Closes !2, #594, #334, #199 2020-12-12 00:02:55 +01:00
jespergravgaard
78d961fd19 Merged improved integer type inference by @tfisher98. Closes !2, #594, #334, #199 2020-12-12 00:01:15 +01:00
jespergravgaard
8a89a4e0a1 Merged branch ignoring trailing whitespace in reference files. Closes !4 2020-12-11 01:26:42 +01:00
jespergravgaard
82a045934d Updated to ANTLR4.9. Merged Andrzej Śliwa implementation of __address() support for constant expressions branch address_with_expression_value. Closes !1 2020-12-11 01:18:36 +01:00
Andrzej Sliwa
6116709c7e Merge branch 'master' into address_with_expression_value 2020-12-10 18:37:56 +01:00
Andrzej Sliwa
cee9bbb3f7 Merge branch 'master' into stripping_to_string_outputs_for_statetments 2020-12-10 18:37:28 +01:00
jespergravgaard
21e12bde0a Fixed problem with local variable not shadowing global functions. Closes #597 2020-12-09 22:42:17 +01:00
Andrzej Sliwa
3bf8a6f55e fixed problem with triming on string comparisions 2020-12-09 16:33:57 +01:00
Andrzej Sliwa
6466419fd1 removed verbose log from unit test 2020-12-09 13:00:02 +01:00
Andrzej Sliwa
9a3244bfc0 removed verbose log from unit test 2020-12-09 12:22:51 +01:00
Andrzej Sliwa
e8155008a2 added support for expressions in __address 2020-12-09 12:18:07 +01:00
jespergravgaard
49b58cc610 Removed test that does not contribute. 2020-12-06 21:08:22 +01:00
jespergravgaard
d3dbba3383 Fixed test data. 2020-12-06 16:59:54 +01:00
Travis Fisher
b9b5baf2ea update test reference 2020-12-05 23:30:34 -05:00
Travis Fisher
6f521cd197 Merge branch 'master' into revised-attempt-improved-type-inference 2020-12-05 23:13:24 -05:00
Travis Fisher
a23e5c2848 add reference files for issue-594-case.c 2020-12-05 22:55:23 -05:00
Travis Fisher
3ee2792070 add additional step in pass2 to finalize all numbers 2020-12-05 22:26:41 -05:00
Travis Fisher
33764d4466 add test case 2020-12-05 21:23:38 -05:00
jespergravgaard
50b8c78dfa Added missing fragments for Janne Johansson. Closes #293 2020-12-06 01:56:33 +01:00
jespergravgaard
abb946cca8 Merged 372-varcall into master. 2020-12-06 00:48:41 +01:00
jespergravgaard
c1af79cf47 Added missing ref files. 2020-12-05 23:56:32 +01:00
jespergravgaard
8b6fabc9c8 All tests are now passing. __varcall works reasonably well for non-struct variables. Added some missing fragments and some new tests. 2020-12-05 23:56:01 +01:00
jespergravgaard
63bc6e0a8e Merge remote-tracking branch 'origin/master' into master
# Conflicts:
#	src/main/fragment/cache/fragment-cache-csg65ce02.asm
#	src/main/fragment/cache/fragment-cache-mega45gs02.asm
#	src/main/fragment/cache/fragment-cache-mos6502.asm
#	src/main/fragment/cache/fragment-cache-mos6502x.asm
#	src/main/fragment/cache/fragment-cache-wdc65c02.asm
2020-12-03 01:38:25 +01:00
jespergravgaard
340db44a84 Added new MEGA65 DMA methods and tests. Added a missing fragment. 2020-12-03 01:37:58 +01:00
jespergravgaard
34a5ca474a Struggling with struct return values. 2020-11-23 11:46:54 +01:00
jespergravgaard
19893e25f6 Added test with 16bit types. 2020-11-23 10:08:11 +01:00
jespergravgaard
381799bbea Rudimentary return value working. TODO: Passing using registers, Live ranges, Entry Points. 2020-11-22 22:39:15 +01:00
jespergravgaard
3be0b5d2d4 Updated test data. 2020-11-22 22:30:24 +01:00
jespergravgaard
2479fc08db The first small test of calling convention VAR is working. TODO: return values, live ranges, allow registers for parameter/return transfer, entry points. 2020-11-22 22:29:48 +01:00
jespergravgaard
6cc6242a54 Fixed a few comments. Added kbhit() check at end of eightqueens. 2020-11-21 14:17:19 +01:00
jespergravgaard
5c0618f9e8 Added missing fragments and a few new pretty hairy synthesis rules.. Closes #577 2020-11-20 23:01:01 +01:00
jespergravgaard
511e47f69e Added support for string encoding suffixes as: ASCII, at: ATASCII, sa: Screencode Atari. Closes #575 2020-11-15 17:51:04 +01:00
jespergravgaard
4b543b7de5 Now formatting errors according to GCC standard format. Thanks @RoyJacobs. Closes #551 2020-11-15 14:15:07 +01:00
jespergravgaard
762cce9720 Upgraded XES plugin for supporting older JVMs. Added better support for start address to target platforms. Closes #574 2020-11-15 10:11:43 +01:00
jespergravgaard
a67f01a61a Introduced KickAss XEX format modifier plugin https://gitlab.com/jespergravgaard/kickass-plugin-atari-xex. Changed #pragma pc() to #pragma start_address(). Added start_address to .TGT platform file. Closes #571 2020-11-15 02:15:48 +01:00
Roy Jacobs
a0137d78da Try to infer as much context as possible from existing CompileErrors and clean up their syntax a bit 2020-11-08 21:11:03 +01:00
Roy Jacobs
2084df4a18 Format CompileErrors using new ErrorFormatter class when compiling through the main KickC class 2020-11-08 21:11:03 +01:00
jespergravgaard
78571d56ee Changed sinus to sine for better english. Closes #565 2020-11-08 10:48:03 +01:00
jespergravgaard
0136093db0 Initializing cursor position in conio/stdio for C64/PLUS4/VIC20. Closes #521 2020-11-08 10:17:22 +01:00
jespergravgaard
2a0efd5f5b Fixed multiplexer tests. 2020-11-08 08:36:09 +01:00
jespergravgaard
d905298115 Improved test. 2020-11-06 08:21:23 +01:00
jespergravgaard
0e9a7e94ca Fixed multiplexer problem caused by missing volatile on screen variable. Added test demonstrating the problem. 2020-11-06 08:16:28 +01:00
jespergravgaard
c6d0f41c14 Merge remote-tracking branch 'origin/master' 2020-11-04 09:10:36 +01:00
jespergravgaard
bc3731dc5d Added test for #564 2020-11-04 09:09:38 +01:00
Jesper Gravgaard
5a99c43efb Fixed problem where temporary folders not being deleted causes errors on every compile. Closes #493 2020-11-02 15:00:09 +01:00
Jesper Gravgaard
9a98476d6e Added test refs. 2020-11-02 11:07:29 +01:00
jespergravgaard
f6c32196ed Improved support for declaring pointers located on zero-page. __address(0xfc) char * zp2. #554 2020-11-02 01:18:03 +01:00
jespergravgaard
6394f074fa Fixed test. 2020-11-01 23:12:46 +01:00
jespergravgaard
c920c360a1 Variables used in ASM is now automatically converted to volatile if not const. Beware that char * const var; and char * volatile var; do behave quite differently when used in ASM Closes #554 2020-11-01 22:42:09 +01:00
jespergravgaard
6bec9849b6 Working on #554 variables used in ASM. 2020-11-01 21:51:16 +01:00
jespergravgaard
85dcf992df Fixed exception in pass 2 casued by constant function parameter. Closes #561 2020-11-01 18:49:10 +01:00
jespergravgaard
b1f34e5769 Working on #554 variables used in ASM. 2020-11-01 11:29:53 +01:00
jespergravgaard
279cc322b7 Added test for #558 2020-11-01 08:19:32 +01:00
jespergravgaard
251cf0856b Added test for #557 2020-11-01 08:00:52 +01:00
jespergravgaard
48af107a90 Created minimal failing MD5 loop 2020-10-30 21:43:12 +01:00
jespergravgaard
8835a8c8f2 Created minimal failing MD5 loop 2020-10-30 21:11:37 +01:00
jespergravgaard
9a44547552 Added second MD5 test. 2020-10-30 20:10:13 +01:00
jespergravgaard
6daf5ee97a Updated tests. 2020-10-30 16:41:58 +01:00
jespergravgaard
e8ccd96d07 Added 32bit unsigned rol/ror fragments. 2020-10-30 16:05:31 +01:00
jespergravgaard
5c0009239e Added missing 32bit-fragments for @mark.j.fisher.See #553 2020-10-30 10:43:01 +01:00
jespergravgaard
d9fab8eb23 Fixed problem where zp_reserve is not being honoured after using __address. Closes #550 2020-10-30 09:17:34 +01:00
jespergravgaard
599aaf4d67 Added test for macro-based struct addressing vs. const-pointer based. 2020-10-19 23:59:26 +02:00
Jesper Gravgaard
482811f2c8 Merged https://gitlab.com/mark.j.fisher/kickc/-/tree/conio-atari ATARI XL/XE conio.h implementation. Closes #546 2020-10-19 12:22:42 +02:00
jespergravgaard
2ad0285dc6 Fixed problem where nested infinite loop produces wrong block sequence. Closes #547 2020-10-18 17:46:09 +02:00
Mark Fisher
96a11cddc1 Fixed typo and tests for conio comment 2020-10-17 14:47:29 +01:00
Mark Fisher
6d84bc1ada Add target pragma to conio-atari example 2020-10-16 12:55:12 +01:00
Mark Fisher
24a83558e8 Add conio example for Atari 2020-10-15 12:45:16 +01:00
jespergravgaard
26a25364c2 Added missing fragments. Aligned clc sequence. Closes #539 2020-10-12 20:28:00 +02:00
jespergravgaard
6a9ca1537c Fixed problem problem where constant references are not literal. Closes #540 2020-10-12 19:59:07 +02:00
jespergravgaard
2068fd3b7b Fixed tests. 2020-10-11 15:59:07 +02:00
jespergravgaard
a4e62009d0 Fixed problem with post-increment causing java exception. Closes #538 2020-10-11 15:56:17 +02:00
jespergravgaard
cb1ae7bd30 Fixed problem caused when the same resource is decalred twice in inline kickasm. Closes #537 2020-10-11 15:47:10 +02:00
jespergravgaard
0a2e4189fe Added test for loop loop invariant calculation hoisting optimization. #535 2020-10-05 23:35:41 +02:00
jespergravgaard
66d7c4ed51 Improved log/sym/cfg output format for readability. Shortened log a bit. Closes #534 2020-10-05 23:14:34 +02:00
jespergravgaard
6253bdce28 Improved out 2020-10-05 22:58:02 +02:00
Jesper Gravgaard
0995c29f0f Improved log output slightly. 2020-10-05 17:53:46 +02:00
jespergravgaard
e3cd22ecab Added missing fragments. 2020-10-04 23:08:53 +02:00
jespergravgaard
946327da37 Improves ball[i].x rewriting for 16bit i. Closes #533 2020-10-04 21:43:41 +02:00
jespergravgaard
a22a0e483d Added missing fragment. Closes #531 2020-10-03 08:12:56 +02:00
Jesper Gravgaard
1df52a8c5b Added tests for improving array iteration performance for different types of arrays. 2020-10-01 22:30:04 +02:00
Jesper Gravgaard
5c2d1c48d9 Updated test data 2020-10-01 11:01:49 +02:00
jespergravgaard
cd2dcd1614 Added missing files. 2020-10-01 10:31:34 +02:00
jespergravgaard
b9d69db454 Fixed problem with boolean constant comparison (false!=false). Closes #527 2020-10-01 08:45:55 +02:00
jespergravgaard
31b0a500a1 Merged nesballs 3 2020-10-01 00:55:47 +02:00