mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-08-09 04:25:12 +00:00
minor changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// DYPP (Different Y Pixel Position) LOGO created using DMA
|
// DYPP (Different Y Pixel Position) LOGO created using DMA
|
||||||
// Graphics mode is 320x200 full-colour super extended attribute mode text-mode
|
// Graphics mode is 45x25 full-colour super extended attribute mode text-mode
|
||||||
// Character layout is column-wise giving linear addressing of the graphics (one byte per pixel)
|
// Character layout is column-wise giving linear addressing of the graphics (one byte per pixel)
|
||||||
|
|
||||||
#pragma target(mega65)
|
#pragma target(mega65)
|
||||||
@@ -95,10 +95,9 @@ void main() {
|
|||||||
logo_src += 25*8;
|
logo_src += 25*8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Loop forever
|
// Loop forever
|
||||||
for(;;) {
|
for(;;) {
|
||||||
VICIV->BG_COLOR = VICII->RASTER;
|
VICIV->BG_COLOR = VICII->RASTER;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@@ -26,11 +26,11 @@ void main() {
|
|||||||
BLOCK_8000[4] = BLOCK_4000[2];
|
BLOCK_8000[4] = BLOCK_4000[2];
|
||||||
BLOCK_4000[5] = BLOCK_8000[1];
|
BLOCK_4000[5] = BLOCK_8000[1];
|
||||||
|
|
||||||
// copy the resulting values onto the screen
|
// copy the resulting values onto the screen - it should show '-*-*-*'
|
||||||
for(char i=0;i<6;i++)
|
for(char i=0;i<6;i++)
|
||||||
(DEFAULT_SCREEN+80-6)[i] = BLOCK_4000[i];
|
(DEFAULT_SCREEN+80-6)[i] = BLOCK_4000[i];
|
||||||
|
|
||||||
// Remap [$4000-$5fff] to both point to [$ff80000-$ff81fff] COLORAM! (notice usage of page offsets)
|
// Remap [$4000-$5fff] to point to [$ff80000-$ff81fff] COLORRAM! (notice usage of page offsets)
|
||||||
memoryRemap256M(MEMORYBLOCK_4000, 0xff800-0x00040, 0);
|
memoryRemap256M(MEMORYBLOCK_4000, 0xff800-0x00040, 0);
|
||||||
// Put colors in the upper screen line
|
// Put colors in the upper screen line
|
||||||
for( char i=0; i<16; i++)
|
for( char i=0; i<16; i++)
|
||||||
|
Reference in New Issue
Block a user