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

2696 Commits

Author SHA1 Message Date
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
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
FlightControl
218eb1a9db Added comments documenting the vram to vram copy function. 2021-01-07 19:56:41 +01:00
FlightControl
ea09a0383c Scrolling is working.
Added new functions insertup() and insertdown() to add new lines at the cursor position while scrolling the remainer screen up or down.
2021-01-07 19:45:40 +01:00
FlightControl
8ff65de74c println is working! without scrolling. 2021-01-07 19:09:39 +01:00
FlightControl
84c2cea8c1 println is working! without scrolling. 2021-01-07 19:09:05 +01:00
jespergravgaard
9c2e04aa61 Updated ASM fragment cache files. 2021-01-04 20:07:19 +01:00
jespergravgaard
2db904f7c1 Upgraded to KickAsm 5.17. Closes #609 2021-01-04 19:58:04 +01:00
Jesper Gravgaard
e2ca1801ad Added missing fragment. 2021-01-04 16:53:00 +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