mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2025-01-02 23:31:53 +00:00
format code
This commit is contained in:
parent
930826f0ff
commit
143597d2e5
@ -1,11 +1,14 @@
|
|||||||
void prova_screen2() {
|
void prova_screen2() {
|
||||||
tms_init_regs(SCREEN2_TABLE);
|
tms_init_regs(SCREEN2_TABLE);
|
||||||
screen2_init_bitmap(FG_BG(COLOR_WHITE,COLOR_BLACK));
|
|
||||||
|
|
||||||
screen2_puts(0,0,FG_BG(COLOR_BLACK,COLOR_WHITE),"*** P-LAB VIDEO CARD SYSTEM ***");
|
byte text_color = FG_BG(COLOR_BLACK,COLOR_WHITE);
|
||||||
screen2_puts(0,2,FG_BG(COLOR_BLACK,COLOR_WHITE),"16K VRAM BYTES FREE");
|
|
||||||
screen2_puts(0,4,FG_BG(COLOR_BLACK,COLOR_WHITE),"READY.");
|
|
||||||
|
|
||||||
|
screen2_init_bitmap(text_color);
|
||||||
|
screen2_puts(0, 0, text_color, "*** P-LAB VIDEO CARD SYSTEM ***");
|
||||||
|
screen2_puts(0, 2, text_color, "16K VRAM BYTES FREE");
|
||||||
|
screen2_puts(0, 4, text_color, "READY.");
|
||||||
|
|
||||||
|
// display all colors in the palette
|
||||||
for(byte i=0;i<16;i++) {
|
for(byte i=0;i<16;i++) {
|
||||||
screen2_puts(5,(byte)(6+i),(byte)(((15-i)<<4)+i)," SCREEN 2 ");
|
screen2_puts(5,(byte)(6+i),(byte)(((15-i)<<4)+i)," SCREEN 2 ");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user