1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-27 09:31:18 +00:00
Commit Graph

2612 Commits

Author SHA1 Message Date
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
jespergravgaard
59a493f5bb Updated README.md 2021-01-14 23:54:58 +01:00
jespergravgaard
a3c616c1d0 Updated README.md 2021-01-14 23:54:08 +01:00
jespergravgaard
1a5bc79f89 Updated README.md 2021-01-14 23:53:23 +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
f8134facc4 Updated version number. 2021-01-13 18:29:00 +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