1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-22 06:29:23 +00:00
Commit Graph

2492 Commits

Author SHA1 Message Date
jespergravgaard
87f0b6d526 Improved division waiting 2021-04-04 11:20:42 +02:00
jespergravgaard
ba2fdf58c5 Fixed line drawing - and fixed a fragment with an error. 2021-04-04 10:59:29 +02:00
jespergravgaard
ab71bff269 Added division function. 2021-04-04 10:23:39 +02:00
jespergravgaard
9fbaf71e31 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/test/kc/examples/mega65/linedrawing.c
2021-04-04 09:24:10 +02:00
jespergravgaard
f4c392ba6a Better documentation 2021-04-04 09:12:59 +02:00
jespergravgaard
3a2e795918 Fixed line drawing 2021-04-03 21:45:29 +02:00
jespergravgaard
ad92cea393 Fixed line drawing example. 2021-04-03 21:35:20 +02:00
jespergravgaard
65eb2edc12 Added better rounding after division. 2021-04-03 21:00:48 +02:00
jespergravgaard
9c9a99e2ac Moved DMA to separate function. Adde 1/2 to better round division result. 2021-04-03 20:51:59 +02:00
jespergravgaard
1c9fa962d3 Fixed slope calculation. Added fragment. 2021-04-03 00:20:47 +02:00
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
0d546d215f Added a fragment and the start of a line drawing mega65 program. 2021-03-31 20:23:35 +02:00
jespergravgaard
ebbecaa875 Merge remote-tracking branch 'origin/master' 2021-03-31 12:24:46 +02:00
jespergravgaard
e3555ff651 Added memchr() to <string.h> 2021-03-31 12:24:38 +02:00
jespergravgaard
566a6c0ffc Fixed error "Type inference case not handled byte* + byte*" that occurs when constant addition optimization changes the sequence of addition between pointers and integers. 2021-03-30 01:22:29 +02:00
jespergravgaard
ffa0ae17d0 Updated cache files. 2021-03-28 09:10:29 +02:00
jespergravgaard
03a25b8915 Updated test data. Added borderline pacman example. 2021-03-28 08:58:48 +02:00
jespergravgaard
e024ac6086 Added some SID register shorthands. 2021-03-20 22:12:49 +01:00
jespergravgaard
329beb2698 Merge remote-tracking branch 'origin/master' 2021-03-15 00:24:55 +01:00
jespergravgaard
2fd5fa6a1d Added missing fragments. 2021-03-15 00:24:48 +01: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
31825bfc94 Added missing fragments. 2021-03-07 01:01:41 +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
fd0d903e44 Added missing fragment 2021-03-03 07:53:57 +01:00
jespergravgaard
b2375f49c7 optimized fragments. 2021-02-17 23:35:01 +01:00
jespergravgaard
25abb9740d optimized fragments. 2021-02-17 09:30:36 +01:00
jespergravgaard
d7e6ad8fea Added missing fragments. 2021-02-15 13:44:29 +01:00
jespergravgaard
f3a878014b Renamed VICII_CONTROL to VICII_CONTROL1. 2021-02-07 16:14:44 +01:00
jespergravgaard
0f01dbb700 Upgraded to KickAsm 5.19. 2021-02-07 15:16:19 +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
d79b654e94 Added cbm.h 2021-02-01 21:54:52 +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
15fbefa7e5 Documented and cleaned up bitmap-draw.h and bitmap-draw.c 2021-01-21 20:06:58 +01:00
FlightControl
17832182b4 Documented and cleaned up verlib.h and veralib.c 2021-01-21 19:51:09 +01:00
FlightControl
5157db5844 Documented and cleaned up verlib.h and veralib.c 2021-01-21 19:41:14 +01:00
FlightControl
ce8e0ab26a Documented and cleaned up verlib.h and veralib.c 2021-01-21 19:38:50 +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
7e86bebc41 Fixed old bitmap logic by isolating the c64 old bitmap logic into separa .h and .c files! 2021-01-21 12:11:36 +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
44ad31a27e Added fragment. Closes #624 2021-01-20 22:27:39 +01:00
jespergravgaard
b56163c82a Added fragment. Closes #623 2021-01-20 22:24:21 +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
6c8654fbc8 Bitmap mode 2021-01-19 22:36:08 +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
789fcd033a Added missing fragments for @Flight_Control 2021-01-17 19:54:00 +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
2577fae6ad Fixed missing include in conio on cx16. Closes #616 2021-01-16 22:33:11 +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
jespergravgaard
9681fe8f86 Added ASM-files to examples. 2021-01-15 01:45:16 +01:00
jespergravgaard
354863d157 Updated Manual 2021-01-14 23:57:26 +01:00