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

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.
This commit is contained in:
FlightControl 2021-01-26 22:09:47 +01:00
parent 2e0d00bf4e
commit 97d7141fa0

View File

@ -472,6 +472,16 @@ public class TestPrograms {
// compileAndCompare("examples/cx16/cx16-vera.c"); // compileAndCompare("examples/cx16/cx16-vera.c");
//} //}
@Test
public void testBankAddressing() throws IOException, URISyntaxException {
compileAndCompare("examples/cx16/bankaddressing.c");
}
@Test
public void testLoadFileInBank() throws IOException, URISyntaxException {
compileAndCompare("examples/cx16/load_file_in_bank.c");
}
@Test @Test
public void testCx16VeraLayers() throws IOException, URISyntaxException { public void testCx16VeraLayers() throws IOException, URISyntaxException {
compileAndCompare("examples/cx16/cx16-veralayers.c"); compileAndCompare("examples/cx16/cx16-veralayers.c");