Started work on VTerm Fonts, slight changes to BochsVBE driver
authorJohn Hodge <[email protected]>
Mon, 28 Sep 2009 13:37:01 +0000 (21:37 +0800)
committerJohn Hodge <[email protected]>
Mon, 28 Sep 2009 13:37:01 +0000 (21:37 +0800)
Kernel/Makefile
Kernel/drv/bochsvbe.c
Kernel/drv/vterm.c

index 68b84b8..bbafbba 100644 (file)
@@ -22,7 +22,7 @@ OBJ += heap.o messages.o debug.o modules.o lib.o syscalls.o system.o threads.o
 OBJ += binary.o bin/elf.o
 OBJ += vfs/main.o vfs/open.o vfs/acls.o vfs/dir.o vfs/io.o vfs/mount.o vfs/memfile.o vfs/nodecache.o
 OBJ += vfs/fs/root.o vfs/fs/devfs.o vfs/fs/fat.o
-OBJ += drv/pci.o drv/ata_x86.o drv/vterm.o drv/vga.o drv/kb.o
+OBJ += drv/fifo.o drv/pci.o drv/ata_x86.o drv/vterm.o drv/vga.o drv/kb.o
 OBJ := $(addsuffix .$(ARCH), $(OBJ))
 BIN = ../Acess2.$(ARCH).bin
 
index 2aed670..bbf0bbc 100644 (file)
@@ -51,6 +51,7 @@ Uint64        BGA_Write(tVFS_Node *node, Uint64 off, Uint64 len, void *buffer);
 \r
 // === CONSTANTS ===\r
 const t_bga_mode       BGA_MODES[] = {\r
+       {},\r
        {640,480,8, 0, 640*480},\r
        {640,480,32, 0, 640*480*4},\r
        {800,600,8, 0, 800*600},\r
index 304de69..b1d5181 100644 (file)
@@ -601,10 +601,15 @@ int VT_Font_GetHeight(Uint32 Codepoint)
        return FONT_HEIGHT;
 }
 
+/**
+ * \fn void VT_Font_Render(Uint32 Codepoint, void *Buffer, Uint32 BGC, Uint32 FGC)
+ * \brief Render a font character
+ */
 void VT_Font_Render(Uint32 Codepoint, void *Buffer, Uint32 BGC, Uint32 FGC)
 {
-//     Uint8   *font;
-       
+       //Uint8 *font;
+       //Uint32        *buf = Buffer;
+       //font = VT_Font_GetChar(Codepoint);
 }
 
 /**

UCC git Repository :: git.ucc.asn.au